/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarKeyguardViewManager.java | 78 protected StatusBar mStatusBar; field in StatusBarKeyguardViewManager 137 mStatusBar = statusBar; in registerStatusBar() 163 mStatusBar.hideKeyguard(); in showBouncerOrKeyguard() 166 mStatusBar.showKeyguard(); in showBouncerOrKeyguard() 227 mStatusBar.hideKeyguard(); in reset() 228 mStatusBar.stopWaitingForKeyguardExit(); in reset() 305 mStatusBar.setOccluded(occluded); in setOccluded() 307 if (mStatusBar.isInLaunchTransition()) { in setOccluded() 309 mStatusBar.fadeKeyguardAfterLaunchTransition(null /* beforeFading */, in setOccluded() 323 mStatusBar.updateMediaMetaData(false, animate && !occluded); in setOccluded() [all …]
|
D | FingerprintUnlockController.java | 107 private StatusBar mStatusBar; field in FingerprintUnlockController 130 mStatusBar = statusBar; in FingerprintUnlockController() 185 boolean dozingWithScreenOn = mStatusBar.isDozing() && !mStatusBar.isScreenFullyOff(); in pulsingOrAod() 245 mStatusBar.updateMediaMetaData(false /* metaDataChanged */, in startWakeAndUnlock() 258 if (mStatusBar.getNavigationBarView() != null) { in startWakeAndUnlock() 259 mStatusBar.getNavigationBarView().setWakeAndUnlocking(true); in startWakeAndUnlock() 267 mStatusBar.notifyFpAuthModeChanged(); in startWakeAndUnlock() 372 if (mStatusBar.getNavigationBarView() != null) { in resetMode() 373 mStatusBar.getNavigationBarView().setWakeAndUnlocking(false); in resetMode() 375 mStatusBar.notifyFpAuthModeChanged(); in resetMode()
|
D | NotificationPanelView.java | 251 mStatusBar = bar; in setStatusBar() 252 mKeyguardBottomArea.setStatusBar(mStatusBar); in setStatusBar() 361 mKeyguardBottomArea.setStatusBar(mStatusBar); in initBottomArea() 455 mStatusBar.getMaxKeyguardNotifications(), in positionClockAndNotifications() 506 if (!mStatusBar.shouldShowOnKeyguard(row.getStatusBarNotification())) { in computeMaxKeyguardNotifications() 599 mStatusBar.closeAndSaveGuts(true /* leavebehind */, true /* force */, in resetViews() 794 (int) ((y - mInitialTouchY) / mStatusBar.getDisplayDensity()), in logQsSwipeDown() 795 (int) (vel / mStatusBar.getDisplayDensity())); in logQsSwipeDown() 843 && mStatusBar.getBarState() != StatusBarState.SHADE in onTouchEvent() 867 && mStatusBar.getBarState() != StatusBarState.KEYGUARD && !mQsExpanded in handleQsTouch() [all …]
|
D | CollapsedStatusBarFragment.java | 54 private PhoneStatusBarView mStatusBar; field in CollapsedStatusBarFragment 88 mStatusBar = (PhoneStatusBarView) view; in onViewCreated() 90 mStatusBar.go(savedInstanceState.getInt(EXTRA_PANEL_STATE)); in onViewCreated() 94 mSystemIconArea = mStatusBar.findViewById(R.id.system_icon_area); in onViewCreated() 95 mSignalClusterView = mStatusBar.findViewById(R.id.signal_cluster); in onViewCreated() 105 outState.putInt(EXTRA_PANEL_STATE, mStatusBar.getState()); in onSaveInstanceState() 132 ViewGroup notificationIconArea = mStatusBar.findViewById(R.id.notification_icon_area); in initNotificationIconArea() 185 if (!mStatusBar.isClosed() && mStatusBarComponent.hideStatusBarIconsWhenExpanded()) { in shouldHideNotificationIcons() 260 View emergencyViewStub = mStatusBar.findViewById(R.id.emergency_cryptkeeper_text); in initEmergencyCryptkeeperText()
|
D | NavigationBarFragment.java | 115 private StatusBar mStatusBar; field in NavigationBarFragment 137 mStatusBar = SysUiServiceProvider.getComponent(getContext(), StatusBar.class); in onCreate() 283 mStatusBar.checkBarModes(); in setImeWindowStatus() 306 mNavigationBarMode = mStatusBar.computeBarMode(0, mSystemUiVisibility, in setCurrentSysuiVisibility() 310 mStatusBar.touchAutoHide(); in setCurrentSysuiVisibility() 327 ? -1 : mStatusBar.computeBarMode(oldVal, newVal, in setSystemUiVisibility() 336 mStatusBar.touchAutoHide(); in setSystemUiVisibility() 366 return !mStatusBar.isDeviceProvisioned() in shouldDisableNavbarGestures() 419 if (mStatusBar.isKeyguardShowing()) { in onHomeTouch() 429 mStatusBar.awakenDreams(); in onHomeTouch() [all …]
|
D | PanelView.java | 74 protected StatusBar mStatusBar; field in PanelView 343 if (mStatusBar.getBarState() == StatusBarState.KEYGUARD) { in onTouchEvent() 428 mStatusBar.handlePeekToExpandTransistion(); in startExpandingFromPeek() 462 mStatusBar.isFalsingThresholdNeeded(), in endMotionEvent() 463 mStatusBar.isWakeUpComingFromTouch()); in endMotionEvent() 465 if (!expand && mStatusBar.getBarState() == StatusBarState.KEYGUARD) { in endMotionEvent() 466 float displayDensity = mStatusBar.getDisplayDensity(); in endMotionEvent() 509 float factor = mStatusBar.isWakeUpComingFromTouch() ? 1.5f : 1.0f; in getFalsingThreshold() 557 mStatusBar.userActivity(); in onInterceptTouchEvent() 593 if (mStatusBar.getBarState() == StatusBarState.KEYGUARD) { in onInterceptTouchEvent() [all …]
|
D | NotificationIconAreaController.java | 39 private StatusBar mStatusBar; field in NotificationIconAreaController 48 mStatusBar = statusBar; in NotificationIconAreaController() 70 mNotificationScrollLayout = mStatusBar.getNotificationScrollLayout(); in initializeNotificationAreaViews() 128 return mStatusBar.getStatusBarHeight(); in getHeight()
|
D | KeyguardBottomAreaView.java | 138 private StatusBar mStatusBar; field in KeyguardBottomAreaView 210 mStatusBar.animateCollapsePanels( 350 mStatusBar = statusBar; in setStatusBar() 430 mStatusBar.animateCollapsePanels( in onClick() 567 if (mStatusBar.isKeyguardCurrentlySecure()) { in launchVoiceAssist() 572 mStatusBar.executeRunnableDismissingKeyguard(runnable, null /* cancelAction */, in launchVoiceAssist() 856 boolean isCameraDisabled = (mStatusBar != null) && !mStatusBar.isCameraAllowedByAdmin(); in getIcon()
|
D | StatusBar.java | 5230 if (mNotificationPanel.mStatusBar.getStatusBarWindow() in onWorkChallengeChanged() 5231 .getHeight() != mNotificationPanel.mStatusBar in onWorkChallengeChanged()
|
/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() 52 when(mStatusBar.isDeviceInteractive()).thenReturn(false); in testVolumeChangeW_deviceNotInteractiveAOD() 53 when(mStatusBar.getWakefulnessState()).thenReturn(WakefulnessLifecycle.WAKEFULNESS_AWAKE); in testVolumeChangeW_deviceNotInteractiveAOD() 60 when(mStatusBar.isDeviceInteractive()).thenReturn(true); in testVolumeChangeW_deviceInteractive() 61 when(mStatusBar.getWakefulnessState()).thenReturn(WakefulnessLifecycle.WAKEFULNESS_AWAKE); in testVolumeChangeW_deviceInteractive() 68 when(mStatusBar.isDeviceInteractive()).thenReturn(true); in testVolumeChangeW_deviceInteractive_StartedSleeping() 69 when(mStatusBar.getWakefulnessState()).thenReturn(WakefulnessLifecycle.WAKEFULNESS_AWAKE); in testVolumeChangeW_deviceInteractive_StartedSleeping() 71 when(mStatusBar.isDeviceInteractive()).thenReturn(false); in testVolumeChangeW_deviceInteractive_StartedSleeping() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarTest.java | 118 TestableStatusBar mStatusBar; field in StatusBarTest 167 mFGSExtender.setCallback(key -> mStatusBar.removeNotification(key, mock(RankingMap.class))); in setup() 168 mStatusBar = new TestableStatusBar(mStatusBarKeyguardViewManager, mUnlockMethodCache, in setup() 172 mStatusBar.mContext = mContext; in setup() 173 mStatusBar.mComponents = mContext.getComponents(); in setup() 190 if (m.getCallback() == mStatusBar.mVisibilityReporter) { in setup() 200 mStatusBar.mCommandQueue = mock(CommandQueue.class); in testSetBouncerShowing_noCrash() 201 mStatusBar.setBouncerShowing(true); in testSetBouncerShowing_noCrash() 209 mStatusBar.executeRunnableDismissingKeyguard(null, null, false, false, false); in executeRunnableDismissingKeyguard_nullRunnable_showingAndOccluded() 217 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()
|
/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/tests/src/com/android/systemui/ |
D | RoundedCornersTest.java | 57 private StatusBar mStatusBar; field in RoundedCornersTest 67 mStatusBar = mock(StatusBar.class); in setup() 70 when(mStatusBar.getStatusBarWindow()).thenReturn(mView); in setup() 71 when(mStatusBar.getNavigationBarWindow()).thenReturn(mView); in setup() 72 mContext.putComponent(StatusBar.class, mStatusBar); in setup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DeadZone.java | 49 private final StatusBar mStatusBar; field in DeadZone 94 mStatusBar = SysUiServiceProvider.getComponent(context, StatusBar.class); in DeadZone() 139 if (mStatusBar != null) mStatusBar.touchAutoDim(); in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
D | CarNavigationBarController.java | 60 private final CarStatusBar mStatusBar; field in CarNavigationBarController 86 mStatusBar = activityStarter; in CarNavigationBarController() 118 if (mPersistentTaskIntent != null && !mStatusBar.hasDockedTask() in taskChanged() 120 mStatusBar.startActivityOnStack(mPersistentTaskIntent, StackId.DOCKED_STACK_ID); in taskChanged() 384 mStatusBar.startActivityOnStack(intent, stackId); in onFacetClicked() 394 mStatusBar.startActivityOnStack(intent, StackId.FULLSCREEN_WORKSPACE_STACK_ID); in onFacetLongClicked()
|
D | UserGridView.java | 53 private StatusBar mStatusBar; field in UserGridView 68 mStatusBar = statusBar; in init() 101 mStatusBar.executeRunnableDismissingKeyguard(null, null, true, true, true); in showOfflineAuthUi()
|
/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 | 450 WindowState mStatusBar = null; field in PhoneWindowManager 890 mStatusBar : mNavigationBar; in handleMessage() 2047 if (mStatusBar != null) { in init() 2048 requestTransientBars(mStatusBar); in init() 3054 if (mStatusBar != null) { in prepareAddWindowLw() 3055 if (mStatusBar.isAlive()) { in prepareAddWindowLw() 3059 mStatusBar = win; in prepareAddWindowLw() 3093 if (mStatusBar == win) { in removeWindowLw() 3094 mStatusBar = null; in removeWindowLw() 3109 if (win == mStatusBar) { in selectAnimationLw() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogControllerImpl.java | 96 protected StatusBar mStatusBar; field in VolumeDialogControllerImpl 336 if (mStatusBar == null) { in updateStatusBar() 337 mStatusBar = SysUiServiceProvider.getComponent(mContext, StatusBar.class); in updateStatusBar() 343 return mStatusBar != null in shouldShowUI() 344 && mStatusBar.getWakefulnessState() != WakefulnessLifecycle.WAKEFULNESS_ASLEEP in shouldShowUI() 345 … && mStatusBar.getWakefulnessState() != WakefulnessLifecycle.WAKEFULNESS_GOING_TO_SLEEP in shouldShowUI() 346 && mStatusBar.isDeviceInteractive() in shouldShowUI()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | NotificationStackScrollLayout.java | 271 private StatusBar mStatusBar; field in NotificationStackScrollLayout 931 mStatusBar.executeRunnableDismissingKeyguard(null, null /* cancelAction */, in handleChildDismissed() 1023 return mStatusBar.isWakeUpComingFromTouch() ? 1.5f : 1.0f; in getFalsingThresholdFactor() 1348 NotificationGuts guts = mStatusBar.getExposedGuts(); in onTouchEvent() 2513 NotificationGuts guts = mStatusBar.getExposedGuts(); in onInterceptTouchEvent() 2517 mStatusBar.closeAndSaveGuts(true /* removeLeavebehind */, false /* force */, in onInterceptTouchEvent() 3360 mStatusBar.closeAndSaveGuts(true /* removeLeavebehind */, false /* force */, in checkSnoozeLeavebehind() 3382 mStatusBar.resetUserExpandedStates(); in onExpansionStopped() 3968 this.mStatusBar = statusBar; in setStatusBar() 4039 mStatusBar.requestNotificationUpdate(); in onGroupCreatedFromChildren() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | InputMethodManagerService.java | 285 private @Nullable StatusBarManagerService mStatusBar; field in InputMethodManagerService 1448 mStatusBar = statusBar; in systemRunning() 1449 if (mStatusBar != null) { in systemRunning() 1450 mStatusBar.setIconVisibility(mSlotIme, false); in systemRunning() 2041 if (mStatusBar != null) { in clearCurMethodLocked() 2042 mStatusBar.setIconVisibility(mSlotIme, false); in clearCurMethodLocked() 2082 if (mStatusBar != null) { in updateStatusIcon() 2083 mStatusBar.setIconVisibility(mSlotIme, false); in updateStatusIcon() 2097 if (mStatusBar != null) { in updateStatusIcon() 2098 mStatusBar.setIcon(mSlotIme, packageName, iconId, 0, in updateStatusIcon() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 279 @Nullable StatusBarManagerInternal mStatusBar; field in NotificationManagerService 1282 mStatusBar = getLocalService(StatusBarManagerInternal.class); in init() 1283 if (mStatusBar != null) { in init() 1284 mStatusBar.setNotificationDelegate(mNotificationDelegate); in init()
|