Home
last modified time | relevance | path

Searched refs:DISPLAY_CUTOUT_HEIGHT (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyInsetsTests.java63 verifyNonDecorInsets(di, 0, DISPLAY_CUTOUT_HEIGHT, 0, NAV_BAR_HEIGHT); in portrait_withCutout()
87 verifyStableInsets(di, DISPLAY_CUTOUT_HEIGHT, STATUS_BAR_HEIGHT, NAV_BAR_HEIGHT, 0); in landscape_withCutout()
88 verifyNonDecorInsets(di, DISPLAY_CUTOUT_HEIGHT, 0, NAV_BAR_HEIGHT, 0); in landscape_withCutout()
91 verifyStableInsets(di, DISPLAY_CUTOUT_HEIGHT, STATUS_BAR_HEIGHT, 0, NAV_BAR_HEIGHT); in landscape_withCutout()
92 verifyNonDecorInsets(di, DISPLAY_CUTOUT_HEIGHT, 0, 0, NAV_BAR_HEIGHT); in landscape_withCutout()
117 verifyStableInsets(di, NAV_BAR_HEIGHT, STATUS_BAR_HEIGHT, DISPLAY_CUTOUT_HEIGHT, 0); in seascape_withCutout()
118 verifyNonDecorInsets(di, NAV_BAR_HEIGHT, 0, DISPLAY_CUTOUT_HEIGHT, 0); in seascape_withCutout()
121 verifyStableInsets(di, 0, STATUS_BAR_HEIGHT, DISPLAY_CUTOUT_HEIGHT, NAV_BAR_HEIGHT); in seascape_withCutout()
122 verifyNonDecorInsets(di, 0, 0, DISPLAY_CUTOUT_HEIGHT, NAV_BAR_HEIGHT); in seascape_withCutout()
140 verifyStableInsets(di, 0, STATUS_BAR_HEIGHT, 0, NAV_BAR_HEIGHT + DISPLAY_CUTOUT_HEIGHT); in upsideDown_withCutout()
[all …]
DDisplayPolicyTestsBase.java48 static final int DISPLAY_CUTOUT_HEIGHT = 8; field in DisplayPolicyTestsBase
97 rectF.set(0, DISPLAY_HEIGHT / 4, DISPLAY_CUTOUT_HEIGHT, DISPLAY_HEIGHT * 3 / 4); in displayCutoutForRotation()
99 rectF.set(DISPLAY_WIDTH / 4, 0, DISPLAY_WIDTH * 3 / 4, DISPLAY_CUTOUT_HEIGHT); in displayCutoutForRotation()
/frameworks/base/core/tests/coretests/src/android/view/
DWindowLayoutTests.java61 private static final int DISPLAY_CUTOUT_HEIGHT = 8; field in WindowLayoutTests
63 new Rect(DISPLAY_WIDTH / 4, 0, DISPLAY_WIDTH * 3 / 4, DISPLAY_CUTOUT_HEIGHT);
111 Insets.of(WATERFALL_INSETS.left, DISPLAY_CUTOUT_HEIGHT, WATERFALL_INSETS.right, 0), in addDisplayCutout()
308 assertInsetBy(WATERFALL_INSETS.left, DISPLAY_CUTOUT_HEIGHT, WATERFALL_INSETS.right, 0, in fitDisplayCutout()
310 assertInsetBy(WATERFALL_INSETS.left, DISPLAY_CUTOUT_HEIGHT, WATERFALL_INSETS.right, 0, in fitDisplayCutout()
312 assertInsetBy(WATERFALL_INSETS.left, DISPLAY_CUTOUT_HEIGHT, WATERFALL_INSETS.right, 0, in fitDisplayCutout()
323 assertInsetBy(WATERFALL_INSETS.left, DISPLAY_CUTOUT_HEIGHT, WATERFALL_INSETS.right, 0, in layoutInDisplayCutoutModeDefault()
325 assertInsetBy(WATERFALL_INSETS.left, DISPLAY_CUTOUT_HEIGHT, WATERFALL_INSETS.right, 0, in layoutInDisplayCutoutModeDefault()
327 assertInsetBy(WATERFALL_INSETS.left, DISPLAY_CUTOUT_HEIGHT, WATERFALL_INSETS.right, 0, in layoutInDisplayCutoutModeDefault()
358 assertRect(0, 0, DISPLAY_WIDTH, height + DISPLAY_CUTOUT_HEIGHT, mFrames.frame); in layoutExtendedToDisplayCutout()
[all …]