Searched refs:prevPosition (Results 1 – 1 of 1) sorted by relevance
1054 final float prevPosition = (float) prevSection / sectionCount; in scrollTo() local1057 if (prevSection == exactSection && position - prevPosition < snapThreshold) { in scrollTo()1060 targetIndex = prevIndex + (int) ((nextIndex - prevIndex) * (position - prevPosition) in scrollTo()1061 / (nextPosition - prevPosition)); in scrollTo()