Home
last modified time | relevance | path

Searched refs:scroller (Results 1 – 6 of 6) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollController.java789 Scroller scroller; in startScroll() local
792 scroller = mFlingScroller; in startScroll()
795 scroller = mScrollScroller; in startScroll()
799 if (!scroller.isFinished()) { in startScroll()
802 dx = basex + dx - scroller.getCurrX(); in startScroll()
803 dy = basey + dy - scroller.getCurrY(); in startScroll()
804 basex = scroller.getCurrX(); in startScroll()
805 basey = scroller.getCurrY(); in startScroll()
823 scroller.startScroll(basex, basey, dx, dy, duration); in startScroll()
827 Scroller scroller; in getCurrentAnimationDuration() local
[all …]
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DCarUiSnapHelper.java96 RecyclerView.SmoothScroller scroller = createScroller(layoutManager); in smoothScrollBy() local
98 if (scroller == null) { in smoothScrollBy()
102 scroller.setTargetPosition(position); in smoothScrollBy()
103 layoutManager.startSmoothScroll(scroller); in smoothScrollBy()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsFullSheet.java212 RecyclerViewFastScroller scroller = mRecyclerView.getScrollbar(); in onControllerInterceptTouchEvent() local
213 if (scroller.getThumbOffsetY() >= 0 && in onControllerInterceptTouchEvent()
214 getPopupContainer().isEventOverView(scroller, ev)) { in onControllerInterceptTouchEvent()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java455 public float getValue(SplineOverScroller scroller) {
456 return scroller.mCurrentPosition;
460 public void setValue(SplineOverScroller scroller, float value) {
461 scroller.mCurrentPosition = (int) value;
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDragHoverListener.java117 IntConsumer scroller) { in create() argument
122 scroller.accept(dy); in create()
/packages/apps/PermissionController/src/android/support/wearable/view/
DWearableListView.java1142 RecyclerView.SmoothScroller scroller = mSmoothScroller; in smoothScrollToPosition() local
1143 if (scroller == null) { in smoothScrollToPosition()
1144 scroller = getDefaultSmoothScroller(recyclerView); in smoothScrollToPosition()
1146 scroller.setTargetPosition(position); in smoothScrollToPosition()
1147 startSmoothScroll(scroller); in smoothScrollToPosition()