Searched refs:availableScrollHeight (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsRecyclerView.java | 213 int availableScrollHeight = getAvailableScrollHeight(); in scrollToPositionAtProgress() local 214 mFastScrollHelper.smoothScrollToSection(scrollY, availableScrollHeight, lastInfo); in scrollToPositionAtProgress() 276 int availableScrollHeight = getAvailableScrollHeight(); in onUpdateScrollbar() local 277 if (availableScrollHeight <= 0) { in onUpdateScrollbar() 288 (((float) scrollY / availableScrollHeight) * availableScrollBarHeight); in onUpdateScrollbar() 319 synchronizeScrollBarThumbOffsetToViewScroll(scrollY, availableScrollHeight); in onUpdateScrollbar()
|
D | AllAppsFastScrollHelper.java | 94 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()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BaseRecyclerView.java | 105 int availableScrollHeight) { in synchronizeScrollBarThumbOffsetToViewScroll() argument 107 if (availableScrollHeight <= 0) { in synchronizeScrollBarThumbOffsetToViewScroll() 116 (int) (((float) scrollY / availableScrollHeight) * getAvailableScrollBarHeight()); in synchronizeScrollBarThumbOffsetToViewScroll()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetsRecyclerView.java | 88 int availableScrollHeight = getAvailableScrollHeight(); in scrollToPositionAtProgress() local 90 layoutManager.scrollToPositionWithOffset(0, (int) -(availableScrollHeight * touchFraction)); in scrollToPositionAtProgress()
|