Home
last modified time | relevance | path

Searched refs:availableScrollHeight (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DFastScrollRecyclerView.java91 int availableScrollHeight = computeVerticalScrollRange() - firstPageHeight; in getAvailableScrollHeight() local
92 return Math.max(0, availableScrollHeight); in getAvailableScrollHeight()
111 int availableScrollHeight) { in synchronizeScrollBarThumbOffsetToViewScroll() argument
113 if (availableScrollHeight <= 0) { in synchronizeScrollBarThumbOffsetToViewScroll()
122 (int) (((float) scrollY / availableScrollHeight) * getAvailableScrollBarHeight()); in synchronizeScrollBarThumbOffsetToViewScroll()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsRecyclerView.java243 int availableScrollHeight = getAvailableScrollHeight(); in onUpdateScrollbar() local
244 if (availableScrollHeight <= 0) { in onUpdateScrollbar()
255 (((float) scrollY / availableScrollHeight) * availableScrollBarHeight); in onUpdateScrollbar()
286 synchronizeScrollBarThumbOffsetToViewScroll(scrollY, availableScrollHeight); in onUpdateScrollbar()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsRecyclerView.java87 int availableScrollHeight = getAvailableScrollHeight(); in scrollToPositionAtProgress() local
89 layoutManager.scrollToPositionWithOffset(0, (int) -(availableScrollHeight * touchFraction)); in scrollToPositionAtProgress()