Home
last modified time | relevance | path

Searched refs:cutoutHeight (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
DDisplayLayoutTest.java149 private DisplayInfo createDisplayInfo(int width, int height, int cutoutHeight, int rotation) { in createDisplayInfo() argument
154 if (cutoutHeight > 0) { in createDisplayInfo()
156 Insets.of(0, cutoutHeight, 0, 0) /* safeInsets */, null /* boundLeft */, in createDisplayInfo()
157 new Rect(width / 2 - cutoutHeight, 0, width / 2 + cutoutHeight, in createDisplayInfo()
158 cutoutHeight) /* boundTop */, null /* boundRight */, in createDisplayInfo()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/shade/ui/composable/
DShadeHeader.kt136 val cutoutHeight = LocalDisplayCutout.current.height() in CollapsedShadeHeader() constant
238 val height = max(cutoutHeight + (cutoutTop * 2), CollapsedHeight).roundToPx() in CollapsedShadeHeader()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSizeCompatTests.java347 final int cutoutHeight = 150; in testRepositionLandscapeImmersiveAppWithDisplayCutout() local
350 .setNotch(cutoutHeight) in testRepositionLandscapeImmersiveAppWithDisplayCutout()
380 assertTrue(bounds.top > cutoutHeight && bounds.bottom < dh); in testRepositionLandscapeImmersiveAppWithDisplayCutout()
390 assertEquals(cutoutHeight, innerBoundsOf.apply(activity).top); in testRepositionLandscapeImmersiveAppWithDisplayCutout()
DDisplayContentTests.java842 final int cutoutHeight = 10; in testDisplayCutout_rot90() local
846 final int bottom = cutoutHeight; in testDisplayCutout_rot90()