Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DScrollbarHelper.java39 final int maxPosition = Math.max(lm.getPosition(startChild), in computeScrollOffset() local
42 ? Math.max(0, state.getItemCount() - maxPosition - 1) in computeScrollOffset()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayArea.java225 int maxPosition = findMaxPositionForChildDisplayArea(child); in findPositionForChildDisplayArea() local
229 return Math.max(Math.min(requestPosition, maxPosition), minPosition); in findPositionForChildDisplayArea()
DTask.java3136 private int computeMaxUserPosition(int maxPosition) { in computeMaxUserPosition() argument
3137 while (maxPosition > 0) { in computeMaxUserPosition()
3138 final WindowContainer child = mChildren.get(maxPosition); in computeMaxUserPosition()
3143 maxPosition--; in computeMaxUserPosition()
3145 return maxPosition; in computeMaxUserPosition()
3155 int maxPosition = (canShowChild) ? size - 1 : computeMaxUserPosition(size - 1); in getAdjustedChildPosition() local
3158 ++maxPosition; in getAdjustedChildPosition()
3164 while (maxPosition > minPosition) { in getAdjustedChildPosition()
3165 if (!mChildren.get(maxPosition - 1).isAlwaysOnTop()) break; in getAdjustedChildPosition()
3166 --maxPosition; in getAdjustedChildPosition()
[all …]
DTaskDisplayArea.java649 int maxPosition = findMaxPositionForRootTask(rootTask);
662 targetPosition = Math.min(targetPosition, maxPosition);