/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SystemBars.java | 34 private SystemUI mStatusBar; field in SystemBars 44 if (mStatusBar != null) { in dump() 45 mStatusBar.dump(fd, pw, args); in dump() 62 mStatusBar = (SystemUI) cls.newInstance(); in createStatusBarFromConfig() 66 mStatusBar.mContext = mContext; in createStatusBarFromConfig() 67 mStatusBar.mComponents = mComponents; in createStatusBarFromConfig() 68 if (mStatusBar instanceof StatusBar) { in createStatusBarFromConfig() 71 .createStatusBar((StatusBar) mStatusBar); in createStatusBarFromConfig() 73 mStatusBar.start(); in createStatusBarFromConfig() 74 if (DEBUG) Log.d(TAG, "started " + mStatusBar.getClass().getSimpleName()); in createStatusBarFromConfig()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarTest.java | 178 private TestableStatusBar mStatusBar; field in StatusBarTest 259 mStatusBar = new TestableStatusBar(mStatusBarKeyguardViewManager, mUnlockMethodCache, in setup() 271 mStatusBar.mContext = mContext; in setup() 272 mStatusBar.mComponents = mContext.getComponents(); in setup() 275 .createStatusBar(mStatusBar); in setup() 276 mStatusBar.setHeadsUpManager(mHeadsUpManager); in setup() 277 mStatusBar.putComponent(StatusBar.class, mStatusBar); in setup() 287 mStatusBar.mCommandQueue = mock(CommandQueue.class); in testSetBouncerShowing_noCrash() 288 mStatusBar.setBouncerShowing(true); in testSetBouncerShowing_noCrash() 296 mStatusBar.executeRunnableDismissingKeyguard(null, null, false, false, false); in executeRunnableDismissingKeyguard_nullRunnable_showingAndOccluded() [all …]
|
D | StatusBarKeyguardViewManagerTest.java | 67 private StatusBar mStatusBar; field in StatusBarKeyguardViewManagerTest 96 mStatusBarKeyguardViewManager.registerStatusBar(mStatusBar, mContainer, in setUp() 115 mStatusBar.showBouncer(true /* scrimmed */); in showBouncer_onlyWhenShowing() 124 mStatusBar.showBouncer(true /* scrimmed */); in showBouncer_notWhenBouncerAlreadyShowing() 138 when(mStatusBar.isFullScreenUserSwitcherState()).thenReturn(true); in onPanelExpansionChanged_neverHidesFullscreenBouncer() 170 when(mStatusBar.isKeyguardCurrentlySecure()).thenReturn(true); in onPanelExpansionChanged_showsBouncerWhenSwiping() 207 when(mStatusBar.isInLaunchTransition()).thenReturn(true); in onPanelExpansionChanged_neverTranslatesBouncerWhenLaunchingApp() 216 verify(mStatusBar).animateKeyguardUnoccluding(); in setOccluded_animatesPanelExpansion_onlyIfBouncerHidden() 219 clearInvocations(mStatusBar); in setOccluded_animatesPanelExpansion_onlyIfBouncerHidden() 221 verify(mStatusBar, never()).animateKeyguardUnoccluding(); in setOccluded_animatesPanelExpansion_onlyIfBouncerHidden()
|
D | StatusBarNotificationPresenterTest.java | 60 private StatusBarNotificationPresenter mStatusBar; field in StatusBarNotificationPresenterTest 75 mStatusBar = new StatusBarNotificationPresenter(mContext, in setup() 95 mStatusBar.canHeadsUp(entry, sbn)); in testHeadsUp_disabledStatusBar() 109 mStatusBar.canHeadsUp(entry, sbn)); in testHeadsUp_disabledNotificationShade() 115 mStatusBar.onActivated(view); in onActivatedMetrics()
|
D | StatusBarWindowViewTest.java | 48 private StatusBar mStatusBar; field in StatusBarWindowViewTest 58 mStatusBar = mock(StatusBar.class); in setUp() 59 mView.setService(mStatusBar); in setUp()
|
D | KeyguardBottomAreaTest.kt | 24 private lateinit var mStatusBar: StatusBar variable in com.android.systemui.statusbar.phone.KeyguardBottomAreaTest 32 mKeyguardBottomArea.setStatusBar(mStatusBar) in setup()
|
D | NotificationPanelViewTest.java | 74 private StatusBar mStatusBar; field in NotificationPanelViewTest 226 initDependencies(NotificationPanelViewTest.this.mStatusBar, in TestableNotificationPanelView()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/ |
D | VolumeDialogControllerImplTest.java | 43 StatusBar mStatusBar; field in VolumeDialogControllerImplTest 48 mStatusBar = mock(StatusBar.class); in setup() 49 mVolumeController = new TestableVolumeDialogControllerImpl(mContext, mCallback, mStatusBar); in setup() 55 when(mStatusBar.isDeviceInteractive()).thenReturn(false); in testVolumeChangeW_deviceNotInteractiveAOD() 56 when(mStatusBar.getWakefulnessState()).thenReturn(WakefulnessLifecycle.WAKEFULNESS_AWAKE); in testVolumeChangeW_deviceNotInteractiveAOD() 63 when(mStatusBar.isDeviceInteractive()).thenReturn(true); in testVolumeChangeW_deviceInteractive() 64 when(mStatusBar.getWakefulnessState()).thenReturn(WakefulnessLifecycle.WAKEFULNESS_AWAKE); in testVolumeChangeW_deviceInteractive() 71 when(mStatusBar.isDeviceInteractive()).thenReturn(true); in testVolumeChangeW_deviceInteractive_StartedSleeping() 72 when(mStatusBar.getWakefulnessState()).thenReturn(WakefulnessLifecycle.WAKEFULNESS_AWAKE); in testVolumeChangeW_deviceInteractive_StartedSleeping() 74 when(mStatusBar.isDeviceInteractive()).thenReturn(false); in testVolumeChangeW_deviceInteractive_StartedSleeping() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarKeyguardViewManager.java | 99 mStatusBar.wakeUpIfDozing(SystemClock.uptimeMillis(), mContainer, "BOUNCER_VISIBLE"); 134 protected StatusBar mStatusBar; field in StatusBarKeyguardViewManager 218 mStatusBar = statusBar; in registerStatusBar() 247 if (!isWakeAndUnlocking() && !mStatusBar.isInLaunchTransition()) { in onPanelExpansionChanged() 251 && mStatusBar.isKeyguardCurrentlySecure() in onPanelExpansionChanged() 258 mStatusBar.wakeUpIfDozing(SystemClock.uptimeMillis(), mContainer, "BOUNCER_VISIBLE"); in onPanelExpansionChanged() 318 mStatusBar.hideKeyguard(); in showBouncerOrKeyguard() 321 mStatusBar.showKeyguard(); in showBouncerOrKeyguard() 405 mStatusBar.hideKeyguard(); in reset() 481 mStatusBar.setOccluded(occluded); in setOccluded() [all …]
|
D | CollapsedStatusBarFragment.java | 58 private PhoneStatusBarView mStatusBar; field in CollapsedStatusBarFragment 98 mStatusBar = (PhoneStatusBarView) view; in onViewCreated() 100 mStatusBar.restoreHierarchyState( in onViewCreated() 106 mSystemIconArea = mStatusBar.findViewById(R.id.system_icon_area); in onViewCreated() 107 mClockView = mStatusBar.findViewById(R.id.clock); in onViewCreated() 118 mStatusBar.saveHierarchyState(states); in onSaveInstanceState() 147 ViewGroup notificationIconArea = mStatusBar.findViewById(R.id.notification_icon_area); in initNotificationIconArea() 156 ViewGroup statusBarCenteredIconArea = mStatusBar.findViewById(R.id.centered_icon_area); in initNotificationIconArea() 241 if (!mStatusBar.isClosed() && mStatusBarComponent.hideStatusBarIconsWhenExpanded()) { in shouldHideNotificationIcons() 271 if (!mStatusBar.isClosed() && !mKeyguardMonitor.isShowing() in clockHiddenMode() [all …]
|
D | PanelView.java | 78 protected StatusBar mStatusBar; field in PanelView 332 && !mStatusBar.isBouncerShowing()) { in onTouchEvent() 417 float width = mStatusBar.getDisplayWidth(); in startOpening() 418 float height = mStatusBar.getDisplayHeight(); in startOpening() 419 int rot = mStatusBar.getRotation(); in startOpening() 449 mStatusBar.handlePeekToExpandTransistion(); in startExpandingFromPeek() 480 mStatusBar.isFalsingThresholdNeeded(), in endMotionEvent() 481 mStatusBar.isWakeUpComingFromTouch()); in endMotionEvent() 484 float displayDensity = mStatusBar.getDisplayDensity(); in endMotionEvent() 498 && !mStatusBar.isBouncerShowing() && !mKeyguardMonitor.isKeyguardFadingAway()) { in endMotionEvent() [all …]
|
D | AutoHideController.java | 49 private StatusBar mStatusBar; field in AutoHideController 89 mStatusBar = statusBar; in setStatusBar() 164 if ((hasStatusBar() && mStatusBar.getStatusBarMode() == MODE_SEMI_TRANSPARENT) in touchAutoHide() 174 return () -> mStatusBar.checkBarModes(); in getCheckBarModesRunnable() 230 return mStatusBar != null; in hasStatusBar()
|
D | BiometricUnlockController.java | 139 private StatusBar mStatusBar; field in BiometricUnlockController 184 mStatusBar = statusBar; in BiometricUnlockController() 347 if (mStatusBar.getNavigationBarView() != null) { in startWakeAndUnlock() 348 mStatusBar.getNavigationBarView().setWakeAndUnlocking(true); in startWakeAndUnlock() 356 mStatusBar.notifyBiometricAuthModeChanged(); in startWakeAndUnlock() 526 if (mStatusBar.getNavigationBarView() != null) { in resetMode() 527 mStatusBar.getNavigationBarView().setWakeAndUnlocking(false); in resetMode() 529 mStatusBar.notifyBiometricAuthModeChanged(); in resetMode()
|
D | StatusBarTouchableRegionManager.java | 45 private final StatusBar mStatusBar; field in StatusBarTouchableRegionManager 57 mStatusBar = statusBar; in StatusBarTouchableRegionManager() 136 if (mIsStatusBarExpanded || mStatusBar.isBouncerShowing()) { in onComputeInternalInsets()
|
D | NotificationPanelView.java | 491 mStatusBar = bar; in setStatusBar() 492 mKeyguardBottomArea.setStatusBar(mStatusBar); in setStatusBar() 688 mKeyguardBottomArea.setStatusBar(mStatusBar); in initBottomArea() 935 mStatusBar.getGutsManager().closeAndSaveGuts(true /* leavebehind */, true /* force */, in resetViews() 1028 if (mStatusBar.isBouncerShowing()) { in onInterceptTouchEvent() 1172 (int) ((y - mInitialTouchY) / mStatusBar.getDisplayDensity()), in logQsSwipeDown() 1173 (int) (vel / mStatusBar.getDisplayDensity())); in logQsSwipeDown() 1229 if (mStatusBar.isBouncerShowingScrimmed()) { in onTouchEvent() 1395 if (mStatusBar.getStatusBarWindow().getHeight() in stopWaitingForOpenPanelGesture() 1396 != mStatusBar.getStatusBarHeight()) { in stopWaitingForOpenPanelGesture() [all …]
|
D | NavigationBarFragment.java | 155 private StatusBar mStatusBar; field in NavigationBarFragment 198 mStatusBar.collapsePanel(true /* animate */); 268 mStatusBar = SysUiServiceProvider.getComponent(getContext(), StatusBar.class); in onCreate() 320 mNavigationBarView.setComponents(mStatusBar.getPanel(), mAssistManager); in onViewCreated() 693 if (mStatusBar.isKeyguardShowing()) { in onHomeTouch() 703 mStatusBar.awakenDreams(); in onHomeTouch() 710 mStatusBar.setQsScrimEnabled(!isVertical); in onVerticalChanged() 732 mStatusBar.awakenDreams(); in onHomeLongClick() 761 mStatusBar.awakenDreams(); in onRecentsClick() 859 return mStatusBar.toggleSplitScreenMode(MetricsEvent.ACTION_WINDOW_DOCK_LONGPRESS, in onLongPressRecents() [all …]
|
D | NotificationIconAreaController.java | 64 private StatusBar mStatusBar; field in NotificationIconAreaController 88 mStatusBar = statusBar; in NotificationIconAreaController() 118 mNotificationScrollLayout = mStatusBar.getNotificationScrollLayout(); in initializeNotificationAreaViews() 132 mAodIcons = mStatusBar.getStatusBarWindow().findViewById( in initAodIcons() 230 return mStatusBar.getStatusBarHeight(); in getHeight()
|
D | KeyguardBottomAreaView.java | 137 private StatusBar mStatusBar; field in KeyguardBottomAreaView 223 setStatusBar(oldBottomArea.mStatusBar); in initFrom() 346 mStatusBar = statusBar; in setStatusBar() 553 if (mStatusBar.isKeyguardCurrentlySecure()) { in launchVoiceAssist() 558 mStatusBar.executeRunnableDismissingKeyguard(runnable, null /* cancelAction */, in launchVoiceAssist() 809 boolean isCameraDisabled = (mStatusBar != null) && !mStatusBar.isCameraAllowedByAdmin(); in getIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSTileHost.java | 89 private StatusBar mStatusBar; field in QSTileHost 178 if (mStatusBar == null) { in collapsePanels() 179 mStatusBar = SysUiServiceProvider.getComponent(mContext, StatusBar.class); in collapsePanels() 181 mStatusBar.postAnimateCollapsePanels(); in collapsePanels() 186 if (mStatusBar == null) { in forceCollapsePanels() 187 mStatusBar = SysUiServiceProvider.getComponent(mContext, StatusBar.class); in forceCollapsePanels() 189 mStatusBar.postAnimateForceCollapsePanels(); in forceCollapsePanels() 194 if (mStatusBar == null) { in openPanels() 195 mStatusBar = SysUiServiceProvider.getComponent(mContext, StatusBar.class); in openPanels() 197 mStatusBar.postAnimateOpenPanels(); in openPanels()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/ |
D | CarStatusBarKeyguardViewManager.java | 44 CarStatusBar statusBar = (CarStatusBar) mStatusBar; in updateNavigationBarVisibility() 64 CarStatusBar statusBar = (CarStatusBar) mStatusBar; in onCancelClicked()
|
D | FullscreenUserSwitcher.java | 52 private final CarStatusBar mStatusBar; field in FullscreenUserSwitcher 71 mStatusBar = statusBar; in FullscreenUserSwitcher() 182 mStatusBar.dismissKeyguard(); in dismissUserSwitcher()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayPolicy.java | 274 private WindowState mStatusBar = null; field in DisplayPolicy 412 ? mStatusBar : mNavigationBar; in handleMessage() 467 if (mStatusBar != null) { in DisplayPolicy() 468 requestTransientBars(mStatusBar); in DisplayPolicy() 918 if (mStatusBar != null) { in prepareAddWindowLw() 919 if (mStatusBar.isAlive()) { in prepareAddWindowLw() 923 mStatusBar = win; in prepareAddWindowLw() 998 if (mStatusBar == win) { in removeWindowLw() 999 mStatusBar = null; in removeWindowLw() 1038 if (win == mStatusBar) { in selectAnimationLw() [all …]
|
D | RecentsAnimationController.java | 91 private final StatusBarManagerInternal mStatusBar; field in RecentsAnimationController 340 mStatusBar = LocalServices.getService(StatusBarManagerInternal.class); in RecentsAnimationController() 413 if (mStatusBar != null) { in initialize() 414 mStatusBar.onRecentsAnimationStateChanged(true /* running */); in initialize() 646 if (mStatusBar != null) { in cleanupAnimation() 647 mStatusBar.onRecentsAnimationStateChanged(false /* running */); in cleanupAnimation()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ScreenDecorationsTest.java | 79 private StatusBar mStatusBar; field in ScreenDecorationsTest 99 mStatusBar = mock(StatusBar.class); in setup() 102 when(mStatusBar.getStatusBarWindow()).thenReturn(mView); in setup() 103 mContext.putComponent(StatusBar.class, mStatusBar); in setup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogControllerImpl.java | 117 protected StatusBar mStatusBar; field in VolumeDialogControllerImpl 442 if (mStatusBar == null) { in updateStatusBar() 443 mStatusBar = SysUiServiceProvider.getComponent(mContext, StatusBar.class); in updateStatusBar() 451 return mStatusBar != null ? in shouldShowUI() 452 mStatusBar.getWakefulnessState() != WakefulnessLifecycle.WAKEFULNESS_ASLEEP in shouldShowUI() 453 && mStatusBar.getWakefulnessState() != in shouldShowUI() 455 && mStatusBar.isDeviceInteractive() in shouldShowUI()
|