Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAlphabeticalAppsList.java59 public float touchFraction; field in AlphabeticalAppsList.FastScrollSectionInfo
363 info.touchFraction = 0f; in refillAdapterItems()
368 info.touchFraction = item.rowIndex * rowFraction + subRowFraction; in refillAdapterItems()
377 info.touchFraction = 0f; in refillAdapterItems()
380 info.touchFraction = cumulativeTouchFraction; in refillAdapterItems()
DAllAppsRecyclerView.java220 public String scrollToPositionAtProgress(float touchFraction) { in scrollToPositionAtProgress() argument
232 if (info.touchFraction > touchFraction) { in scrollToPositionAtProgress()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsRecyclerView.java100 public String scrollToPositionAtProgress(float touchFraction) { in scrollToPositionAtProgress() argument
110 float pos = rowCount * touchFraction; in scrollToPositionAtProgress()
113 layoutManager.scrollToPositionWithOffset(0, (int) -(availableScrollHeight * touchFraction)); in scrollToPositionAtProgress()
115 int posInt = (int) ((touchFraction == 1) ? pos - 1 : pos); in scrollToPositionAtProgress()
/packages/apps/Launcher3/src/com/android/launcher3/
DBaseRecyclerView.java165 public abstract String scrollToPositionAtProgress(float touchFraction); in scrollToPositionAtProgress() argument