Searched refs:touchFraction (Results 1 – 3 of 3) sorted by relevance
76 public CharSequence scrollToPositionAtProgress(float touchFraction) { in scrollToPositionAtProgress() argument86 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()
183 public CharSequence scrollToPositionAtProgress(float touchFraction) { in scrollToPositionAtProgress() argument196 int index = Utilities.boundToRange((int) (touchFraction * count), 0, count - 1); in scrollToPositionAtProgress()
158 public abstract CharSequence scrollToPositionAtProgress(float touchFraction); in scrollToPositionAtProgress() argument