Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/window/
DWindowMetricsHelper.java21 import static android.view.WindowInsets.Type.navigationBars;
51 insets = windowInsets.getInsetsIgnoringVisibility(navigationBars() | displayCutout()); in getBoundsExcludingNavigationBarAndCutout()
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsStateTest.java30 import static android.view.WindowInsets.Type.navigationBars;
105 assertEquals(Insets.of(0, 0, 0, 100), insets.getInsets(Type.navigationBars())); in testCalculateInsets_imeAndNav()
122 assertEquals(Insets.of(0, 0, 20, 0), insets.getInsets(Type.navigationBars())); in testCalculateInsets_navRightStatusTop()
219 assertEquals(Insets.of(0, 0, 20, 0), insets.getInsets(Type.navigationBars())); in testCalculateInsets_extraNavRightStatusTop()
235 assertEquals(Insets.of(0, 0, 20, 0), insets.getInsets(Type.navigationBars())); in testCalculateInsets_navigationRightClimateTop()
389 assertEquals(navigationBars(), in testCalculateUncontrollableInsets()
DPendingInsetsControllerTest.java19 import static android.view.WindowInsets.Type.navigationBars;
223 mPendingInsetsController.show(navigationBars()); in testDetachReattach()
228 verify(secondController).show(eq(navigationBars())); in testDetachReattach()
DInsetsControllerTest.java289 int types = Type.navigationBars() | Type.systemBars(); in testShowHideSelectively()
321 int types = Type.navigationBars() | Type.systemBars(); in testShowHideSingle()
337 mController.show(Type.navigationBars()); in testShowHideSingle()
344 mController.hide(Type.navigationBars()); in testShowHideSingle()
362 mController.hide(Type.navigationBars()); in testShowHideMultiple()
371 mController.show(Type.navigationBars()); in testShowHideMultiple()
380 int types = Type.navigationBars() | Type.systemBars(); in testShowHideMultiple()
383 mController.hide(Type.navigationBars()); in testShowHideMultiple()
410 int types = Type.navigationBars() | Type.systemBars(); in testShowMultipleHideOneByOne()
413 mController.hide(Type.navigationBars()); in testShowMultipleHideOneByOne()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManager.java21 import static android.view.WindowInsets.Type.navigationBars;
799 .show(navigationBars());
872 .hide(navigationBars()); in updateNavigationBarVisibility()
/frameworks/base/test-runner/src/android/test/
DTouchUtils.java20 import static android.view.WindowInsets.Type.navigationBars;
111 .getInsetsIgnoringVisibility(navigationBars() | displayCutout()); in getSizeExcludingNavigationBarAndCutout()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java22 import static android.view.WindowInsets.Type.navigationBars;
1206 mWindow.getWindow().getAttributes().setFitInsetsTypes(statusBars() | navigationBars()); in onCreate()
1215 navigationBars(), in onCreate()
1218 : insets.getInsetsIgnoringVisibility(navigationBars()) in onCreate()
/frameworks/base/core/java/android/view/
DWindowInsets.java1382 public static @InsetsType int navigationBars() { in navigationBars() method in WindowInsets.Type
DViewRootImpl.java2149 final boolean navWasHiddenByFlags = (mTypesHiddenByFlags & Type.navigationBars()) != 0; in controlInsetsForCompatibility()
2160 typesToHide |= Type.navigationBars(); in controlInsetsForCompatibility()
2162 typesToShow |= Type.navigationBars(); in controlInsetsForCompatibility()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyLayoutTests.java217 mWindow.mAttrs.setFitInsetsTypes(Type.navigationBars()); in layoutWindowLw_fitNavigationBars()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayPolicy.java1338 || (attrs.getFitInsetsTypes() & Type.navigationBars()) == 0) {
1474 target.showInsets(Type.navigationBars(), false /* fromIme */);
3223 controlTarget.showInsets(Type.navigationBars(), false);
/frameworks/base/config/
Dboot-image-profile.txt23938 HSPLandroid/view/WindowInsets$Type;->navigationBars()I
/frameworks/base/api/
Dcurrent.txt55503 method public static int navigationBars();