Searched refs:computeSafeInsets (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | WmDisplayCutoutTest.java | 56 WmDisplayCutout cutout = WmDisplayCutout.computeSafeInsets( in computeSafeInsets_cutoutTop() 64 WmDisplayCutout cutout = WmDisplayCutout.computeSafeInsets( in computeSafeInsets_cutoutLeft() 72 WmDisplayCutout cutout = WmDisplayCutout.computeSafeInsets( in computeSafeInsets_cutoutBottom() 80 WmDisplayCutout cutout = WmDisplayCutout.computeSafeInsets( in computeSafeInsets_cutoutRight() 88 WmDisplayCutout cutout = WmDisplayCutout.computeSafeInsets( in computeSafeInsets_topLeftCornerCutout_portrait() 96 WmDisplayCutout cutout = WmDisplayCutout.computeSafeInsets( in computeSafeInsets_topRightCornerCutout_portrait() 104 WmDisplayCutout cutout = WmDisplayCutout.computeSafeInsets( in computeSafeInsets_bottomLeftCornerCutout_portrait() 112 WmDisplayCutout cutout = WmDisplayCutout.computeSafeInsets( in computeSafeInsets_bottomRightCornerCutout_portrait() 120 WmDisplayCutout cutout = WmDisplayCutout.computeSafeInsets( in computeSafeInsets_topLeftCornerCutout_landscape() 128 WmDisplayCutout cutout = WmDisplayCutout.computeSafeInsets( in computeSafeInsets_topRightCornerCutout_landscape() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | WmDisplayCutout.java | 48 public static WmDisplayCutout computeSafeInsets( in computeSafeInsets() method in WmDisplayCutout 54 final Rect safeInsets = DisplayCutout.computeSafeInsets(displayWidth, displayHeight, inner); in computeSafeInsets() 64 public WmDisplayCutout computeSafeInsets(int width, int height) { in computeSafeInsets() method in WmDisplayCutout 65 return computeSafeInsets(mInner, width, height); in computeSafeInsets()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayLayout.java | 410 return computeSafeInsets(cutout, displayWidth, displayHeight); in calculateDisplayCutoutForRotation() 429 return computeSafeInsets( in calculateDisplayCutoutForRotation() 442 public static DisplayCutout computeSafeInsets(DisplayCutout inner, in computeSafeInsets() method in DisplayLayout 449 final Rect safeInsets = computeSafeInsets(displaySize, inner); in computeSafeInsets() 453 private static Rect computeSafeInsets( in computeSafeInsets() method in DisplayLayout
|
/frameworks/base/core/java/android/view/ |
D | CutoutSpecification.java | 308 private int computeSafeInsets(int gravity, Rect rect) { 363 int newSafeInset = computeSafeInsets(gravity, rect);
|
D | DisplayCutout.java | 1194 final Rect safeInsets = DisplayCutout.computeSafeInsets(endWidth, endHeight, tmp); in getRotated() 1203 public static Rect computeSafeInsets(int displayW, int displayH, DisplayCutout cutout) { in computeSafeInsets() method in DisplayCutout
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayContentTests.java | 826 .computeSafeInsets(200, 400).getDisplayCutout(); in testDisplayCutout_rot0() 867 .computeSafeInsets(displayWidth, displayHeight).getDisplayCutout(); in testDisplayCutout_rot90() 888 .computeSafeInsets(displayHeight, displayWidth).getDisplayCutout(), in testDisplayCutout_rot90()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayContent.java | 2233 return WmDisplayCutout.computeSafeInsets( in calculateDisplayCutoutForRotationAndDisplaySizeUncached()
|
/frameworks/base/services/ |
D | art-profile | 58661 HSPLcom/android/server/wm/utils/WmDisplayCutout;->computeSafeInsets(Landroid/view/DisplayCutout;II)…
|