Home
last modified time | relevance | path

Searched refs:boundingRects (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DCutoutAvoidingToolbar.kt53 _insets?.displayCutout?.boundingRects?.let { in adjustLayout()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarContentInsetsProviderTest.kt156 `when`(dc.boundingRects).thenReturn(listOf(dcBounds)) in testCalculateInsetsForRotationWithRotatedResources_topLeftCutout()
257 `when`(dc.boundingRects).thenReturn(listOf(dcBounds)) in testCalculateInsetsForRotationWithRotatedResources_nonCornerCutout()
437 `when`(dc.boundingRects).thenReturn(listOf(dcBounds)) in testMinLeftRight_accountsForDisplayCutout()
/frameworks/base/core/java/android/view/
DDisplayCutout.java474 public DisplayCutout(@Nullable Rect safeInsets, @Nullable List<Rect> boundingRects) { in DisplayCutout() argument
475 this(safeInsets, Insets.NONE, extractBoundsFromList(safeInsets, boundingRects), null, in DisplayCutout()
553 public static Rect[] extractBoundsFromList(Rect safeInsets, List<Rect> boundingRects) { in extractBoundsFromList() argument
558 if (safeInsets != null && boundingRects != null) { in extractBoundsFromList()
563 for (Rect bound : boundingRects) { in extractBoundsFromList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDisplayCutoutBaseView.kt154 val cutoutBounds: Region = rectsToRegion(displayInfo.displayCutout?.boundingRects) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarContentInsetsProvider.kt417 val cutoutRects = displayCutout?.boundingRects in getStatusBarLeftRight()
/frameworks/base/core/java/android/widget/
DTextView.java12445 RectF[] boundingRects = new RectF[positionInfoLength]; in addExtraDataToAccessibilityNodeInfo() local
12458 boundingRects[i] = bounds; in addExtraDataToAccessibilityNodeInfo()
12462 info.getExtras().putParcelableArray(extraDataKey, boundingRects); in addExtraDataToAccessibilityNodeInfo()