Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/utils/
DWmDisplayCutoutTest.java58 assertEquals(new Rect(0, 15, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in calculateRelativeTo_top()
67 assertEquals(new Rect(15, 0, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in calculateRelativeTo_left()
76 assertEquals(new Rect(0, 0, 0, 15), cutout.getDisplayCutout().getSafeInsets()); in calculateRelativeTo_bottom()
85 assertEquals(new Rect(0, 0, 15, 0), cutout.getDisplayCutout().getSafeInsets()); in calculateRelativeTo_right()
102 assertEquals(new Rect(0, 20, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_top()
110 assertEquals(new Rect(20, 0, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_left()
118 assertEquals(new Rect(0, 0, 0, 20), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_bottom()
126 assertEquals(new Rect(0, 0, 20, 0), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_right()
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java61 public void getSafeInsets() throws Exception { in getSafeInsets() method in DisplayCutoutTest
67 assertEquals(new Rect(1, 2, 3, 4), mCutoutNumbers.getSafeInsets()); in getSafeInsets()
/frameworks/base/core/java/android/view/
DDisplayCutout.java171 public Rect getSafeInsets() { in getSafeInsets() method in DisplayCutout
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java1059 mTmpRect.inset(c.getDisplayCutout().getSafeInsets()); in computeFrameLw()
/frameworks/base/config/
Dboot-image-profile.txt32502 HSPLandroid/view/DisplayCutout;->getSafeInsets()Landroid/graphics/Rect;