Searched refs:ScrollState (Results 1 – 5 of 5) sorted by relevance
65 @VisibleForTesting ScrollState mState = ScrollState.IDLE;70 private enum ScrollState { enum in BaseSwipeDetector105 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 …]
40 import com.android.quickstep.views.RecentsView.ScrollState;94 private final ScrollState mScrollState = new ScrollState();
26 import com.android.quickstep.views.RecentsView.ScrollState;93 public void onPageScroll(ScrollState scrollState) { in onPageScroll()
237 private final ScrollState mScrollState = new ScrollState();1316 default void onPageScroll(ScrollState scrollState) {} in onPageScroll()1319 public static class ScrollState extends CurveProperties { class in RecentsView
90 import com.android.quickstep.views.RecentsView.ScrollState;575 public void onPageScroll(ScrollState scrollState) { in onPageScroll()