HomeSort by relevance Sort by last modified time
    Searched refs:availableScrollBarHeight (Results 1 - 2 of 2) sorted by null

  /packages/apps/Launcher3/src/com/android/launcher3/
BaseRecyclerView.java 210 * AvailableScrollBarHeight = Total height of the visible view - thumb height
213 int availableScrollBarHeight = getVisibleHeight() - mScrollbar.getThumbHeight();
214 return availableScrollBarHeight;
257 int availableScrollBarHeight = getAvailableScrollBarHeight();
269 (int) (((float) scrollY / availableScrollHeight) * availableScrollBarHeight);
  /packages/apps/Launcher3/src/com/android/launcher3/allapps/
AllAppsRecyclerView.java 277 int availableScrollBarHeight = getAvailableScrollBarHeight();
289 (int) (((float) scrollY / availableScrollHeight) * availableScrollBarHeight);
316 int offset = (int) ((dy * (availableScrollBarHeight - thumbScrollY)) /
317 (float) (availableScrollBarHeight - scrollBarY));
320 thumbScrollY = Math.max(0, Math.min(availableScrollBarHeight, thumbScrollY));

Completed in 67 milliseconds