Searched refs:boundingRects (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | WmDisplayCutout.java | 116 final List<Rect> boundingRects = cutout.replaceSafeInsets( in computeSafeInsets() local 119 int topInset = findInsetForSide(displaySize, boundingRects, Gravity.TOP); in computeSafeInsets() 120 int bottomInset = findInsetForSide(displaySize, boundingRects, Gravity.BOTTOM); in computeSafeInsets() 123 final List<Rect> boundingRects = cutout.replaceSafeInsets( in computeSafeInsets() local 126 int leftInset = findInsetForSide(displaySize, boundingRects, Gravity.LEFT); in computeSafeInsets() 127 int right = findInsetForSide(displaySize, boundingRects, Gravity.RIGHT); in computeSafeInsets() 135 private static int findInsetForSide(Size display, List<Rect> boundingRects, int gravity) { in findInsetForSide() argument 137 final int size = boundingRects.size(); in findInsetForSide() 139 Rect boundingRect = boundingRects.get(i); in findInsetForSide()
|
/frameworks/base/core/java/android/view/ |
D | DisplayCutout.java | 270 public DisplayCutout(@Nullable Rect safeInsets, @Nullable List<Rect> boundingRects) { in DisplayCutout() argument 271 this(safeInsets, extractBoundsFromList(safeInsets, boundingRects), in DisplayCutout() 316 public static Rect[] extractBoundsFromList(Rect safeInsets, List<Rect> boundingRects) { in extractBoundsFromList() argument 321 if (safeInsets != null && boundingRects != null) { in extractBoundsFromList() 322 for (Rect bound : boundingRects) { in extractBoundsFromList()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
D | CutoutAvoidingToolbar.kt | 53 _insets?.displayCutout?.boundingRects?.let { in adjustLayout()
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 11752 RectF[] boundingRects = new RectF[positionInfoLength]; in addExtraDataToAccessibilityNodeInfo() local 11765 boundingRects[i] = bounds; in addExtraDataToAccessibilityNodeInfo() 11769 info.getExtras().putParcelableArray(extraDataKey, boundingRects); in addExtraDataToAccessibilityNodeInfo()
|