Searched refs:maxPosition (Results 1 – 4 of 4) sorted by relevance
39 final int maxPosition = Math.max(lm.getPosition(startChild), in computeScrollOffset() local42 ? Math.max(0, state.getItemCount() - maxPosition - 1) in computeScrollOffset()
225 int maxPosition = findMaxPositionForChildDisplayArea(child); in findPositionForChildDisplayArea() local229 return Math.max(Math.min(requestPosition, maxPosition), minPosition); in findPositionForChildDisplayArea()
3136 private int computeMaxUserPosition(int maxPosition) { in computeMaxUserPosition() argument3137 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() local3158 ++maxPosition; in getAdjustedChildPosition()3164 while (maxPosition > minPosition) { in getAdjustedChildPosition()3165 if (!mChildren.get(maxPosition - 1).isAlwaysOnTop()) break; in getAdjustedChildPosition()3166 --maxPosition; in getAdjustedChildPosition()[all …]
649 int maxPosition = findMaxPositionForRootTask(rootTask);662 targetPosition = Math.min(targetPosition, maxPosition);