/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | WmDisplayCutoutTest.java | 59 assertEquals(new Rect(0, 20, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_cutoutTop() 67 assertEquals(new Rect(20, 0, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_cutoutLeft() 75 assertEquals(new Rect(0, 0, 0, 20), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_cutoutBottom() 83 assertEquals(new Rect(0, 0, 20, 0), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_cutoutRight() 91 assertEquals(new Rect(0, 20, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_topLeftCornerCutout_portrait() 99 assertEquals(new Rect(0, 20, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_topRightCornerCutout_portrait() 107 assertEquals(new Rect(0, 0, 0, 20), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_bottomLeftCornerCutout_portrait() 115 assertEquals(new Rect(0, 0, 0, 20), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_bottomRightCornerCutout_portrait() 123 assertEquals(new Rect(20, 0, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_topLeftCornerCutout_landscape() 131 assertEquals(new Rect(0, 0, 20, 0), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_topRightCornerCutout_landscape() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | WmDisplayCutout.java | 68 public DisplayCutout getDisplayCutout() { in getDisplayCutout() method in WmDisplayCutout
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/window/ |
D | StatusBarWindowView.java | 58 DisplayCutout displayCutout = getRootWindowInsets().getDisplayCutout(); in onApplyWindowInsets()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarTouchableRegionManager.java | 215 && (mNotificationShadeWindowView.getRootWindowInsets().getDisplayCutout() != null); in updateTouchableRegion() 262 DisplayCutout cutout = windowInsets.getDisplayCutout(); in updateRegionForNotch()
|
D | PhoneStatusBarView.java | 167 if (!Objects.equals(getRootWindowInsets().getDisplayCutout(), mDisplayCutout)) { in updateDisplayParameters() 169 mDisplayCutout = getRootWindowInsets().getDisplayCutout(); in updateDisplayParameters()
|
D | KeyguardStatusBarView.java | 296 getRootWindowInsets().getDisplayCutout(), in updateLayoutConsideringCutout()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayFrames.java | 87 && mInsetsState.getDisplayCutout().equals(displayCutout) in update()
|
D | ImmersiveModeConfirmation.java | 405 final Rect topDisplayCutout = insets.getDisplayCutout() != null in onApplyWindowInsets() 406 ? insets.getDisplayCutout().getBoundingRectTop() in onApplyWindowInsets()
|
D | DisplayPolicy.java | 2578 final Insets waterfallInsets = state.getDisplayCutout().getWaterfallInsets();
|
/frameworks/base/services/core/java/com/android/server/input/debug/ |
D | FocusEventDebugView.java | 131 if (insets.getDisplayCutout() != null) { in onApplyWindowInsets() 133 Math.max(paddingBottom, insets.getDisplayCutout().getSafeInsetBottom()); in onApplyWindowInsets()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ImmersiveModeConfirmation.java | 482 final Rect topDisplayCutout = insets.getDisplayCutout() != null in onApplyWindowInsets() 483 ? insets.getDisplayCutout().getBoundingRectTop() in onApplyWindowInsets()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/ |
D | PhysicsAnimationLayoutTestCase.java | 92 when(mWindowInsets.getDisplayCutout()).thenReturn(mCutout); in setUp()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 244 if (insets.getDisplayCutout() != null) { in onApplyWindowInsets() 246 Math.max(headerPaddingTop, insets.getDisplayCutout().getSafeInsetTop()); in onApplyWindowInsets() 247 waterfallInsets = insets.getDisplayCutout().getWaterfallInsets(); in onApplyWindowInsets()
|
/frameworks/base/core/java/android/view/ |
D | WindowLayout.java | 104 final DisplayCutout cutout = state.getDisplayCutout(); in computeFrames()
|
D | InsetsState.java | 478 public DisplayCutout getDisplayCutout() { in getDisplayCutout() method in InsetsState
|
D | WindowInsets.java | 612 public DisplayCutout getDisplayCutout() { in getDisplayCutout() method in WindowInsets
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayLayout.java | 334 public DisplayCutout getDisplayCutout() { in getDisplayCutout() method in DisplayLayout
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 1349 final DisplayCutout rawCutout = mInsetsState.getDisplayCutout(); in updateSurface() 1384 final DisplayCutout displayCutout = windowInsets.getDisplayCutout() != null in updateSurface() 1385 ? windowInsets.getDisplayCutout() : rawCutout; in updateSurface()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
D | ClipboardOverlayView.java | 589 DisplayCutout cutout = insets.getDisplayCutout(); in computeMargins()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipTouchHandler.java | 1000 mPipBoundsState.getDisplayLayout().getDisplayCutout();
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/ |
D | PipTouchHandler.java | 1010 mPipBoundsState.getDisplayLayout().getDisplayCutout();
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | InsetsStateTest.java | 636 new SparseIntArray()).getDisplayCutout(); in testCalculateRelativeCutout()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayContentTests.java | 815 .computeSafeInsets(200, 400).getDisplayCutout(); in testDisplayCutout_rot0() 856 .computeSafeInsets(displayWidth, displayHeight).getDisplayCutout(); in testDisplayCutout_rot90() 877 .computeSafeInsets(displayHeight, displayWidth).getDisplayCutout(), in testDisplayCutout_rot90()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotView.java | 454 DisplayCutout cutout = insets.getDisplayCutout(); in updateInsets()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 1955 final DisplayCutout cutout = insets.getDisplayCutout();
|