/frameworks/base/core/java/android/window/ |
D | WindowMetricsHelper.java | 20 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/ |
D | ControllerActivity.java | 74 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/ |
D | InsetsControllerTest.java | 35 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 …]
|
D | PendingInsetsControllerTest.java | 19 import static android.view.WindowInsets.Type.navigationBars; 242 mPendingInsetsController.show(navigationBars()); in testDetachReattach() 247 verify(secondController).show(eq(navigationBars())); in testDetachReattach()
|
D | InsetsStateTest.java | 36 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/ |
D | SystemUiController.kt | 260 ?.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/ |
D | DialogThemedActivity.java | 21 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/ |
D | LaunchAppShowImeAndDialogThemeAppTest.kt | 20 import android.view.WindowInsets.Type.navigationBars 68 assertTrue(testApp.getInsetsVisibleFromDialog(navigationBars())) in buildFlicker()
|
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/helpers/ |
D | ImeAppAutoFocusHelper.kt | 20 import android.view.WindowInsets.Type.navigationBars 105 navigationBars() -> { in getInsetsVisibleFromDialog()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | FrontBufferedLayer.kt | 71 this.windowInsetsController?.hide(WindowInsets.Type.navigationBars()) in onAttachedToWindow()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | DialogLaunchAnimator.kt | 743 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/ |
D | DismissView.kt | 154 WindowInsets.Type.navigationBars()) in updatePadding()
|
D | BubblePositioner.java | 116 Insets insets = metricInsets.getInsetsIgnoringVisibility(WindowInsets.Type.navigationBars() in update()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayPolicy.java | 2055 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()
|
D | InsetsPolicy.java | 595 if (!fake && isShowingTransientTypes(Type.navigationBars())) { in getNavControlTarget()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/ |
D | MediaOutputBaseDialog.java | 19 import static android.view.WindowInsets.Type.navigationBars; 233 lp.setFitInsetsTypes(statusBars() | navigationBars()); in onCreate()
|
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 20 import static android.view.WindowInsets.Type.navigationBars; 111 .getInsetsIgnoringVisibility(navigationBars() | displayCutout()); in getSizeExcludingNavigationBarAndCutout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarKeyguardViewManager.java | 19 import static android.view.WindowInsets.Type.navigationBars; 1133 .show(navigationBars()); 1211 .hide(navigationBars()); in updateNavigationBarVisibility()
|
/frameworks/base/core/java/android/view/ |
D | InsetsSourceConsumer.java | 284 && publicType != WindowInsets.Type.navigationBars()) { in updateCompatSysUiVisibility()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | UdfpsDialogMeasureAdapter.java | 277 ? windowMetrics.getWindowInsets().getInsets(WindowInsets.Type.navigationBars()) in getNavbarInsets()
|
D | SideFpsController.kt | 432 getInsets(WindowInsets.Type.navigationBars()).bottom >= 70 in SensorLocationInternal()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowLayoutTests.java | 220 mAttrs.setFitInsetsTypes(WindowInsets.Type.navigationBars()); in fitNavigationBars()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
D | ClipboardOverlayView.java | 489 Insets navBarInsets = insets.getInsets(WindowInsets.Type.navigationBars()); in computeMargins()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarKeyguardViewManagerTest.java | 649 verify(mWindowInsetsController).hide(WindowInsets.Type.navigationBars()); in testHideTaskbar()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | SideFpsControllerTest.kt | 793 .setInsets(WindowInsets.Type.navigationBars(), Insets.of(0, 0, 0, bottom)) in insetsForSmallNavbar()
|