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.java77 public String scrollToPositionAtProgress(float touchFraction) { in scrollToPositionAtProgress() argument
87 float pos = rowCount * touchFraction; in scrollToPositionAtProgress()
90 layoutManager.scrollToPositionWithOffset(0, (int) -(availableScrollHeight * touchFraction)); in scrollToPositionAtProgress()
92 int posInt = (int) ((touchFraction == 1)? pos -1 : pos); in scrollToPositionAtProgress()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAlphabeticalAppsList.java68 public float touchFraction; field in AlphabeticalAppsList.FastScrollSectionInfo
553 info.touchFraction = 0f; in refillAdapterItems()
558 info.touchFraction = item.rowIndex * rowFraction + subRowFraction; in refillAdapterItems()
567 info.touchFraction = 0f; in refillAdapterItems()
570 info.touchFraction = cumulativeTouchFraction; in refillAdapterItems()
DAllAppsRecyclerView.java237 public String scrollToPositionAtProgress(float touchFraction) { in scrollToPositionAtProgress() argument
252 if (info.touchFraction > touchFraction) { in scrollToPositionAtProgress()
/packages/apps/Launcher3/src/com/android/launcher3/
DBaseRecyclerView.java252 protected abstract String scrollToPositionAtProgress(float touchFraction); in scrollToPositionAtProgress() argument