Home
last modified time | relevance | path

Searched refs:mStatusBar (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoHideController.java50 private AutoHideUiElement mStatusBar; field in AutoHideController
78 mStatusBar = element; in setStatusBar()
96 if (mStatusBar != null) { in hideTransientBars()
97 mStatusBar.hide(); in hideTransientBars()
135 if (mStatusBar != null) { in getCheckBarModesRunnable()
136 return () -> mStatusBar.synchronizeState(); in getCheckBarModesRunnable()
164 if (mStatusBar != null) { in checkUserAutoHide()
165 shouldHide &= mStatusBar.shouldHideOnTouch(); in checkUserAutoHide()
188 if (mStatusBar != null && mStatusBar.isVisible()) { in isAnyTransientBarShown()
/frameworks/base/services/core/java/com/android/server/notification/toast/
DTextToastRecord.java40 private final StatusBarManagerInternal mStatusBar; field in TextToastRecord
51 mStatusBar = statusBarManager; in TextToastRecord()
61 if (mStatusBar == null) { in show()
65 mStatusBar.showToast(uid, pkg, token, text, windowToken, getDuration(), mCallback, in show()
73 checkNotNull(mStatusBar, "Cannot hide toast that wasn't shown"); in hide()
75 mStatusBar.hideToast(pkg, token); in hide()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/fragment/
DCollapsedStatusBarFragment.java116 private PhoneStatusBarView mStatusBar; field in CollapsedStatusBarFragment
340 mStatusBar = (PhoneStatusBarView) view; in onViewCreated()
341 View contents = mStatusBar.findViewById(R.id.status_bar_contents); in onViewCreated()
345 mStatusBar.restoreHierarchyState( in onViewCreated()
353 mEndSideContent = mStatusBar.findViewById(R.id.status_bar_end_side_content); in onViewCreated()
355 mClockView = mStatusBar.findViewById(R.id.clock); in onViewCreated()
356 mOngoingActivityChip = mStatusBar.findViewById(R.id.ongoing_activity_chip); in onViewCreated()
366 mStatusBar, mCollapsedStatusBarViewModel, mStatusBarVisibilityChangeListener); in onViewCreated()
422 mStatusBar.saveHierarchyState(states); in onSaveInstanceState()
475 ViewGroup notificationIconArea = mStatusBar.requireViewById(R.id.notification_icon_area); in initNotificationIconArea()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DRecentsAnimationController.java108 final StatusBarManagerInternal mStatusBar; field in RecentsAnimationController
395 mStatusBar = LocalServices.getService(StatusBarManagerInternal.class); in RecentsAnimationController()
465 if (mStatusBar != null) { in initialize()
466 mStatusBar.onRecentsAnimationStateChanged(true /* running */); in initialize()
627 if (mStatusBar != null) { in attachNavigationBarToApp()
628 mStatusBar.setNavigationBarLumaSamplingEnabled(mDisplayId, false); in attachNavigationBarToApp()
639 if (mStatusBar != null) { in restoreNavigationBarFromApp()
640 mStatusBar.setNavigationBarLumaSamplingEnabled(mDisplayId, true); in restoreNavigationBarFromApp()
996 if (mStatusBar != null) {
997 mStatusBar.onRecentsAnimationStateChanged(false /* running */);
DDisplayPolicy.java262 private WindowState mStatusBar = null; field in DisplayPolicy
1067 if (mStatusBar != null && mStatusBar.isAlive()) { in validateAddingWindowLw()
1126 mStatusBar = win; in addWindowLw()
1270 if (mStatusBar == win) {
1271 mStatusBar = null;
1300 return mStatusBar;
1565 if (mStatusBar != null
1566 && sTmpRect.setIntersect(win.getFrame(), mStatusBar.getFrame())
1606 if (mStatusBar != null) {
1609 final int statusBarLayer = mStatusBar.mToken.getWindowLayerFromType();
[all …]
DInsetsPolicy.java91 private final BarWindow mStatusBar = new BarWindow(StatusBarManager.WINDOW_STATUS_BAR); field in InsetsPolicy
133 mStatusBar.updateVisibility(statusControlTarget, Type.statusBars()); in updateBarControlTarget()
674 pw.println(prefix + "status: " + StatusBarManager.windowStateToString(mStatusBar.mState)); in dump()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentsAnimationControllerTest.java586 verify(mController.mStatusBar).setNavigationBarLumaSamplingEnabled( in testRestoreNavBarWhenEnteringRecents_expectAnimation()
594 verify(mController.mStatusBar).setNavigationBarLumaSamplingEnabled( in testRestoreNavBarWhenEnteringRecents_expectAnimation()
611 verify(mController.mStatusBar).setNavigationBarLumaSamplingEnabled( in testRestoreNavBarWhenBackToApp_expectNoAnimation()
621 verify(mController.mStatusBar).setNavigationBarLumaSamplingEnabled( in testRestoreNavBarWhenBackToApp_expectNoAnimation()
639 verify(mController.mStatusBar).setNavigationBarLumaSamplingEnabled( in testAddTaskToTargets_expectAnimation()
650 verify(mController.mStatusBar).setNavigationBarLumaSamplingEnabled( in testAddTaskToTargets_expectAnimation()
684 verify(mController.mStatusBar).setNavigationBarLumaSamplingEnabled( in testAttachNavBarInSplitScreenMode()
693 verify(mController.mStatusBar).setNavigationBarLumaSamplingEnabled( in testAttachNavBarInSplitScreenMode()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java520 StatusBarManagerInternal mStatusBar; field in NotificationManagerServiceTest
581 LocalServices.addService(StatusBarManagerInternal.class, mStatusBar); in setUp()
1412 verify(mStatusBar).showToast(eq(mUid), eq(TEST_PACKAGE), any(), eq(text), any(), in verifyToastShownForTestPackage()
8264 verify(mStatusBar, times(1)) in testDontCallShowToastAgainOnTheSameTextToast()
8270 verify(mStatusBar, times(1)) in testDontCallShowToastAgainOnTheSameTextToast()
8293 verify(mStatusBar, times(0)) in testToastRateLimiterCanPreventShowCallForTextToast_whenInBackground()
8316 verify(mStatusBar, times(1)) in testToastRateLimiterWontPreventShowCallForTextToast_whenInForeground()
8338 verify(mStatusBar).showToast(anyInt(), any(), any(), any(), any(), anyInt(), any(), in testTextToastRateLimiterAllowsLimitAvoidanceWithPermission()
8368 verify(mStatusBar, times(0)) in testRateLimitedToasts_windowsRemoved()
8547 verify(mStatusBar, never()).showToast(anyInt(), any(), any(), any(), any(), anyInt(), any(), in testTextToastsCallStatusBar_userNotVisibleOnDisplay()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java613 @Nullable StatusBarManagerInternal mStatusBar; field in NotificationManagerService
2541 mStatusBar = getLocalService(StatusBarManagerInternal.class); in init()
2542 if (mStatusBar != null) { in init()
2543 mStatusBar.setNotificationDelegate(mNotificationDelegate); in init()
3484 return new TextToastRecord(this, mStatusBar, uid, pid, packageName,