Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsRecyclerView.java76 public CharSequence scrollToPositionAtProgress(float touchFraction) { in scrollToPositionAtProgress() argument
86 float pos = rowCount * touchFraction; in scrollToPositionAtProgress()
89 layoutManager.scrollToPositionWithOffset(0, (int) -(availableScrollHeight * touchFraction)); in scrollToPositionAtProgress()
91 int posInt = (int) ((touchFraction == 1) ? pos - 1 : pos); in scrollToPositionAtProgress()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsRecyclerView.java183 public CharSequence scrollToPositionAtProgress(float touchFraction) { in scrollToPositionAtProgress() argument
196 int index = Utilities.boundToRange((int) (touchFraction * count), 0, count - 1); in scrollToPositionAtProgress()
/packages/apps/Launcher3/src/com/android/launcher3/
DFastScrollRecyclerView.java158 public abstract CharSequence scrollToPositionAtProgress(float touchFraction); in scrollToPositionAtProgress() argument