Searched defs:safeInsets (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/view/ |
D | DisplayCutoutTest.java | 75 Rect safeInsets = new Rect(10, 0, 0, 0); in testExtractBoundsFromList_left() local 83 Rect safeInsets = new Rect(0, 10, 0, 0); in testExtractBoundsFromList_top() local 91 Rect safeInsets = new Rect(0, 0, 10, 0); in testExtractBoundsFromList_right() local 99 Rect safeInsets = new Rect(0, 0, 0, 10); in testExtractBoundsFromList_bottom() local 107 Rect safeInsets = new Rect(0, 1, 0, 10); in testExtractBoundsFromList_top_and_bottom() local 117 Rect safeInsets = new Rect(0, 0, 0, 0); in testExtractBoundsFromList_nullBoundingRects() local
|
/frameworks/base/core/java/android/view/ |
D | DisplayCutout.java | 251 public DisplayCutout(@NonNull Insets safeInsets, @Nullable Rect boundLeft, in DisplayCutout() 270 public DisplayCutout(@Nullable Rect safeInsets, @Nullable List<Rect> boundingRects) { in DisplayCutout() 283 private DisplayCutout(Rect safeInsets, Rect boundLeft, Rect boundTop, Rect boundRight, in DisplayCutout() 289 private DisplayCutout(Rect safeInsets, Rect[] bounds, boolean copyArguments) { in DisplayCutout() 294 private DisplayCutout(Rect safeInsets, Bounds bounds) { in DisplayCutout() 316 public static Rect[] extractBoundsFromList(Rect safeInsets, List<Rect> boundingRects) { in extractBoundsFromList() 520 Rect safeInsets = new Rect(mSafeInsets); in inset() local 561 public DisplayCutout replaceSafeInsets(Rect safeInsets) { in replaceSafeInsets() 806 Rect safeInsets = in.readTypedObject(Rect.CREATOR); in readCutoutFromParcel() local
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | WmDisplayCutout.java | 51 final Rect safeInsets = computeSafeInsets(displaySize, inner); in computeSafeInsets() local
|