/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarTest.java | 147 private TestableStatusBar mStatusBar; field in StatusBarTest 206 mStatusBar = new TestableStatusBar(mStatusBarKeyguardViewManager, mUnlockMethodCache, in setup() 217 mStatusBar.mContext = mContext; in setup() 218 mStatusBar.mComponents = mContext.getComponents(); in setup() 219 mEntryManager.setUpForTest(mStatusBar, mStackScroller, mStatusBar, mHeadsUpManager, in setup() 224 if (m.getCallback() == mStatusBar.mNotificationLogger.getVisibilityReporter()) { in setup() 233 mStatusBar.mCommandQueue = mock(CommandQueue.class); in testSetBouncerShowing_noCrash() 234 mStatusBar.setBouncerShowing(true); in testSetBouncerShowing_noCrash() 242 mStatusBar.executeRunnableDismissingKeyguard(null, null, false, false, false); in executeRunnableDismissingKeyguard_nullRunnable_showingAndOccluded() 250 mStatusBar.executeRunnableDismissingKeyguard(null, null, false, false, false); in executeRunnableDismissingKeyguard_nullRunnable_showing() [all …]
|
D | StatusBarWindowViewTest.java | 47 private StatusBar mStatusBar; field in StatusBarWindowViewTest 53 mStatusBar = mock(StatusBar.class); in setUp() 54 mView.setService(mStatusBar); in setUp() 61 when(mStatusBar.getBarState()).thenReturn(StatusBarState.SHADE); in testDragDownHelperCalledWhenDraggingDown()
|
D | StatusBarKeyguardViewManagerTest.java | 57 private StatusBar mStatusBar; field in StatusBarKeyguardViewManagerTest 74 mStatusBarKeyguardViewManager.registerStatusBar(mStatusBar, mContainer, in setUp() 91 mStatusBar.showBouncer(true /* scrimmed */); in showBouncer_onlyWhenShowing() 100 mStatusBar.showBouncer(true /* scrimmed */); in showBouncer_notWhenBouncerAlreadyShowing() 114 when(mStatusBar.isFullScreenUserSwitcherState()).thenReturn(true); in onPanelExpansionChanged_neverHidesFullscreenBouncer() 145 when(mStatusBar.isKeyguardCurrentlySecure()).thenReturn(true); in onPanelExpansionChanged_showsBouncerWhenSwiping()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/ |
D | VolumeDialogControllerImplTest.java | 41 StatusBar mStatusBar; field in VolumeDialogControllerImplTest 46 mStatusBar = mock(StatusBar.class); in setup() 47 mVolumeController = new TestableVolumeDialogControllerImpl(mContext, mCallback, mStatusBar); in setup() 53 when(mStatusBar.isDeviceInteractive()).thenReturn(false); in testVolumeChangeW_deviceNotInteractiveAOD() 54 when(mStatusBar.getWakefulnessState()).thenReturn(WakefulnessLifecycle.WAKEFULNESS_AWAKE); in testVolumeChangeW_deviceNotInteractiveAOD() 61 when(mStatusBar.isDeviceInteractive()).thenReturn(true); in testVolumeChangeW_deviceInteractive() 62 when(mStatusBar.getWakefulnessState()).thenReturn(WakefulnessLifecycle.WAKEFULNESS_AWAKE); in testVolumeChangeW_deviceInteractive() 69 when(mStatusBar.isDeviceInteractive()).thenReturn(true); in testVolumeChangeW_deviceInteractive_StartedSleeping() 70 when(mStatusBar.getWakefulnessState()).thenReturn(WakefulnessLifecycle.WAKEFULNESS_AWAKE); in testVolumeChangeW_deviceInteractive_StartedSleeping() 72 when(mStatusBar.isDeviceInteractive()).thenReturn(false); in testVolumeChangeW_deviceInteractive_StartedSleeping() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarKeyguardViewManager.java | 91 protected StatusBar mStatusBar; field in StatusBarKeyguardViewManager 146 mStatusBar = statusBar; in registerStatusBar() 173 || mStatusBar.isFullScreenUserSwitcherState()) { in onPanelExpansionChanged() 180 && mStatusBar.isKeyguardCurrentlySecure() in onPanelExpansionChanged() 206 mStatusBar.hideKeyguard(); in showBouncerOrKeyguard() 209 mStatusBar.showKeyguard(); in showBouncerOrKeyguard() 279 mStatusBar.hideKeyguard(); in reset() 353 mStatusBar.setOccluded(occluded); in setOccluded() 357 if (mStatusBar.isInLaunchTransition()) { in setOccluded() 359 mStatusBar.fadeKeyguardAfterLaunchTransition(null /* beforeFading */, in setOccluded() [all …]
|
D | CollapsedStatusBarFragment.java | 55 private PhoneStatusBarView mStatusBar; field in CollapsedStatusBarFragment 90 mStatusBar = (PhoneStatusBarView) view; in onViewCreated() 92 mStatusBar.go(savedInstanceState.getInt(EXTRA_PANEL_STATE)); in onViewCreated() 97 mSystemIconArea = mStatusBar.findViewById(R.id.system_icon_area); in onViewCreated() 98 mClockView = mStatusBar.findViewById(R.id.clock); in onViewCreated() 108 outState.putInt(EXTRA_PANEL_STATE, mStatusBar.getState()); in onSaveInstanceState() 134 ViewGroup notificationIconArea = mStatusBar.findViewById(R.id.notification_icon_area); in initNotificationIconArea() 199 if (!mStatusBar.isClosed() && mStatusBarComponent.hideStatusBarIconsWhenExpanded()) { in shouldHideNotificationIcons() 229 if (!mStatusBar.isClosed() && !mKeyguardMonitor.isShowing()) { in clockHiddenMode() 313 View emergencyViewStub = mStatusBar.findViewById(R.id.emergency_cryptkeeper_text); in initEmergencyCryptkeeperText() [all …]
|
D | NotificationPanelView.java | 294 mStatusBar = bar; in setStatusBar() 295 mKeyguardBottomArea.setStatusBar(mStatusBar); in setStatusBar() 403 mKeyguardBottomArea.setStatusBar(mStatusBar); in initBottomArea() 509 mStatusBar.isKeyguardCurrentlySecure(), in positionClockAndNotifications() 556 if (!mStatusBar.getNotificationLockscreenUserManager().shouldShowOnKeyguard( in computeMaxKeyguardNotifications() 617 mStatusBar.getGutsManager().closeAndSaveGuts(true /* leavebehind */, true /* force */, in resetViews() 824 (int) ((y - mInitialTouchY) / mStatusBar.getDisplayDensity()), in logQsSwipeDown() 825 (int) (vel / mStatusBar.getDisplayDensity())); in logQsSwipeDown() 873 && mStatusBar.getBarState() != StatusBarState.SHADE in onTouchEvent() 897 && mStatusBar.getBarState() != StatusBarState.KEYGUARD && !mQsExpanded in handleQsTouch() [all …]
|
D | FingerprintUnlockController.java | 107 private StatusBar mStatusBar; field in FingerprintUnlockController 130 mStatusBar = statusBar; in FingerprintUnlockController() 245 mStatusBar.updateMediaMetaData(false /* metaDataChanged */, in startWakeAndUnlock() 255 if (mStatusBar.getNavigationBarView() != null) { in startWakeAndUnlock() 256 mStatusBar.getNavigationBarView().setWakeAndUnlocking(true); in startWakeAndUnlock() 264 mStatusBar.notifyFpAuthModeChanged(); in startWakeAndUnlock() 372 if (mStatusBar.getNavigationBarView() != null) { in resetMode() 373 mStatusBar.getNavigationBarView().setWakeAndUnlocking(false); in resetMode() 375 mStatusBar.notifyFpAuthModeChanged(); in resetMode()
|
D | PanelView.java | 73 protected StatusBar mStatusBar; field in PanelView 327 && !mStatusBar.isBouncerShowing()) { in onTouchEvent() 344 if (mStatusBar.getBarState() == StatusBarState.KEYGUARD) { in onTouchEvent() 414 float width = mStatusBar.getDisplayWidth(); in startOpening() 415 float height = mStatusBar.getDisplayHeight(); in startOpening() 416 int rot = mStatusBar.getRotation(); in startOpening() 440 mStatusBar.handlePeekToExpandTransistion(); in startExpandingFromPeek() 474 mStatusBar.isFalsingThresholdNeeded(), in endMotionEvent() 475 mStatusBar.isWakeUpComingFromTouch()); in endMotionEvent() 477 if (!expand && mStatusBar.getBarState() == StatusBarState.KEYGUARD) { in endMotionEvent() [all …]
|
D | NavigationBarFragment.java | 142 private StatusBar mStatusBar; field in NavigationBarFragment 205 mStatusBar = SysUiServiceProvider.getComponent(getContext(), StatusBar.class); in onCreate() 277 mNavigationBarView.setComponents(mRecents, mDivider, mStatusBar.getPanel()); in onViewCreated() 384 mStatusBar.checkBarModes(); in setImeWindowStatus() 559 mStatusBar.touchAutoHide(); in setRotateSuggestionButtonState() 636 mNavigationBarMode = mStatusBar.computeBarMode(0, mSystemUiVisibility, in setCurrentSysuiVisibility() 640 mStatusBar.touchAutoHide(); in setCurrentSysuiVisibility() 657 ? -1 : mStatusBar.computeBarMode(oldVal, newVal, in setSystemUiVisibility() 666 mStatusBar.touchAutoHide(); in setSystemUiVisibility() 713 return !mStatusBar.isDeviceProvisioned() in shouldDisableNavbarGestures() [all …]
|
D | NavigationBarGestureHelper.java | 71 private final StatusBar mStatusBar; field in NavigationBarGestureHelper 85 mStatusBar = SysUiServiceProvider.getComponent(context, StatusBar.class); in NavigationBarGestureHelper() 112 mNotificationsVisibleOnDown = !mStatusBar.isPresenterFullyCollapsed(); in onInterceptTouchEvent() 278 return !mIsInScreenPinning && !mStatusBar.isKeyguardShowing() in canHandleGestures()
|
D | NotificationIconAreaController.java | 43 private StatusBar mStatusBar; field in NotificationIconAreaController 52 mStatusBar = statusBar; in NotificationIconAreaController() 75 mNotificationScrollLayout = mStatusBar.getNotificationScrollLayout(); in initializeNotificationAreaViews() 140 return mStatusBar.getStatusBarHeight(); in getHeight()
|
D | KeyguardBottomAreaView.java | 140 private StatusBar mStatusBar; field in KeyguardBottomAreaView 216 mStatusBar.animateCollapsePanels( 362 mStatusBar = statusBar; in setStatusBar() 442 mStatusBar.animateCollapsePanels( in onClick() 595 if (mStatusBar.isKeyguardCurrentlySecure()) { in launchVoiceAssist() 600 mStatusBar.executeRunnableDismissingKeyguard(runnable, null /* cancelAction */, in launchVoiceAssist() 897 boolean isCameraDisabled = (mStatusBar != null) && !mStatusBar.isCameraAllowedByAdmin(); in getIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SystemBars.java | 37 private SystemUI mStatusBar; field in SystemBars 47 if (mStatusBar != null) { in dump() 48 mStatusBar.dump(fd, pw, args); in dump() 65 mStatusBar = (SystemUI) cls.newInstance(); in createStatusBarFromConfig() 69 mStatusBar.mContext = mContext; in createStatusBarFromConfig() 70 mStatusBar.mComponents = mComponents; in createStatusBarFromConfig() 71 mStatusBar.start(); in createStatusBarFromConfig() 72 if (DEBUG) Log.d(TAG, "started " + mStatusBar.getClass().getSimpleName()); in createStatusBarFromConfig()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | ActivityLaunchAnimator.java | 62 private StatusBar mStatusBar; field in ActivityLaunchAnimator 65 mStatusBar.collapsePanel(true /* animate */); 76 mStatusBar = statusBar; in ActivityLaunchAnimator() 81 if (mStatusBar.getBarState() != StatusBarState.SHADE || occluded) { in getLaunchAnimation() 96 && mStatusBar.getBarState() == StatusBarState.SHADE); in setLaunchResult() 194 mStatusBar.collapsePanel(false /* animate */); in onAnimationStart() 258 mStatusBar.onLaunchAnimationCancelled(); in onAnimationCancelled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DeadZone.java | 47 private final StatusBar mStatusBar; field in DeadZone 71 mStatusBar = SysUiServiceProvider.getComponent(mNavigationBarView.getContext(), in DeadZone() 136 if (mStatusBar != null) mStatusBar.touchAutoDim(); in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
D | FullscreenUserSwitcher.java | 41 private final StatusBar mStatusBar; field in FullscreenUserSwitcher 47 mStatusBar = statusBar; in FullscreenUserSwitcher() 111 mStatusBar.executeRunnableDismissingKeyguard(null/* runnable */, null /* cancelAction */, in dismissKeyguard()
|
D | CarStatusBarKeyguardViewManager.java | 28 CarStatusBar statusBar = (CarStatusBar) mStatusBar; in updateNavigationBarVisibility()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ScreenDecorationsTest.java | 64 private StatusBar mStatusBar; field in ScreenDecorationsTest 74 mStatusBar = mock(StatusBar.class); in setup() 77 when(mStatusBar.getStatusBarWindow()).thenReturn(mView); in setup() 78 when(mStatusBar.getNavigationBarWindow()).thenReturn(mView); in setup() 79 mContext.putComponent(StatusBar.class, mStatusBar); in setup()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/ |
D | PhoneWindowManagerTestBase.java | 73 FakeWindowState mStatusBar; field in PhoneWindowManagerTestBase 109 mStatusBar = new FakeWindowState(); in addStatusBar() 110 mStatusBar.attrs = new WindowManager.LayoutParams(MATCH_PARENT, STATUS_BAR_HEIGHT, in addStatusBar() 112 mStatusBar.attrs.gravity = Gravity.TOP; in addStatusBar() 114 mPolicy.addWindow(mStatusBar); in addStatusBar()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSTileHost.java | 62 private final StatusBar mStatusBar; field in QSTileHost 77 mStatusBar = statusBar; in QSTileHost() 142 mStatusBar.postAnimateCollapsePanels(); in collapsePanels() 147 mStatusBar.postAnimateForceCollapsePanels(); in forceCollapsePanels() 152 mStatusBar.postAnimateOpenPanels(); in openPanels()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 495 WindowState mStatusBar = null; field in PhoneWindowManager 917 mStatusBar : mNavigationBar; in handleMessage() 1816 mStatusBar != null && mStatusBar.isVisibleLw(), in run() 2190 if (mStatusBar != null) { in init() 2191 requestTransientBars(mStatusBar); in init() 3286 if (mStatusBar != null) { in prepareAddWindowLw() 3287 if (mStatusBar.isAlive()) { in prepareAddWindowLw() 3291 mStatusBar = win; in prepareAddWindowLw() 3325 if (mStatusBar == win) { in removeWindowLw() 3326 mStatusBar = null; in removeWindowLw() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogControllerImpl.java | 110 protected StatusBar mStatusBar; field in VolumeDialogControllerImpl 380 if (mStatusBar == null) { in updateStatusBar() 381 mStatusBar = SysUiServiceProvider.getComponent(mContext, StatusBar.class); in updateStatusBar() 389 return mStatusBar != null ? in shouldShowUI() 390 mStatusBar.getWakefulnessState() != WakefulnessLifecycle.WAKEFULNESS_ASLEEP in shouldShowUI() 391 && mStatusBar.getWakefulnessState() != in shouldShowUI() 393 && mStatusBar.isDeviceInteractive() in shouldShowUI()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | NotificationStackScrollLayout.java | 292 private StatusBar mStatusBar; field in NotificationStackScrollLayout 1133 mStatusBar.executeRunnableDismissingKeyguard( 1205 return mStatusBar.isWakeUpComingFromTouch() ? 1.5f : 1.0f; 1535 NotificationGuts guts = mStatusBar.getGutsManager().getExposedGuts(); 2705 NotificationGuts guts = mStatusBar.getGutsManager().getExposedGuts(); 2709 mStatusBar.getGutsManager().closeAndSaveGuts(true /* removeLeavebehind */, 3603 mStatusBar.getGutsManager().closeAndSaveGuts(true /* removeLeavebehind */, 3626 mStatusBar.resetUserExpandedStates(); 4103 int newTextRes = mStatusBar.areNotificationsHidden() 4178 this.mStatusBar = statusBar; [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | InputMethodManagerService.java | 340 private @Nullable StatusBarManagerService mStatusBar; field in InputMethodManagerService 1521 mStatusBar = statusBar; in systemRunning() 1522 if (mStatusBar != null) { in systemRunning() 1523 mStatusBar.setIconVisibility(mSlotIme, false); in systemRunning() 2154 if (mStatusBar != null) { in clearCurMethodLocked() 2155 mStatusBar.setIconVisibility(mSlotIme, false); in clearCurMethodLocked() 2195 if (mStatusBar != null) { in updateStatusIcon() 2196 mStatusBar.setIconVisibility(mSlotIme, false); in updateStatusIcon() 2210 if (mStatusBar != null) { in updateStatusIcon() 2211 mStatusBar.setIcon(mSlotIme, packageName, iconId, 0, in updateStatusIcon() [all …]
|