Searched refs:minPosition (Results 1 – 5 of 5) sorted by relevance
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | LinearLayoutManagerBaseConfigSetTest.java | 304 int minPosition = Integer.MAX_VALUE, maxPosition = Integer.MIN_VALUE; in findInvisibleTarget() local 308 if (position < minPosition) { in findInvisibleTarget() 309 minPosition = position; in findInvisibleTarget() 317 final int headTarget = minPosition / 2; in findInvisibleTarget() 321 if (Math.abs(tailTarget - maxPosition) > Math.abs(headTarget - minPosition)) { in findInvisibleTarget() 330 config + " target:" + target + " min:" + minPosition + ", max:" + maxPosition); in findInvisibleTarget()
|
D | BaseStaggeredGridLayoutManagerTest.java | 217 int minPosition = Integer.MAX_VALUE, maxPosition = Integer.MIN_VALUE; in findInvisibleTarget() local 221 if (position < minPosition) { in findInvisibleTarget() 222 minPosition = position; in findInvisibleTarget() 229 final int headTarget = minPosition / 2; in findInvisibleTarget() 233 if (Math.abs(tailTarget - maxPosition) > Math.abs(headTarget - minPosition)) { in findInvisibleTarget() 242 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 | 1479 int minPosition = mShouldReverseLayout ? getLastChildPosition() : getFirstChildPosition(); 1511 if (affectedRangeEnd <= minPosition) {
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskStack.java | 531 int minPosition = 0; in positionTask() local 535 minPosition = computeMinPosition(minPosition, stackSize); in positionTask() 540 position = Math.min(Math.max(position, minPosition), maxPosition); in positionTask() 574 private int computeMinPosition(int minPosition, int size) { in computeMinPosition() argument 575 while (minPosition < size) { in computeMinPosition() 576 final Task tmpTask = mTasks.get(minPosition); in computeMinPosition() 583 minPosition++; in computeMinPosition() 585 return minPosition; in computeMinPosition()
|