Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DDisplayCutout.java402 public DisplayCutout(@NonNull Insets safeInsets, @Nullable Rect boundLeft, in DisplayCutout()
428 public DisplayCutout(@NonNull Insets safeInsets, @Nullable Rect boundLeft, in DisplayCutout()
453 public DisplayCutout(@NonNull Insets safeInsets, @Nullable Rect boundLeft, in DisplayCutout()
474 public DisplayCutout(@Nullable Rect safeInsets, @Nullable List<Rect> boundingRects) { in DisplayCutout()
497 private DisplayCutout(Rect safeInsets, Insets waterfallInsets, Rect boundLeft, Rect boundTop, in DisplayCutout()
506 private DisplayCutout(Rect safeInsets, Insets waterfallInsets, Rect[] bounds, in DisplayCutout()
514 private DisplayCutout(Rect safeInsets, Insets waterfallInsets, Bounds bounds, in DisplayCutout()
553 public static Rect[] extractBoundsFromList(Rect safeInsets, List<Rect> boundingRects) { in extractBoundsFromList()
849 Rect safeInsets = insetInsets(insetLeft, insetTop, insetRight, insetBottom, in inset() local
899 public DisplayCutout replaceSafeInsets(Rect safeInsets) { in replaceSafeInsets()
[all …]
DWindowInsets.java1328 final Insets safeInsets = Insets.of(mDisplayCutout.getSafeInsets()); in setDisplayCutout() local
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java84 Rect safeInsets = new Rect(10, 0, 0, 0); in testExtractBoundsFromList_left() local
92 Rect safeInsets = new Rect(0, 10, 0, 0); in testExtractBoundsFromList_top() local
100 Rect safeInsets = new Rect(0, 0, 10, 0); in testExtractBoundsFromList_right() local
108 Rect safeInsets = new Rect(0, 0, 0, 10); in testExtractBoundsFromList_bottom() local
116 Rect safeInsets = new Rect(0, 10, 0, 10); in testExtractBoundsFromList_top_and_bottom() local
126 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
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayLayout.java449 final Rect safeInsets = computeSafeInsets(displaySize, inner); in computeSafeInsets() local