Searched refs:minPosition (Results 1 – 6 of 6) sorted by relevance
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | LinearLayoutManagerBaseConfigSetTest.java | 297 int minPosition = Integer.MAX_VALUE, maxPosition = Integer.MIN_VALUE; in findInvisibleTarget() local 301 if (position < minPosition) { in findInvisibleTarget() 302 minPosition = position; in findInvisibleTarget() 310 final int headTarget = minPosition / 2; in findInvisibleTarget() 314 if (Math.abs(tailTarget - maxPosition) > Math.abs(headTarget - minPosition)) { in findInvisibleTarget() 323 config + " target:" + target + " min:" + minPosition + ", max:" + maxPosition); in findInvisibleTarget()
|
D | BaseStaggeredGridLayoutManagerTest.java | 221 int minPosition = Integer.MAX_VALUE, maxPosition = Integer.MIN_VALUE; in findInvisibleTarget() local 225 if (position < minPosition) { in findInvisibleTarget() 226 minPosition = position; in findInvisibleTarget() 233 final int headTarget = minPosition / 2; in findInvisibleTarget() 237 if (Math.abs(tailTarget - maxPosition) > Math.abs(headTarget - minPosition)) { in findInvisibleTarget() 246 config + " target:" + target + " min:" + minPosition + ", max:" + maxPosition); in findInvisibleTarget()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | ScrollbarHelper.java | 36 final int minPosition = Math.min(lm.getPosition(startChild), in computeScrollOffset() local 42 : Math.max(0, minPosition); in computeScrollOffset()
|
D | StaggeredGridLayoutManager.java | 1494 int minPosition = mShouldReverseLayout ? getLastChildPosition() : getFirstChildPosition(); 1526 if (affectedRangeEnd <= minPosition) {
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ScrollbarHelper.java | 37 final int minPosition = Math.min(lm.getPosition(startChild), in computeScrollOffset() local 43 : Math.max(0, minPosition); in computeScrollOffset()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskStack.java | 602 int minPosition = 0; in findPositionForTask() local 606 minPosition = computeMinPosition(minPosition, stackSize); in findPositionForTask() 611 return Math.min(Math.max(targetPosition, minPosition), maxPosition); in findPositionForTask() 620 private int computeMinPosition(int minPosition, int size) { in computeMinPosition() argument 621 while (minPosition < size) { in computeMinPosition() 622 final Task tmpTask = mChildren.get(minPosition); in computeMinPosition() 629 minPosition++; in computeMinPosition() 631 return minPosition; in computeMinPosition()
|