Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyInsetsTests.java53 verifyStableInsets(di, 0, STATUS_BAR_HEIGHT, 0, NAV_BAR_HEIGHT); in portrait()
54 verifyNonDecorInsets(di, 0, 0, 0, NAV_BAR_HEIGHT); in portrait()
62 verifyStableInsets(di, 0, STATUS_BAR_HEIGHT, 0, NAV_BAR_HEIGHT); in portrait_withCutout()
63 verifyNonDecorInsets(di, 0, DISPLAY_CUTOUT_HEIGHT, 0, NAV_BAR_HEIGHT); in portrait_withCutout()
72 verifyStableInsets(di, 0, STATUS_BAR_HEIGHT, NAV_BAR_HEIGHT, 0); in landscape()
73 verifyNonDecorInsets(di, 0, 0, NAV_BAR_HEIGHT, 0); in landscape()
76 verifyStableInsets(di, 0, STATUS_BAR_HEIGHT, 0, NAV_BAR_HEIGHT); in landscape()
77 verifyNonDecorInsets(di, 0, 0, 0, NAV_BAR_HEIGHT); in landscape()
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()
[all …]
DDisplayPolicyTests.java426 assertEquals(NAV_BAR_HEIGHT, displayPolicy.getDecorInsetsInfo(di.rotation, in testUpdateDisplayConfigurationByDecor()
452 .setInsetsSize(Insets.of(0, 0, 0, NAV_BAR_HEIGHT)) in testUpdateDisplayConfigurationByDecor()
456 final int doubleHeightFor90 = NAV_BAR_HEIGHT * 2; in testUpdateDisplayConfigurationByDecor()
478 Insets.of(0, 0, 0, NAV_BAR_HEIGHT)); in testUpdateDisplayConfigurationByDecor()
480 assertEquals(NAV_BAR_HEIGHT, displayPolicy.getDecorInsetsInfo(Surface.ROTATION_90, in testUpdateDisplayConfigurationByDecor()
DWindowTestsBase.java172 static final int NAV_BAR_HEIGHT = 15; field in WindowTestsBase
391 mNavBarWindow.mAttrs.height = NAV_BAR_HEIGHT; in addCommonWindows()
442 height = NAV_BAR_HEIGHT; in getNavBarLayoutParamsForRotation()
446 width = NAV_BAR_HEIGHT; in getNavBarLayoutParamsForRotation()
450 width = NAV_BAR_HEIGHT; in getNavBarLayoutParamsForRotation()
514 .setInsetsSize(Insets.of(0, 0, 0, NAV_BAR_HEIGHT)) in createNavBarWithProvidedInsets()