Searched refs:ScrollState (Results 1 – 4 of 4) sorted by relevance
58 private ScrollState mState = ScrollState.IDLE;62 private enum ScrollState { enum in BaseSwipeDetector97 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 …]
26 import com.android.quickstep.views.RecentsView.ScrollState;84 public void onPageScroll(ScrollState scrollState) { in onPageScroll()
180 private final ScrollState mScrollState = new ScrollState();1033 default void onPageScroll(ScrollState scrollState) {} in onPageScroll()1036 public static class ScrollState { class in RecentsView
70 import com.android.quickstep.views.RecentsView.ScrollState;487 public void onPageScroll(ScrollState scrollState) { in onPageScroll()