Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsRecyclerView.java83 int availableScrollHeight = getAvailableScrollHeight(); in scrollToPositionAtProgress() local
85 layoutManager.scrollToPositionWithOffset(0, (int) -(availableScrollHeight * touchFraction)); in scrollToPositionAtProgress()
135 int availableScrollHeight = totalHeight - getScrollbarTrackHeight(); in getAvailableScrollHeight() local
136 return availableScrollHeight; in getAvailableScrollHeight()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsFastScrollHelper.java94 public boolean smoothScrollToSection(int scrollY, int availableScrollHeight, in smoothScrollToSection() argument
98 smoothSnapToPosition(scrollY, availableScrollHeight, info); in smoothScrollToSection()
108 private void smoothSnapToPosition(int scrollY, int availableScrollHeight, in smoothSnapToPosition() argument
148 : Math.min(availableScrollHeight, mRv.getCurrentScrollY(newPosition, 0)); in smoothSnapToPosition()
DAllAppsRecyclerView.java320 int availableScrollHeight = getAvailableScrollHeight(); in scrollToPositionAtProgress() local
321 mFastScrollHelper.smoothScrollToSection(scrollY, availableScrollHeight, lastInfo); in scrollToPositionAtProgress()
380 int availableScrollHeight = getAvailableScrollHeight(); in onUpdateScrollbar() local
381 if (availableScrollHeight <= 0) { in onUpdateScrollbar()
392 (((float) scrollY / availableScrollHeight) * availableScrollBarHeight); in onUpdateScrollbar()
423 synchronizeScrollBarThumbOffsetToViewScroll(scrollY, availableScrollHeight); in onUpdateScrollbar()
/packages/apps/Launcher3/src/com/android/launcher3/
DBaseRecyclerView.java145 int availableScrollHeight) { in synchronizeScrollBarThumbOffsetToViewScroll() argument
147 if (availableScrollHeight <= 0) { in synchronizeScrollBarThumbOffsetToViewScroll()
156 (int) (((float) scrollY / availableScrollHeight) * getAvailableScrollBarHeight()); in synchronizeScrollBarThumbOffsetToViewScroll()