Home
last modified time | relevance | path

Searched refs:ScrollState (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/touch/
DBaseSwipeDetector.java58 private ScrollState mState = ScrollState.IDLE;
62 private enum ScrollState { enum in BaseSwipeDetector
97 return mState == ScrollState.IDLE; in isIdleState()
101 return mState == ScrollState.SETTLING; in isSettlingState()
105 return mState == ScrollState.DRAGGING; in isDraggingState()
109 return mState == ScrollState.DRAGGING || mState == ScrollState.SETTLING; in isDraggingOrSettling()
113 setState(ScrollState.IDLE); in finishedScrolling()
138 if (mState == ScrollState.SETTLING && mIgnoreSlopWhenSettling) { in onTouchEvent()
139 setState(ScrollState.DRAGGING); in onTouchEvent()
167 if (mState != ScrollState.DRAGGING && shouldScrollStart(mDisplacement)) { in onTouchEvent()
[all …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DClearAllButton.java26 import com.android.quickstep.views.RecentsView.ScrollState;
84 public void onPageScroll(ScrollState scrollState) { in onPageScroll()
DRecentsView.java180 private final ScrollState mScrollState = new ScrollState();
1033 default void onPageScroll(ScrollState scrollState) {} in onPageScroll()
1036 public static class ScrollState { class in RecentsView
DTaskView.java70 import com.android.quickstep.views.RecentsView.ScrollState;
487 public void onPageScroll(ScrollState scrollState) { in onPageScroll()