Searched refs:minPosition (Results 1 – 4 of 4) sorted by relevance
37 final int minPosition = Math.min(lm.getPosition(startChild), in computeScrollOffset() local43 : Math.max(0, minPosition); in computeScrollOffset()
291 int minPosition = findMinPositionForChildDisplayArea(child); in findPositionForChildDisplayArea() local295 for (int i = minPosition; i <= maxPosition; i++) { in findPositionForChildDisplayArea()301 minPosition = maxPosition - alwaysOnTopCount + 1; in findPositionForChildDisplayArea()305 return Math.max(Math.min(requestPosition, maxPosition), minPosition); in findPositionForChildDisplayArea()
549 int minPosition = POSITION_BOTTOM;552 minPosition = i;565 if (currentIndex > minPosition) {566 minPosition = currentIndex;569 return minPosition;609 int minPosition = findMinPositionForRootTask(rootTask);621 targetPosition = Math.max(targetPosition, minPosition);
2509 private int computeMinUserPosition(int minPosition, int size) { in computeMinUserPosition() argument2510 while (minPosition < size) { in computeMinUserPosition()2511 final WindowContainer child = mChildren.get(minPosition); in computeMinUserPosition()2516 minPosition++; in computeMinUserPosition()2518 return minPosition; in computeMinUserPosition()2545 int minPosition = (canShowChild) ? computeMinUserPosition(0, size) : 0; in getAdjustedChildPosition() local2546 int maxPosition = minPosition; in getAdjustedChildPosition()2554 while (maxPosition > minPosition) { in getAdjustedChildPosition()2561 if (suggestedPosition == POSITION_BOTTOM && minPosition == 0) { in getAdjustedChildPosition()2573 return Math.min(Math.max(suggestedPosition, minPosition), maxPosition); in getAdjustedChildPosition()