Searched refs:minPosition (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
D | DividerPresenter.java | 682 final int minPosition = calculateMinPosition(); in dividerPositionForSnapPoints() local 693 minPosition, in dividerPositionForSnapPoints() 708 static int dividerPositionWithPositionOptions(int dividerPosition, int minPosition, in dividerPositionWithPositionOptions() argument 714 if (dividerPosition < minPosition && velocity < -minDismissVelocityPxPerSecond) { in dividerPositionWithPositionOptions() 725 dividerPosition, minPosition, maxPosition, velocity); in dividerPositionWithPositionOptions() 727 if (dividerPosition >= minPosition && dividerPosition <= maxPosition) { in dividerPositionWithPositionOptions() 733 ? new int[] {0, minPosition, maxPosition, fullyExpandedPosition} in dividerPositionWithPositionOptions() 734 : new int[] {minPosition, maxPosition}); in dividerPositionWithPositionOptions() 740 private static int dividerPositionForFling(int dividerPosition, int minPosition, in dividerPositionForFling() argument 744 return dividerPosition < maxPosition ? minPosition : maxPosition; in dividerPositionForFling() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ScrollbarHelper.java | 37 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/ |
D | DisplayArea.java | 298 int minPosition = findMinPositionForChildDisplayArea(child); in findPositionForChildDisplayArea() local 302 for (int i = minPosition; i <= maxPosition; i++) { in findPositionForChildDisplayArea() 308 minPosition = maxPosition - alwaysOnTopCount + 1; in findPositionForChildDisplayArea() 312 return Math.max(Math.min(requestPosition, maxPosition), minPosition); in findPositionForChildDisplayArea()
|
D | TaskDisplayArea.java | 554 int minPosition = POSITION_BOTTOM; 557 minPosition = i; 570 if (currentIndex > minPosition) { 571 minPosition = currentIndex; 574 return minPosition; 614 int minPosition = findMinPositionForRootTask(rootTask); 626 targetPosition = Math.max(targetPosition, minPosition);
|
D | Task.java | 2592 private int computeMinUserPosition(int minPosition, int size) { in computeMinUserPosition() argument 2593 while (minPosition < size) { in computeMinUserPosition() 2594 final WindowContainer child = mChildren.get(minPosition); in computeMinUserPosition() 2599 minPosition++; in computeMinUserPosition() 2601 return minPosition; in computeMinUserPosition() 2628 int minPosition = (canShowChild) ? computeMinUserPosition(0, size) : 0; in getAdjustedChildPosition() local 2629 int maxPosition = minPosition; in getAdjustedChildPosition() 2637 while (maxPosition > minPosition) { in getAdjustedChildPosition() 2644 if (suggestedPosition == POSITION_BOTTOM && minPosition == 0) { in getAdjustedChildPosition() 2656 return Math.min(Math.max(suggestedPosition, minPosition), maxPosition); in getAdjustedChildPosition()
|