Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/touch/
DBaseSwipeDetector.java65 @VisibleForTesting ScrollState mState = ScrollState.IDLE;
70 private enum ScrollState { enum in BaseSwipeDetector
105 return mState == ScrollState.IDLE; in isIdleState()
109 return mState == ScrollState.SETTLING; in isSettlingState()
113 return mState == ScrollState.DRAGGING; in isDraggingState()
117 return mState == ScrollState.DRAGGING || mState == ScrollState.SETTLING; in isDraggingOrSettling()
121 setState(ScrollState.IDLE); in finishedScrolling()
146 if (mState == ScrollState.SETTLING && mIgnoreSlopWhenSettling) { in onTouchEvent()
147 setState(ScrollState.DRAGGING); in onTouchEvent()
175 if (mState != ScrollState.DRAGGING && shouldScrollStart(mDisplacement)) { in onTouchEvent()
[all …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DTaskViewSimulator.java40 import com.android.quickstep.views.RecentsView.ScrollState;
94 private final ScrollState mScrollState = new ScrollState();
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DClearAllButton.java26 import com.android.quickstep.views.RecentsView.ScrollState;
93 public void onPageScroll(ScrollState scrollState) { in onPageScroll()
DRecentsView.java237 private final ScrollState mScrollState = new ScrollState();
1316 default void onPageScroll(ScrollState scrollState) {} in onPageScroll()
1319 public static class ScrollState extends CurveProperties { class in RecentsView
DTaskView.java90 import com.android.quickstep.views.RecentsView.ScrollState;
575 public void onPageScroll(ScrollState scrollState) { in onPageScroll()