Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java75 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/
DDisplayCutout.java252 public DisplayCutout(@NonNull Insets safeInsets, @Nullable Rect boundLeft, in DisplayCutout()
271 public DisplayCutout(@Nullable Rect safeInsets, @Nullable List<Rect> boundingRects) { in DisplayCutout()
284 private DisplayCutout(Rect safeInsets, Rect boundLeft, Rect boundTop, Rect boundRight, in DisplayCutout()
290 private DisplayCutout(Rect safeInsets, Rect[] bounds, boolean copyArguments) { in DisplayCutout()
295 private DisplayCutout(Rect safeInsets, Bounds bounds) { in DisplayCutout()
317 public static Rect[] extractBoundsFromList(Rect safeInsets, List<Rect> boundingRects) { in extractBoundsFromList()
521 Rect safeInsets = new Rect(mSafeInsets); in inset() local
562 public DisplayCutout replaceSafeInsets(Rect safeInsets) { in replaceSafeInsets()
811 Rect safeInsets = in.readTypedObject(Rect.CREATOR); in readCutoutFromParcel() local
/frameworks/base/services/core/java/com/android/server/wm/utils/
DWmDisplayCutout.java51 final Rect safeInsets = computeSafeInsets(displaySize, inner); in computeSafeInsets() local