Searched refs:waterfallInsets (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/view/ |
D | DisplayCutout.java | 271 @NonNull Insets waterfallInsets) { in DisplayCutout() argument 272 this(safeInsets.toRect(), waterfallInsets, boundLeft, boundTop, boundRight, boundBottom, in DisplayCutout() 303 private DisplayCutout(Rect safeInsets, Insets waterfallInsets, Rect boundLeft, in DisplayCutout() argument 306 mWaterfallInsets = waterfallInsets == null ? Insets.NONE : waterfallInsets; in DisplayCutout() 310 private DisplayCutout(Rect safeInsets, Insets waterfallInsets, Rect[] bounds, in DisplayCutout() argument 313 mWaterfallInsets = waterfallInsets == null ? Insets.NONE : waterfallInsets; in DisplayCutout() 317 private DisplayCutout(Rect safeInsets, Insets waterfallInsets, Bounds bounds) { in DisplayCutout() argument 319 mWaterfallInsets = waterfallInsets == null ? Insets.NONE : waterfallInsets; in DisplayCutout() 593 Rect waterfallInsets = insetInsets(insetLeft, insetTop, insetRight, insetBottom, in inset() local 603 return new DisplayCutout(safeInsets, Insets.of(waterfallInsets), bounds, in inset() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | DisplayCutoutTest.java | 300 Insets waterfallInsets = Insets.of(0, 20, 0, 20); in fromSpec_caches() local 301 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f, waterfallInsets); in fromSpec_caches() 303 fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f, waterfallInsets), in fromSpec_caches() 341 Insets waterfallInsets = Insets.of(0, 20, 0, 20); in fromSpec_wontCacheIfWaterfallInsetsChange() local 344 fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 2f, waterfallInsets), in fromSpec_wontCacheIfWaterfallInsetsChange() 468 private static DisplayCutout createCutoutWaterfallOnly(Insets waterfallInsets) { in createCutoutWaterfallOnly() argument 470 Insets.of(waterfallInsets.left, waterfallInsets.top, waterfallInsets.right, in createCutoutWaterfallOnly() 471 waterfallInsets.bottom), in createCutoutWaterfallOnly() 476 waterfallInsets); in createCutoutWaterfallOnly()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wm/ |
D | DisplayLayout.java | 359 final Insets waterfallInsets = in calculateDisplayCutoutForRotation() local 376 DisplayCutout.fromBoundsAndWaterfall(newBounds, waterfallInsets), in calculateDisplayCutoutForRotation()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayContent.java | 1841 final Insets waterfallInsets = in calculateDisplayCutoutForRotationUncached() local 1852 DisplayCutout.fromBoundsAndWaterfall(newBounds, waterfallInsets), in calculateDisplayCutoutForRotationUncached()
|