Searched refs:maxPosition (Results 1 – 3 of 3) sorted by relevance
39 final int maxPosition = Math.max(lm.getPosition(startChild), in computeScrollOffset() local42 ? Math.max(0, state.getItemCount() - maxPosition - 1) in computeScrollOffset()
2741 private int computeMaxUserPosition(int maxPosition) { in computeMaxUserPosition() argument2742 while (maxPosition > 0) { in computeMaxUserPosition()2743 final WindowContainer child = mChildren.get(maxPosition); in computeMaxUserPosition()2748 maxPosition--; in computeMaxUserPosition()2750 return maxPosition; in computeMaxUserPosition()2760 int maxPosition = (canShowChild) ? size : computeMaxUserPosition(size - 1); in getAdjustedChildPosition() local2766 while (maxPosition > minPosition) { in getAdjustedChildPosition()2767 if (!mChildren.get(maxPosition - 1).isAlwaysOnTop()) break; in getAdjustedChildPosition()2768 --maxPosition; in getAdjustedChildPosition()2775 } else if (suggestedPosition == POSITION_TOP && maxPosition >= (size - 1)) { in getAdjustedChildPosition()[all …]
455 int maxPosition = findMaxPositionForStack(stack); in findPositionForStack() local468 targetPosition = Math.min(targetPosition, maxPosition); in findPositionForStack()