Home
last modified time | relevance | path

Searched refs:statusBars (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DInsetsStateTest.java31 import static android.view.WindowInsets.Type.statusBars;
86 assertEquals(Insets.of(0, 100, 0, 0), insets.getInsets(Type.statusBars())); in testCalculateInsets()
121 assertEquals(Insets.of(0, 100, 0, 0), insets.getInsets(Type.statusBars())); in testCalculateInsets_navRightStatusTop()
218 assertEquals(Insets.of(0, 100, 0, 0), insets.getInsets(Type.statusBars())); in testCalculateInsets_extraNavRightStatusTop()
234 assertEquals(Insets.of(0, 100, 0, 0), insets.getInsets(Type.statusBars())); in testCalculateInsets_navigationRightClimateTop()
387 assertEquals(statusBars() | ime(), in testCalculateUncontrollableInsets()
DInsetsControllerTest.java30 import static android.view.WindowInsets.Type.statusBars;
179 ((controller, typeMask) -> assertEquals(statusBars(), typeMask))); in testControlsChanged()
192 inOrder.verify(listener).onControllableInsetsChanged(eq(mController), eq(statusBars())); in testControlsRevoked()
206 mController.controlWindowInsetsAnimation(statusBars(), 10 /* durationMs */, in testControlsRevoked_duringAnim()
433 mController.hide(Type.statusBars()); in testRestoreStartsAnimation()
506 mController.controlWindowInsetsAnimation(statusBars(), 0 /* durationMs */, in testAnimationEndState_controller()
534 statusBars(), 0 /* durationMs */, in testCancellation_afterGainingControl()
697 mController.hide(statusBars()); in testRequestedState()
711 mController.show(statusBars()); in testRequestedState()
721 mController.hide(statusBars()); in testRequestedState()
DViewRootImplTest.java76 assertEquals(0, attrs.getFitInsetsTypes() & Type.statusBars()); in adjustLayoutParamsForCompatibility_layoutFullscreen()
86 assertEquals(0, attrs.getFitInsetsTypes() & Type.statusBars()); in adjustLayoutParamsForCompatibility_layoutInScreen()
DInsetsSourceConsumerTest.java23 import static android.view.WindowInsets.Type.statusBars;
182 assertEquals(statusBars(), hideTypes[0]); in testRestore()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java110 window.getAttributes().getFitInsetsTypes() & ~Type.statusBars()); in setWindowOnTop()
120 window.getAttributes().getFitInsetsTypes() & ~Type.statusBars()); in applyFlags()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogController.kt37 import android.view.WindowInsets.Type.statusBars in <lambda>()
335 fitInsetsTypes = attributes.fitInsetsTypes and statusBars().inv() in <lambda>()
DPriorityOnboardingDialogController.kt38 import android.view.WindowInsets.Type.statusBars in <lambda>()
258 fitInsetsTypes = attributes.fitInsetsTypes and statusBars().inv() in <lambda>()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyLayoutTests.java201 mWindow.mAttrs.setFitInsetsTypes(Type.statusBars()); in layoutWindowLw_fitStatusBars()
410 mWindow.mAttrs.getFitInsetsTypes() & ~Type.statusBars()); in layoutWindowLw_withDisplayCutout_layoutFullscreen()
521 mWindow.mAttrs.getFitInsetsTypes() & ~Type.statusBars()); in layoutWindowLw_withDisplayCutout_fullscreen_landscape()
539 mWindow.mAttrs.setFitInsetsTypes(Type.systemBars() & ~Type.statusBars()); in layoutWindowLw_withDisplayCutout_floatingInScreen()
562 mWindow.mAttrs.getFitInsetsTypes() & ~Type.statusBars()); in layoutWindowLw_withDisplayCutout_fullscreenInCutout_landscape()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/userswitcher/
DUserGridRecyclerView.java23 import static android.view.WindowInsets.Type.statusBars;
375 window.getAttributes().getFitInsetsTypes() & ~statusBars()); in applyCarSysUIDialogFlags()
/frameworks/base/services/core/java/com/android/server/wm/
DImmersiveModeConfirmation.java193 lp.setFitInsetsTypes(lp.getFitInsetsTypes() & ~Type.statusBars()); in getClingWindowLayoutParams()
/frameworks/base/core/java/android/view/
DWindowInsets.java1375 public static @InsetsType int statusBars() { in statusBars() method in WindowInsets.Type
DViewRootImpl.java2118 types &= ~Type.statusBars(); in adjustLayoutParamsForCompatibility()
2146 final boolean statusWasHiddenByFlags = (mTypesHiddenByFlags & Type.statusBars()) != 0; in controlInsetsForCompatibility()
2155 typesToHide |= Type.statusBars(); in controlInsetsForCompatibility()
2157 typesToShow |= Type.statusBars(); in controlInsetsForCompatibility()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java23 import static android.view.WindowInsets.Type.statusBars;
1206 mWindow.getWindow().getAttributes().setFitInsetsTypes(statusBars() | navigationBars()); in onCreate()
/frameworks/base/config/
Dboot-image-profile.txt23939 HSPLandroid/view/WindowInsets$Type;->statusBars()I
/frameworks/base/api/
Dcurrent.txt55504 method public static int statusBars();