Home
last modified time | relevance | path

Searched refs:minPosition (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DScrollbarHelper.java37 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/
DTaskStack.java644 int minPosition = 0; in findPositionForTask() local
648 minPosition = computeMinPosition(minPosition, stackSize); in findPositionForTask()
654 if (targetPosition == POSITION_BOTTOM && minPosition == 0) { in findPositionForTask()
661 return Math.min(Math.max(targetPosition, minPosition), maxPosition); in findPositionForTask()
670 private int computeMinPosition(int minPosition, int size) { in computeMinPosition() argument
671 while (minPosition < size) { in computeMinPosition()
672 final Task tmpTask = mChildren.get(minPosition); in computeMinPosition()
679 minPosition++; in computeMinPosition()
681 return minPosition; in computeMinPosition()
DDisplayContent.java4330 int minPosition = POSITION_BOTTOM; in findPositionForStack() local
4338 minPosition = belowAlwaysOnTopPosition != in findPositionForStack()
4348 targetPosition = Math.max(targetPosition, minPosition); in findPositionForStack()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleData.java515 private int insertBubble(int minPosition, Bubble newBubble) { in insertBubble() argument
519 for (int pos = minPosition; pos < mBubbles.size(); pos++) { in insertBubble()