Home
last modified time | relevance | path

Searched defs:safeInsets (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/view/
DDisplayCutout.java422 public DisplayCutout(@NonNull Insets safeInsets, @Nullable Rect boundLeft, in DisplayCutout()
449 public DisplayCutout(@NonNull Insets safeInsets, @Nullable Rect boundLeft, in DisplayCutout()
476 public DisplayCutout(@NonNull Insets safeInsets, @Nullable Rect boundLeft, in DisplayCutout()
503 public DisplayCutout(@NonNull Insets safeInsets, @Nullable Rect boundLeft, in DisplayCutout()
524 public DisplayCutout(@Nullable Rect safeInsets, @Nullable List<Rect> boundingRects) { in DisplayCutout()
547 private DisplayCutout(Rect safeInsets, Insets waterfallInsets, Rect boundLeft, Rect boundTop, in DisplayCutout()
555 private DisplayCutout(Rect safeInsets, Insets waterfallInsets, Rect[] bounds, in DisplayCutout()
561 private DisplayCutout(Rect safeInsets, Insets waterfallInsets, Bounds bounds, in DisplayCutout()
566 private DisplayCutout(Rect safeInsets, Insets waterfallInsets, Bounds bounds, in DisplayCutout()
606 public static Rect[] extractBoundsFromList(Rect safeInsets, List<Rect> boundingRects) { in extractBoundsFromList()
[all …]
DWindowInsets.java1601 final Insets safeInsets = Insets.of(mDisplayCutout.getSafeInsets()); in setDisplayCutout() local
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java86 Rect safeInsets = new Rect(10, 0, 0, 0); in testExtractBoundsFromList_left() local
94 Rect safeInsets = new Rect(0, 10, 0, 0); in testExtractBoundsFromList_top() local
102 Rect safeInsets = new Rect(0, 0, 10, 0); in testExtractBoundsFromList_right() local
110 Rect safeInsets = new Rect(0, 0, 0, 10); in testExtractBoundsFromList_bottom() local
118 Rect safeInsets = new Rect(0, 10, 0, 10); in testExtractBoundsFromList_top_and_bottom() local
128 Rect safeInsets = new Rect(0, 0, 0, 0); in testExtractBoundsFromList_nullBoundingRects() local
/frameworks/base/services/core/java/com/android/server/wm/utils/
DWmDisplayCutout.java54 final Rect safeInsets = DisplayCutout.computeSafeInsets(displayWidth, displayHeight, inner); in computeSafeInsets() local