Home
last modified time | relevance | path

Searched refs:fromBoundingRect (Results 1 – 5 of 5) sorted by relevance

/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
H A DWmDisplayCutoutTest.java24 import static android.view.DisplayCutout.fromBoundingRect;
57 fromBoundingRect(80, 0, 120, 20, BOUNDS_POSITION_TOP), 200, 400); in computeSafeInsets_cutoutTop()
65 fromBoundingRect(0, 180, 20, 220, BOUNDS_POSITION_LEFT), 200, 400); in computeSafeInsets_cutoutLeft()
73 fromBoundingRect(80, 380, 120, 400, BOUNDS_POSITION_BOTTOM), 200, 400); in computeSafeInsets_cutoutBottom()
81 fromBoundingRect(180, 180, 200, 220, BOUNDS_POSITION_RIGHT), 200, 400); in computeSafeInsets_cutoutRight()
89 fromBoundingRect(0, 0, 20, 20, BOUNDS_POSITION_TOP), 200, 400); in computeSafeInsets_topLeftCornerCutout_portrait()
97 fromBoundingRect(180, 0, 200, 20, BOUNDS_POSITION_TOP), 200, 400); in computeSafeInsets_topRightCornerCutout_portrait()
105 fromBoundingRect(0, 380, 20, 400, BOUNDS_POSITION_BOTTOM), 200, 400); in computeSafeInsets_bottomLeftCornerCutout_portrait()
121 fromBoundingRect(0, 0, 20, 20, BOUNDS_POSITION_LEFT), 400, 200); in computeSafeInsets_topLeftCornerCutout_landscape()
129 fromBoundingRect(380, 0, 400, 20, BOUNDS_POSITION_RIGHT), 400, 200); in computeSafeInsets_topRightCornerCutout_landscape()
[all …]
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DDisplayPolicyTestsBase.java122 return DisplayCutout.fromBoundingRect((int) rectF.left, (int) rectF.top, in displayCutoutForRotation()
H A DDisplayContentTests.java37 import static android.view.DisplayCutout.fromBoundingRect;
834 fromBoundingRect(r.left, r.top, r.right, r.bottom, BOUNDS_POSITION_TOP), null) in testDisplayCutout_rot0()
/aosp14/frameworks/base/core/java/android/view/
H A DDisplayCutout.java916 public static DisplayCutout fromBoundingRect( in fromBoundingRect() method in DisplayCutout
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt59767 Landroid/view/DisplayCutout;->fromBoundingRect(IIII)Landroid/view/DisplayCutout;