Home
last modified time | relevance | path

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

/aosp12/packages/apps/Launcher3/src/com/android/launcher3/allapps/
H A 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()
H A DAllAppsRecyclerView.java234 public String scrollToPositionAtProgress(float touchFraction) { in scrollToPositionAtProgress() argument
246 if (info.touchFraction > touchFraction) { in scrollToPositionAtProgress()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
H A DWidgetsRecyclerView.java101 public String scrollToPositionAtProgress(float touchFraction) { in scrollToPositionAtProgress() argument
111 float pos = rowCount * touchFraction; in scrollToPositionAtProgress()
114 layoutManager.scrollToPositionWithOffset(0, (int) -(availableScrollHeight * touchFraction)); in scrollToPositionAtProgress()
116 int posInt = (int) ((touchFraction == 1) ? pos - 1 : pos); in scrollToPositionAtProgress()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DBaseRecyclerView.java165 public abstract String scrollToPositionAtProgress(float touchFraction); in scrollToPositionAtProgress() argument