Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsRecyclerView.java90 public String scrollToPositionAtProgress(float touchFraction) { in scrollToPositionAtProgress() argument
106 float pos = rowCount * touchFraction; in scrollToPositionAtProgress()
109 layoutManager.scrollToPositionWithOffset(0, (int) -(availableScrollHeight * touchFraction)); in scrollToPositionAtProgress()
111 int posInt = (int) ((touchFraction == 1)? pos -1 : pos); in scrollToPositionAtProgress()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAlphabeticalAppsList.java73 public float touchFraction; field in AlphabeticalAppsList.FastScrollSectionInfo
538 info.touchFraction = 0f; in updateAdapterItems()
543 info.touchFraction = item.rowIndex * rowFraction + subRowFraction; in updateAdapterItems()
553 info.touchFraction = 0f; in updateAdapterItems()
556 info.touchFraction = cumulativeTouchFraction; in updateAdapterItems()
DAllAppsRecyclerView.java215 public String scrollToPositionAtProgress(float touchFraction) { in scrollToPositionAtProgress() argument
230 if (info.touchFraction > touchFraction) { in scrollToPositionAtProgress()
/packages/apps/Launcher3/src/com/android/launcher3/
DBaseRecyclerView.java313 protected abstract String scrollToPositionAtProgress(float touchFraction); in scrollToPositionAtProgress() argument