Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/window/
DWindowMetricsHelper.java20 import static android.view.WindowInsets.Type.navigationBars;
46 result.inset(windowInsets.getInsetsIgnoringVisibility(navigationBars() | displayCutout())); in getBoundsExcludingNavigationBarAndCutout()
/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/
DControllerActivity.java74 mToggleNavigation.setOnCheckedChangeListener(new ToggleListener(Type.navigationBars())); in onCreate()
76 mSeekNavigation.setOnSeekBarChangeListener(new SeekBarListener(Type.navigationBars())); in onCreate()
99 if ((types & Type.navigationBars()) != 0) { in insetsTypesToString()
100 types &= ~Type.navigationBars(); in insetsTypesToString()
137 updateWidgets(insets, Type.navigationBars(), mToggleNavigation, mSeekNavigation); in onApplyWindowInsets()
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsControllerTest.java35 import static android.view.WindowInsets.Type.navigationBars;
307 int types = Type.navigationBars() | Type.systemBars(); in testShowHideSelectively()
339 int types = Type.navigationBars() | Type.systemBars(); in testShowHideSingle()
355 mController.show(Type.navigationBars()); in testShowHideSingle()
362 mController.hide(Type.navigationBars()); in testShowHideSingle()
380 mController.hide(Type.navigationBars()); in testShowHideMultiple()
389 mController.show(Type.navigationBars()); in testShowHideMultiple()
398 int types = Type.navigationBars() | Type.systemBars(); in testShowHideMultiple()
401 mController.hide(Type.navigationBars()); in testShowHideMultiple()
428 int types = Type.navigationBars() | Type.systemBars(); in testShowMultipleHideOneByOne()
[all …]
DPendingInsetsControllerTest.java19 import static android.view.WindowInsets.Type.navigationBars;
242 mPendingInsetsController.show(navigationBars()); in testDetachReattach()
247 verify(secondController).show(eq(navigationBars())); in testDetachReattach()
DInsetsStateTest.java36 import static android.view.WindowInsets.Type.navigationBars;
113 assertEquals(Insets.of(0, 0, 0, 100), insets.getInsets(navigationBars())); in testCalculateInsets_imeAndNav()
127 assertEquals(Insets.of(0, 0, 20, 0), insets.getInsets(navigationBars())); in testCalculateInsets_navRightStatusTop()
142 assertEquals(Insets.of(0, 0, 20, 0), insets.getInsets(Type.navigationBars())); in testCalculateInsets_extraNavRightClimateTop()
246 assertEquals(Insets.of(0, 0, 20, 0), insets.getInsets(navigationBars())); in testCalculateInsets_extraNavRightStatusTop()
259 assertEquals(Insets.of(0, 0, 20, 0), insets.getInsets(navigationBars())); in testCalculateInsets_navigationRightClimateTop()
470 assertEquals(navigationBars(), in testCalculateUncontrollableInsets()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/
DSystemUiController.kt260 ?.isVisible(WindowInsetsCompat.Type.navigationBars()) == true
264 windowInsetsController?.show(WindowInsetsCompat.Type.navigationBars())
266 windowInsetsController?.hide(WindowInsetsCompat.Type.navigationBars())
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DDialogThemedActivity.java21 import static android.view.WindowInsets.Type.navigationBars;
65 + "NavBar: " + isInsetsVisible(dialog, navigationBars()) + "\n") in onCreate()
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/ime/
DLaunchAppShowImeAndDialogThemeAppTest.kt20 import android.view.WindowInsets.Type.navigationBars
68 assertTrue(testApp.getInsetsVisibleFromDialog(navigationBars())) in buildFlicker()
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/helpers/
DImeAppAutoFocusHelper.kt20 import android.view.WindowInsets.Type.navigationBars
105 navigationBars() -> { in getInsetsVisibleFromDialog()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DFrontBufferedLayer.kt71 this.windowInsetsController?.hide(WindowInsets.Type.navigationBars()) in onAttachedToWindow()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DDialogLaunchAnimator.kt743 attributes.fitInsetsTypes and WindowInsets.Type.navigationBars() != 0 in start()
745 attributes.fitInsetsTypes and WindowInsets.Type.navigationBars().inv() in start()
756 WindowInsets.Type.displayCutout() or WindowInsets.Type.navigationBars() in start()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DDismissView.kt154 WindowInsets.Type.navigationBars()) in updatePadding()
DBubblePositioner.java116 Insets insets = metricInsets.getInsetsIgnoringVisibility(WindowInsets.Type.navigationBars() in update()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayPolicy.java2055 static final int DECOR_TYPES = Type.displayCutout() | Type.navigationBars();
2061 static final int CONFIG_TYPES = Type.statusBars() | Type.navigationBars();
2185 ? Type.navigationBars() : 0) in requestTransientBars()
2190 ? Type.navigationBars() : 0) in requestTransientBars()
2196 && (restorePositionTypes & Type.navigationBars()) != 0) { in requestTransientBars()
2200 controlTarget.showInsets(Type.navigationBars(), false); in requestTransientBars()
2211 controlTarget.showInsets(Type.statusBars() | Type.navigationBars(), false); in requestTransientBars()
2394 if (navColorWin == null || !isLightBarAllowed(navColorWin, Type.navigationBars())) { in updateLightNavigationBarLw()
2908 win.getInsetsState(), Type.navigationBars()); in isOverlappingWithNavBar()
DInsetsPolicy.java595 if (!fake && isShowingTransientTypes(Type.navigationBars())) { in getNavControlTarget()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputBaseDialog.java19 import static android.view.WindowInsets.Type.navigationBars;
233 lp.setFitInsetsTypes(statusBars() | navigationBars()); in onCreate()
/frameworks/base/test-runner/src/android/test/
DTouchUtils.java20 import static android.view.WindowInsets.Type.navigationBars;
111 .getInsetsIgnoringVisibility(navigationBars() | displayCutout()); in getSizeExcludingNavigationBarAndCutout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManager.java19 import static android.view.WindowInsets.Type.navigationBars;
1133 .show(navigationBars());
1211 .hide(navigationBars()); in updateNavigationBarVisibility()
/frameworks/base/core/java/android/view/
DInsetsSourceConsumer.java284 && publicType != WindowInsets.Type.navigationBars()) { in updateCompatSysUiVisibility()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsDialogMeasureAdapter.java277 ? windowMetrics.getWindowInsets().getInsets(WindowInsets.Type.navigationBars()) in getNavbarInsets()
DSideFpsController.kt432 getInsets(WindowInsets.Type.navigationBars()).bottom >= 70 in SensorLocationInternal()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowLayoutTests.java220 mAttrs.setFitInsetsTypes(WindowInsets.Type.navigationBars()); in fitNavigationBars()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayView.java489 Insets navBarInsets = insets.getInsets(WindowInsets.Type.navigationBars()); in computeMargins()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManagerTest.java649 verify(mWindowInsetsController).hide(WindowInsets.Type.navigationBars()); in testHideTaskbar()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DSideFpsControllerTest.kt793 .setInsets(WindowInsets.Type.navigationBars(), Insets.of(0, 0, 0, bottom)) in insetsForSmallNavbar()

12