Searched refs:availableScrollHeight (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BaseRecyclerView.java | 204 int availableScrollHeight = totalHeight - getVisibleHeight(); in getAvailableScrollHeight() local 205 return availableScrollHeight; in getAvailableScrollHeight() 258 int availableScrollHeight = getAvailableScrollHeight(rowCount); in synchronizeScrollBarThumbOffsetToViewScroll() local 259 if (availableScrollHeight <= 0) { in synchronizeScrollBarThumbOffsetToViewScroll() 269 (int) (((float) scrollY / availableScrollHeight) * availableScrollBarHeight); in synchronizeScrollBarThumbOffsetToViewScroll()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsFastScrollHelper.java | 99 public boolean smoothScrollToSection(int scrollY, int availableScrollHeight, in smoothScrollToSection() argument 103 smoothSnapToPosition(scrollY, availableScrollHeight, info); in smoothScrollToSection() 113 private void smoothSnapToPosition(int scrollY, int availableScrollHeight, in smoothSnapToPosition() argument 147 int newScrollY = Math.min(availableScrollHeight, in smoothSnapToPosition()
|
D | AllAppsRecyclerView.java | 238 int availableScrollHeight = getAvailableScrollHeight(mApps.getNumAppRows()); in scrollToPositionAtProgress() local 239 mFastScrollHelper.smoothScrollToSection(scrollY, availableScrollHeight, lastInfo); in scrollToPositionAtProgress() 278 int availableScrollHeight = getAvailableScrollHeight(mApps.getNumAppRows()); in onUpdateScrollbar() local 279 if (availableScrollHeight <= 0) { in onUpdateScrollbar() 289 (int) (((float) scrollY / availableScrollHeight) * availableScrollBarHeight); in onUpdateScrollbar()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetsRecyclerView.java | 107 int availableScrollHeight = getAvailableScrollHeight(rowCount); in scrollToPositionAtProgress() local 109 layoutManager.scrollToPositionWithOffset(0, (int) -(availableScrollHeight * touchFraction)); in scrollToPositionAtProgress()
|