Home
last modified time | relevance | path

Searched refs:minPos (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearSnapHelper.java234 int minPos = Integer.MAX_VALUE; in computeDistancePerChild() local
247 if (pos < minPos) { in computeDistancePerChild()
248 minPos = pos; in computeDistancePerChild()
267 return 1f * distance / ((maxPos - minPos) + 1); in computeDistancePerChild()
DStaggeredGridLayoutManager.java273 final int minPos, maxPos; in checkForGaps() local
275 minPos = getLastChildPosition(); in checkForGaps()
278 minPos = getFirstChildPosition(); in checkForGaps()
281 if (minPos == 0) { in checkForGaps()
295 .getFirstFullSpanItemInRange(minPos, maxPos + 1, invalidGapDir, true); in checkForGaps()
302 .getFirstFullSpanItemInRange(minPos, invalidFsi.mPosition, in checkForGaps()
3011 public FullSpanItem getFirstFullSpanItemInRange(int minPos, int maxPos, int gapDir,
3022 if (fsi.mPosition >= minPos
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseRecyclerViewAnimationsTest.java458 int minPos = Integer.MAX_VALUE; in validatePreLayoutSequence() local
460 if (pos < minPos) { in validatePreLayoutSequence()
461 minPos = pos; in validatePreLayoutSequence()
466 preLayoutPositions.contains(minPos + i)); in validatePreLayoutSequence()