/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | InsetsSourceProviderTest.java | 56 final WindowState topBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testPostLayout() local 57 topBar.getFrameLw().set(0, 0, 500, 100); in testPostLayout() 58 topBar.mHasSurface = true; in testPostLayout() 59 mProvider.setWindow(topBar, null); in testPostLayout() 69 final WindowState topBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testPostLayout_invisible() local 70 topBar.getFrameLw().set(0, 0, 500, 100); in testPostLayout_invisible() 71 mProvider.setWindow(topBar, null); in testPostLayout_invisible() 79 final WindowState topBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testPostLayout_frameProvider() local 80 topBar.getFrameLw().set(0, 0, 500, 100); in testPostLayout_frameProvider() 81 mProvider.setWindow(topBar, in testPostLayout_frameProvider() [all …]
|
D | InsetsStateControllerTest.java | 63 final WindowState topBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testStripForDispatch_notOwn() local 65 getController().getSourceProvider(TYPE_TOP_BAR).setWindow(topBar, null); in testStripForDispatch_notOwn() 66 topBar.setInsetProvider(getController().getSourceProvider(TYPE_TOP_BAR)); in testStripForDispatch_notOwn() 73 final WindowState topBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testStripForDispatch_own() local 75 .setWindow(topBar, null); in testStripForDispatch_own() 76 topBar.setInsetProvider(getController().getSourceProvider(TYPE_TOP_BAR)); in testStripForDispatch_own() 77 assertEquals(new InsetsState(), getController().getInsetsForDispatch(topBar)); in testStripForDispatch_own() 84 final WindowState topBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testStripForDispatch_navBar() local 86 getController().getSourceProvider(TYPE_TOP_BAR).setWindow(topBar, null); in testStripForDispatch_navBar() 96 final WindowState topBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testBarControllingWinChanged() local [all …]
|
D | RootWindowContainerTests.java | 84 final WindowState topBar = createWindow(null, TYPE_STATUS_BAR, "topBar", FAKE_CALLING_UID); in testIsAnyNonToastWindowVisibleForUid_aFewNonToastButNoneVisible() local 87 assertFalse(topBar.isVisibleNow()); in testIsAnyNonToastWindowVisibleForUid_aFewNonToastButNoneVisible()
|
D | WindowStateTests.java | 367 final WindowState topBar = createWindow(null, TYPE_STATUS_BAR, "topBar"); in testVisibleWithInsetsProvider() local 369 topBar.mHasSurface = true; in testVisibleWithInsetsProvider() 370 assertTrue(topBar.isVisible()); in testVisibleWithInsetsProvider() 372 .setWindow(topBar, null); in testVisibleWithInsetsProvider() 377 assertFalse(topBar.isVisible()); in testVisibleWithInsetsProvider()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | InsetsControllerTest.java | 22 import static android.view.WindowInsets.Type.topBar; 123 mController.controlWindowInsetsAnimation(topBar(), mockListener); in testControlsRevoked_duringAnim() 144 InsetsSourceControl topBar = controls[1]; in testAnimationEndState() local 154 assertTrue(mController.getSourceConsumer(topBar.getType()).isVisible()); in testAnimationEndState() 161 assertFalse(mController.getSourceConsumer(topBar.getType()).isVisible()); in testAnimationEndState() 189 InsetsSourceControl topBar = controls[1]; in testShowHideSelectively() local 198 assertTrue(mController.getSourceConsumer(topBar.getType()).isVisible()); in testShowHideSelectively() 205 assertFalse(mController.getSourceConsumer(topBar.getType()).isVisible()); in testShowHideSelectively() 215 InsetsSourceControl topBar = controls[1]; in testShowHideSingle() local 224 assertTrue(mController.getSourceConsumer(topBar.getType()).isVisible()); in testShowHideSingle() [all …]
|
D | WindowInsetsTest.java | 21 import static android.view.WindowInsets.Type.topBar; 74 assertEquals(Insets.of(0, 50, 0, 0), insets.getInsets(topBar())); in compatInsets() 89 assertFalse(insets.isVisible(sideBars() | topBar())); in visibility()
|
D | InsetsStateTest.java | 79 assertEquals(Insets.of(0, 100, 0, 0), insets.getInsets(Type.topBar())); in testCalculateInsets() 114 assertEquals(Insets.of(0, 100, 0, 0), insets.getInsets(Type.topBar())); in testCalculateInsets_navRightStatusTop()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/ |
D | CarStatusBar.java | 415 CarNavigationBarView topBar = mStatusBarWindow.findViewById(R.id.car_top_bar); in connectNotificationsUI() local 416 topBar.setStatusBar(this); in connectNotificationsUI() 417 topBar.setStatusBarWindowTouchListener((v1, event1) -> { in connectNotificationsUI()
|
/frameworks/base/core/java/android/view/ |
D | WindowInsets.java | 1192 public static @InsetType int topBar() { in topBar() method in WindowInsets.Type
|