Home
last modified time | relevance | path

Searched refs:getSafeInsets (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DWmDisplayCutoutTest.java61 assertEquals(new Rect(0, 15, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in calculateRelativeTo_top()
70 assertEquals(new Rect(15, 0, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in calculateRelativeTo_left()
79 assertEquals(new Rect(0, 0, 0, 15), cutout.getDisplayCutout().getSafeInsets()); in calculateRelativeTo_bottom()
88 assertEquals(new Rect(0, 0, 15, 0), cutout.getDisplayCutout().getSafeInsets()); in calculateRelativeTo_right()
106 assertEquals(new Rect(0, 20, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_top()
114 assertEquals(new Rect(20, 0, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_left()
122 assertEquals(new Rect(0, 0, 0, 20), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_bottom()
130 assertEquals(new Rect(0, 0, 20, 0), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_right()
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java141 assertEquals(new Rect(5, 6, 7, 8), mCutoutNumbers.getSafeInsets()); in testGetSafeInsets()
298 assertThat(cutout.getSafeInsets(), equalTo(new Rect(0, 20, 0, 0))); in fromSpec_setsSafeInsets_top()
305 assertThat(cutout.getSafeInsets(), equalTo(new Rect(0, 20, 0, 10))); in fromSpec_setsSafeInsets_top_and_bottom()
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplay.java328 return deviceInfo.displayCutout.getSafeInsets(); in getMaskingInsets()
/frameworks/base/core/java/android/view/
DDisplayCutout.java386 public Rect getSafeInsets() { in getSafeInsets() method in DisplayCutout
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java1091 mWindowFrames.calculateDockedDividerInsets(c.getDisplayCutout().getSafeInsets()); in computeFrameLw()
/frameworks/base/config/
Dboot-image-profile.txt16122 HSPLandroid/view/DisplayCutout;->getSafeInsets()Landroid/graphics/Rect;
Dhiddenapi-greylist-max-o.txt74201 Landroid/view/DisplayCutout;->getSafeInsets()Landroid/graphics/Rect;