Commit 9619f132 authored by Jinsuk Kim's avatar Jinsuk Kim Committed by Commit Bot

Android: More private methods in GestureListenerManagerImpl

Reduced the visibility of some methods to private.

Change-Id: I696d5976e8d0f3823a61af445f7eb1c33b79fda3
Reviewed-on: https://chromium-review.googlesource.com/1170153Reviewed-by: default avatarBo <boliu@chromium.org>
Commit-Queue: Jinsuk Kim <jinsukkim@chromium.org>
Cr-Commit-Position: refs/heads/master@{#582481}
parent 28674e13
...@@ -165,7 +165,7 @@ public class GestureListenerManagerImpl implements GestureListenerManager, Windo ...@@ -165,7 +165,7 @@ public class GestureListenerManagerImpl implements GestureListenerManager, Windo
} }
/* Called when ongoing fling gesture needs to be reset. */ /* Called when ongoing fling gesture needs to be reset. */
public void resetFlingGesture() { private void resetFlingGesture() {
if (mHasActiveFlingScroll) { if (mHasActiveFlingScroll) {
onFlingEnd(); onFlingEnd();
mHasActiveFlingScroll = false; mHasActiveFlingScroll = false;
...@@ -324,7 +324,7 @@ public class GestureListenerManagerImpl implements GestureListenerManager, Windo ...@@ -324,7 +324,7 @@ public class GestureListenerManagerImpl implements GestureListenerManager, Windo
return mIsTouchScrollInProgress || mHasActiveFlingScroll; return mIsTouchScrollInProgress || mHasActiveFlingScroll;
} }
void setTouchScrollInProgress(boolean touchScrollInProgress) { private void setTouchScrollInProgress(boolean touchScrollInProgress) {
mIsTouchScrollInProgress = touchScrollInProgress; mIsTouchScrollInProgress = touchScrollInProgress;
// Use the active touch scroll signal for hiding. The animation movement // Use the active touch scroll signal for hiding. The animation movement
...@@ -336,7 +336,7 @@ public class GestureListenerManagerImpl implements GestureListenerManager, Windo ...@@ -336,7 +336,7 @@ public class GestureListenerManagerImpl implements GestureListenerManager, Windo
* Reset scroll and fling accounting, notifying listeners as appropriate. * Reset scroll and fling accounting, notifying listeners as appropriate.
* This is useful as a failsafe when the input stream may have been interruped. * This is useful as a failsafe when the input stream may have been interruped.
*/ */
void resetScrollInProgress() { private void resetScrollInProgress() {
if (!isScrollInProgress()) return; if (!isScrollInProgress()) return;
final boolean touchScrollInProgress = mIsTouchScrollInProgress; final boolean touchScrollInProgress = mIsTouchScrollInProgress;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment