/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarNotificationActivityStarterTest.java | 105 private ShadeController mShadeController; field in StatusBarNotificationActivityStarterTest 170 mock(NotificationLockscreenUserManager.class), mShadeController, mKeyguardMonitor, in setUp() 181 .when(mShadeController).addAfterKeyguardGoneRunnable(any(Runnable.class)); in setUp() 185 .when(mShadeController).addPostCollapseAction(any(Runnable.class)); in setUp() 204 when(mShadeController.isOccluded()).thenReturn(true); in testOnNotificationClicked_keyGuardShowing() 210 verify(mShadeController, atLeastOnce()).collapsePanel(); in testOnNotificationClicked_keyGuardShowing() 245 verify(mShadeController, atLeastOnce()).collapsePanel(); in testOnNotificationClicked_bubble_noContentIntent_noKeyGuard() 267 when(mShadeController.isOccluded()).thenReturn(true); in testOnNotificationClicked_bubble_noContentIntent_keyGuardShowing() 275 verify(mShadeController, atLeastOnce()).collapsePanel(); in testOnNotificationClicked_bubble_noContentIntent_keyGuardShowing() 297 when(mShadeController.isOccluded()).thenReturn(true); in testOnNotificationClicked_bubble_withContentIntent_keyGuardShowing() [all …]
|
D | StatusBarRemoteInputCallbackTest.java | 56 @Mock private ShadeController mShadeController; field in StatusBarRemoteInputCallbackTest 68 mDependency.injectTestDependency(ShadeController.class, mShadeController); in setUp()
|
D | StatusBarNotificationPresenterTest.java | 63 private ShadeController mShadeController = mock(ShadeController.class); field in StatusBarNotificationPresenterTest 71 mDependency.injectTestDependency(ShadeController.class, mShadeController); in setup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarNotificationActivityStarter.java | 86 private final ShadeController mShadeController; field in StatusBarNotificationActivityStarter 147 mShadeController = shadeController; in StatusBarNotificationActivityStarter() 206 final boolean wasOccluded = mShadeController.isOccluded(); in onNotificationClicked() 259 mShadeController.addPostCollapseAction(runnable); in handleNotificationClickAfterKeyguardDismissed() 260 mShadeController.collapsePanel(true /* animate */); in handleNotificationClickAfterKeyguardDismissed() 262 && mShadeController.isOccluded()) { in handleNotificationClickAfterKeyguardDismissed() 263 mShadeController.addAfterKeyguardGoneRunnable(runnable); in handleNotificationClickAfterKeyguardDismissed() 264 mShadeController.collapsePanel(); in handleNotificationClickAfterKeyguardDismissed() 395 row, mShadeController.isOccluded())), in startNotificationGutsIntent() 464 mShadeController.collapsePanel(); in collapseOnMainThread() [all …]
|
D | StatusBarNotificationPresenter.java | 90 private final ShadeController mShadeController = Dependency.get(ShadeController.class); field in StatusBarNotificationPresenter 190 mShadeController.updateAreThereNotifications(); in StatusBarNotificationPresenter() 195 mShadeController.updateAreThereNotifications(); in StatusBarNotificationPresenter() 313 mShadeController.addPostCollapseAction(this::updateNotificationViews); in updateNotificationViews() 332 mShadeController.goToKeyguard(); in onNotificationRemoved() 336 mShadeController.updateAreThereNotifications(); in onNotificationRemoved() 344 if (mShadeController.isOccluded()) { in canHeadsUp() 370 || mShadeController.isOccluded(); in canHeadsUp() 393 mShadeController.setLockscreenUser(newUserId); in onUserSwitched() 430 mShadeController.onActivationReset(); in onActivationReset() [all …]
|
D | StatusBarRemoteInputCallback.java | 73 private final ShadeController mShadeController = Dependency.get(ShadeController.class); field in StatusBarRemoteInputCallback 114 mShadeController.showBouncer(true /* scrimmed */); in onLockedRemoteInput() 160 mShadeController.postOnShadeExpanded(clickPendingViewRunnable); in onWorkChallengeChanged() 161 mShadeController.instantExpandNotificationsPanel(); in onWorkChallengeChanged() 249 return handled && mShadeController.closeShadeIfOpen(); in handleRemoteViewClick()
|
D | NotificationPanelView.java | 407 private final ShadeController mShadeController = field in NotificationPanelView 519 mPulseExpansionHandler.setUp(mNotificationStackScroller, this, mShadeController); in onFinishInflate() 2838 mShadeController.goToKeyguard(); in onMiddleClicked()
|
D | StatusBar.java | 616 private ShadeController mShadeController; field in StatusBar 1074 mShadeController = Dependency.get(ShadeController.class); in setUpPresenter() 1082 mLockscreenUserManager, mShadeController, mKeyguardMonitor, in setUpPresenter() 4514 mShadeController.isOccluded()))); in startPendingIntentDismissingKeyguard()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationFilter.java | 48 private ShadeController mShadeController; field in NotificationFilter 63 if (mShadeController == null) { in getShadeController() 64 mShadeController = Dependency.get(ShadeController.class); in getShadeController() 66 return mShadeController; in getShadeController()
|
D | NotificationClicker.java | 36 private final ShadeController mShadeController; field in NotificationClicker 43 mShadeController = shadeController; in NotificationClicker() 55 mShadeController.wakeUpIfDozing(SystemClock.uptimeMillis(), v, "NOTIFICATION_CLICK"); in onClick()
|
D | NotificationAlertingManager.java | 47 private final Lazy<ShadeController> mShadeController; field in NotificationAlertingManager 63 mShadeController = shadeController; in NotificationAlertingManager() 105 if (!mShadeController.get().isDozing()) { in showAlertingView()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationViewHierarchyManagerTest.java | 84 @Mock private ShadeController mShadeController; field in NotificationViewHierarchyManagerTest 104 mDependency.injectTestDependency(ShadeController.class, mShadeController); in setUp() 113 () -> mShadeController, in setUp()
|
D | KeyguardIndicationControllerTest.java | 93 private ShadeController mShadeController; field in KeyguardIndicationControllerTest 144 mLockPatternUtils, mWakeLock, mShadeController, mAccessibilityController, in createController() 402 verify(mShadeController).animateCollapsePanels(anyInt(), eq(true)); in lockIcon_click()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationRemoteInputManager.java | 120 private final Lazy<ShadeController> mShadeController; field in NotificationRemoteInputManager 139 mShadeController.get().wakeUpIfDozing(SystemClock.uptimeMillis(), view, 270 mShadeController = shadeController; in NotificationRemoteInputManager()
|
D | NotificationViewHierarchyManager.java | 80 private final Lazy<ShadeController> mShadeController; field in NotificationViewHierarchyManager 120 mShadeController = shadeController; in NotificationViewHierarchyManager()
|
D | NotificationMediaManager.java | 113 private Lazy<ShadeController> mShadeController; field in NotificationMediaManager 201 mShadeController = shadeController; in NotificationMediaManager() 526 ShadeController shadeController = mShadeController.get(); in finishUpdateMediaMetaData()
|
D | KeyguardIndicationController.java | 88 private final ShadeController mShadeController; field in KeyguardIndicationController 163 mShadeController = shadeController; in KeyguardIndicationController() 221 mShadeController.animateCollapsePanels(CommandQueue.FLAG_EXCLUDE_NONE, true /* force */); in handleLockClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Dependency.java | 252 @Inject Lazy<ShadeController> mShadeController; field in Dependency 436 mProviders.put(ShadeController.class, mShadeController::get); in start()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 497 private final ShadeController mShadeController = Dependency.get(ShadeController.class); field in NotificationStackScrollLayout 5567 mShadeController.addPostCollapseAction(() -> { 6371 mShadeController.goToLockedShade(startingChild);
|