Home
last modified time | relevance | path

Searched refs:statusBarId (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInsetsPolicyTest.java258 final int statusBarId = statusBarProvider.getSource().getId(); in testShowTransientBars_bothCanBeTransient_appGetsBothFakeControls() local
274 .isSourceOrDefaultVisible(statusBarId, statusBars())); in testShowTransientBars_bothCanBeTransient_appGetsBothFakeControls()
290 .isSourceOrDefaultVisible(statusBarId, statusBars())); in testShowTransientBars_bothCanBeTransient_appGetsBothFakeControls()
403 final int statusBarId = statusBarSource.getId(); in testFakeControlTarget_overrideVisibilityReceivedByWindows() local
408 assertTrue(app1.getInsetsState().peekSource(statusBarId).isVisible()); in testFakeControlTarget_overrideVisibilityReceivedByWindows()
412 assertTrue(app2.getInsetsState().peekSource(statusBarId).isVisible()); in testFakeControlTarget_overrideVisibilityReceivedByWindows()
425 assertFalse(app1.getInsetsState().peekSource(statusBarId).isVisible()); in testFakeControlTarget_overrideVisibilityReceivedByWindows()
426 assertFalse(app2.getInsetsState().peekSource(statusBarId).isVisible()); in testFakeControlTarget_overrideVisibilityReceivedByWindows()
437 assertFalse(app1.getInsetsState().peekSource(statusBarId).isVisible()); in testFakeControlTarget_overrideVisibilityReceivedByWindows()
438 assertFalse(app2.getInsetsState().peekSource(statusBarId).isVisible()); in testFakeControlTarget_overrideVisibilityReceivedByWindows()
DDisplayPolicyLayoutTests.java218 final int statusBarId = mStatusBarWindow.getControllableInsetProvider().getSource().getId(); in testFixedRotationInsetsSourceFrame() local
219 final Rect frame = mWindow.getInsetsState().peekSource(statusBarId).getFrame(); in testFixedRotationInsetsSourceFrame()
221 final Rect rotatedFrame = mWindow.getInsetsState().peekSource(statusBarId).getFrame(); in testFixedRotationInsetsSourceFrame()
DDisplayContentTests.java1620 final int statusBarId = mStatusBarWindow.getControllableInsetProvider().getSource().getId(); in testApplyTopFixedRotationTransform() local
1623 assertEquals(state.isSourceOrDefaultVisible(statusBarId, statusBars()), in testApplyTopFixedRotationTransform()
1624 rotatedState.isSourceOrDefaultVisible(statusBarId, statusBars())); in testApplyTopFixedRotationTransform()
1625 state.setSourceVisible(statusBarId, in testApplyTopFixedRotationTransform()
1626 !rotatedState.isSourceOrDefaultVisible(statusBarId, statusBars())); in testApplyTopFixedRotationTransform()
1628 assertEquals(state.isSourceOrDefaultVisible(statusBarId, statusBars()), in testApplyTopFixedRotationTransform()
1629 rotatedState.isSourceOrDefaultVisible(statusBarId, statusBars())); in testApplyTopFixedRotationTransform()
DWindowStateTests.java467 final int statusBarId = InsetsSource.createId(null, 0, statusBars()); in testVisibleWithInsetsProvider() local
469 .getOrCreateSourceProvider(statusBarId, statusBars()) in testVisibleWithInsetsProvider()
476 .getOrCreateSourceProvider(statusBarId, statusBars()) in testVisibleWithInsetsProvider()