/frameworks/base/core/java/android/view/ |
D | DisplayCutout.java | 451 @NonNull Insets waterfallInsets, @Nullable CutoutPathParserInfo info) { in DisplayCutout() argument 452 this(getCopyOrRef(safeInsets.toRect(), true), waterfallInsets, in DisplayCutout() 478 @NonNull Insets waterfallInsets, @Nullable CutoutPathParserInfo info, in DisplayCutout() argument 480 this(safeInsets.toRect(), waterfallInsets, in DisplayCutout() 505 @NonNull Insets waterfallInsets) { in DisplayCutout() argument 506 this(getCopyOrRef(safeInsets.toRect(), true), waterfallInsets, in DisplayCutout() 547 private DisplayCutout(Rect safeInsets, Insets waterfallInsets, Rect boundLeft, Rect boundTop, in DisplayCutout() argument 550 this(getCopyOrRef(safeInsets, copyArguments), waterfallInsets, in DisplayCutout() 555 private DisplayCutout(Rect safeInsets, Insets waterfallInsets, Rect[] bounds, in DisplayCutout() argument 557 this(getCopyOrRef(safeInsets, copyArguments), waterfallInsets, in DisplayCutout() [all …]
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | SystemBarUtils.java | 66 Insets waterfallInsets; in getStatusBarHeightForRotation() local 69 waterfallInsets = Insets.NONE; in getStatusBarHeightForRotation() 74 waterfallInsets = rotated.getWaterfallInsets(); in getStatusBarHeightForRotation() 80 return Math.max(insets.top, defaultSize + waterfallInsets.top); in getStatusBarHeightForRotation()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | DisplayCutoutTest.java | 364 Insets waterfallInsets = Insets.of(0, 20, 0, 20); in fromSpec_caches() local 365 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f, waterfallInsets, null); in fromSpec_caches() 367 fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f, waterfallInsets, null), in fromSpec_caches() 405 Insets waterfallInsets = Insets.of(0, 20, 0, 20); in fromSpec_wontCacheIfWaterfallInsetsChange() local 408 fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 2f, waterfallInsets, null), in fromSpec_wontCacheIfWaterfallInsetsChange() 680 private static DisplayCutout createCutoutWaterfallOnly(Insets waterfallInsets) { in createCutoutWaterfallOnly() argument 682 Insets.of(waterfallInsets.left, waterfallInsets.top, waterfallInsets.right, in createCutoutWaterfallOnly() 683 waterfallInsets.bottom), in createCutoutWaterfallOnly() 688 waterfallInsets); in createCutoutWaterfallOnly()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ui/ |
D | SystemBarUtilsProxy.kt | 45 val waterfallInsetTop = if (cutout == null) 0 else cutout.waterfallInsets.top in getStatusBarHeight()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/ |
D | ScreenshotShelfView.kt | 145 val waterfall = cutout.waterfallInsets in <lambda>()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 230 Insets waterfallInsets = Insets.NONE; in onApplyWindowInsets() local 247 waterfallInsets = insets.getDisplayCutout().getWaterfallInsets(); in onApplyWindowInsets() 251 mWaterfallInsets = waterfallInsets; in onApplyWindowInsets()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayPolicy.java | 2578 final Insets waterfallInsets = state.getDisplayCutout().getWaterfallInsets(); 2593 safe.left = Math.max(df.left + waterfallInsets.left, df.left); 2595 safe.top = Math.max(df.top + waterfallInsets.top, df.top); 2597 safe.right = Math.max(df.right - waterfallInsets.right, df.right); 2599 safe.bottom = Math.max(df.bottom - waterfallInsets.bottom, df.bottom);
|