Home
last modified time | relevance | path

Searched refs:navigationBars (Results 1 – 23 of 23) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DWindowInsetsAnimationTests.java23 import static android.view.WindowInsets.Type.navigationBars;
113 hasWindowInsets(mRootView, navigationBars()) in testAnimationCallbacks_overlapping()
132 .runOnMainSync(() -> mRootView.getWindowInsetsController().hide(navigationBars())); in testAnimationCallbacks_overlapping()
147 NONE.equals(argument.getInsets(navigationBars())) in testAnimationCallbacks_overlapping()
159 navigationBars())))); in testAnimationCallbacks_overlapping()
181 before.getInsets(navigationBars()), in testAnimationCallbacks_overlapping()
182 callback.navAnimSteps.get(0).insets.getInsets(navigationBars())); in testAnimationCallbacks_overlapping()
184 after.getInsets(navigationBars()), in testAnimationCallbacks_overlapping()
188 .getInsets(navigationBars())); in testAnimationCallbacks_overlapping()
238 assumeTrue(hasWindowInsets(mRootView, navigationBars())); in testAnimationCallbacks_childInsetting()
[all …]
DWindowInsetsControllerTests.java28 import static android.view.WindowInsets.Type.navigationBars;
145 testHideInternal(rootView, navigationBars()); in testHide()
165 testShowInternal(rootView, navigationBars()); in testShow()
273 assumeTrue(rootView.getRootWindowInsets().isVisible(navigationBars())); in testImeForceShowingNavigationBar()
277 () -> rootView.getWindowInsetsController().hide(navigationBars())); in testImeForceShowingNavigationBar()
279 () -> !rootView.getRootWindowInsets().isVisible(navigationBars())); in testImeForceShowingNavigationBar()
286 final boolean navVisible = insets.isVisible(navigationBars()); in testImeForceShowingNavigationBar()
468 controlTarget.getRootWindowInsets().isVisible(navigationBars())); in testSystemUiVisibilityCallbackCausedByInsets()
486 testSysUiVisCallbackCausedByInsets(navigationBars(), SYSTEM_UI_FLAG_HIDE_NAVIGATION, in testSystemUiVisibilityCallbackCausedByInsets()
524 controlTarget.getRootWindowInsets().isVisible(navigationBars())); in testSystemUiVisibilityCallbackCausedByAppearance()
[all …]
DWindowInsetsTest.java23 import static android.view.WindowInsets.Type.navigationBars;
242 .setInsets(navigationBars(), Insets.of(0, 0, 0, 100)) in testBuilder_typeMap()
252 assertEquals(Insets.of(0, 0, 0, 100), insets.getInsets(navigationBars())); in testBuilder_typeMap()
269 .setInsetsIgnoringVisibility(navigationBars(), Insets.of(0, 0, 0, 100)) in testBuilder_typeMapIgnoringVisibility()
279 assertEquals(Insets.of(0, 0, 0, 100), insets.getInsetsIgnoringVisibility(navigationBars())); in testBuilder_typeMapIgnoringVisibility()
314 .setBoundingRects(navigationBars(), List.of(new Rect(0, 100, 10, 10))) in testBuilder_boundingRectsTypeMap()
329 insets.getBoundingRects(navigationBars())); in testBuilder_boundingRectsTypeMap()
368 navigationBars(), List.of(new Rect(0, 100, 10, 10))) in testBuilder_boundingRectsTypeMapIgnoringVisibility()
387 insets.getBoundingRectsIgnoringVisibility(navigationBars())); in testBuilder_boundingRectsTypeMapIgnoringVisibility()
437 assertEquals(Insets.of(0, 0, 30, 10), insets.getInsets(navigationBars())); in testBuilder_compatInsets()
[all …]
DForceRelayoutTestBase.java19 import static android.view.WindowInsets.Type.navigationBars;
59 statusBars() | navigationBars()))); in testRelayoutWhenInsetsChange()
DWindowInsetsPolicyTest.java203 assertFalse(insets.isVisible(WindowInsets.Type.navigationBars())); in testImmersiveFullscreenHidesSystemBars()
207 assertFalse(rootInsets.isVisible(WindowInsets.Type.navigationBars())); in testImmersiveFullscreenHidesSystemBars()
DWindowInsetsAnimationControllerTests.java25 import static android.view.WindowInsets.Type.navigationBars;
140 {navigationBars(), "navigationBars"} in types()
233 if (mType == navigationBars() || mType == statusBars()) { in assumeTestCompatibility()
DWindowInsetsLayoutTests.java74 testSetFitInsetsTypesInner(Type.navigationBars(), activity); in testSetFitInsetsTypes()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowMetricsTestHelper.java21 import static android.view.WindowInsets.Type.navigationBars;
75 final int insetsType = statusBars() | navigationBars() | displayCutout(); in assertMetricsMatchesLayout()
198 return navigationBars() | displayCutout(); in configExcludedInsetsTypes()
DWindowInsetsAnimationTestBase.java21 import static android.view.WindowInsets.Type.navigationBars;
253 if ((animation.getTypeMask() & navigationBars()) != 0) { in onPrepare()
DWindowManagerState.java1046 .filter(provider -> (provider.mSource.is(WindowInsets.Type.navigationBars()))) in getAllNavigationBarStates()
1058 .filter(provider -> (provider.mSource.is(WindowInsets.Type.navigationBars()))) in getNavBarWindowsOnDisplay()
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
DSimpleActivity.java52 insetsController.hide(WindowInsets.Type.navigationBars()); in onStart()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DImeInsetsControllerTest.java21 import static android.view.WindowInsets.Type.navigationBars;
216 .getInsetsIgnoringVisibility(navigationBars()).bottom;
DImeInsetsVisibilityTest.java128 | WindowInsets.Type.navigationBars())) { in testImeVisibilityWhenImeFocusableChildPopup() argument
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DWindowPolicyTests.java185 WindowInsets.Type.displayCutout() | WindowInsets.Type.navigationBars()); in testOptOutEdgeToEdgeAppBounds()
205 WindowInsets.Type.displayCutout() | WindowInsets.Type.navigationBars()); in testOptOutEdgeToEdgeDisplayMetrics()
DSnapshotTaskTests.java178 WindowInsets.Type.navigationBars() | WindowInsets.Type.statusBars()); in onCreate()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DGestureNavSwitchHelper.java129 WindowInsets.Type.navigationBars()); in getCurrentInsetsSize()
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DCapturedActivity.java117 WindowInsets.Type.navigationBars() | WindowInsets.Type.statusBars()); in onCreate()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowUntrustedTouchTest.java27 import static android.view.WindowInsets.Type.navigationBars;
185 mContainer.getWindowInsetsController().hide(statusBars() | navigationBars()); in setUp()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DFullScreenMagnificationGestureHandlerTest.java224 WindowInsets.Type.navigationBars()); in setUp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DBubblesVerifierActivity.java946 WindowInsets.Type.navigationBars() in performTestAction()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DActivityTransitionTests.java970 .hide(WindowInsets.Type.statusBars() | WindowInsets.Type.navigationBars()); in onCreate()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java4039 WindowInsets.Type.navigationBars() | WindowInsets.Type.displayCutout()); in testGetWindowVisibleDisplayFrame()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt54378 method public static int navigationBars();