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/
DSwipeDetector.java60 private ScrollState mState = ScrollState.IDLE;
62 enum ScrollState { enum in SwipeDetector
160 private void setState(ScrollState newState) { in setState()
168 if (newState == ScrollState.DRAGGING) { in setState()
170 if (mState == ScrollState.IDLE) { in setState()
175 } else if (mState == ScrollState.SETTLING) { in setState()
179 if (newState == ScrollState.SETTLING) { in setState()
192 return mState == ScrollState.DRAGGING || mState == ScrollState.SETTLING; in isDraggingOrSettling()
206 return mState == ScrollState.IDLE; in isIdleState()
210 return mState == ScrollState.SETTLING; in isSettlingState()
[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.java179 private final ScrollState mScrollState = new ScrollState();
1004 default void onPageScroll(ScrollState scrollState) {} in onPageScroll()
1007 public static class ScrollState { class in RecentsView
DTaskView.java71 import com.android.quickstep.views.RecentsView.ScrollState;
497 public void onPageScroll(ScrollState scrollState) { in onPageScroll()