/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarNotificationActivityStarterTest.java | 105 private ShadeController mShadeController; field in StatusBarNotificationActivityStarterTest 172 mock(NotificationLockscreenUserManager.class), mShadeController, mKeyguardMonitor, in setUp() 183 .when(mShadeController).addAfterKeyguardGoneRunnable(any(Runnable.class)); in setUp() 187 .when(mShadeController).addPostCollapseAction(any(Runnable.class)); in setUp() 206 when(mShadeController.isOccluded()).thenReturn(true); in testOnNotificationClicked_keyGuardShowing() 212 verify(mShadeController, atLeastOnce()).collapsePanel(); in testOnNotificationClicked_keyGuardShowing() 247 verify(mShadeController, atLeastOnce()).collapsePanel(); in testOnNotificationClicked_bubble_noContentIntent_noKeyGuard() 269 when(mShadeController.isOccluded()).thenReturn(true); in testOnNotificationClicked_bubble_noContentIntent_keyGuardShowing() 277 verify(mShadeController, atLeastOnce()).collapsePanel(); in testOnNotificationClicked_bubble_noContentIntent_keyGuardShowing() 299 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 | 62 private ShadeController mShadeController = mock(ShadeController.class); field in StatusBarNotificationPresenterTest 70 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() 465 mShadeController.collapsePanel(); in collapseOnMainThread() [all …]
|
D | StatusBarNotificationPresenter.java | 90 private final ShadeController mShadeController = Dependency.get(ShadeController.class); field in StatusBarNotificationPresenter 191 mShadeController.updateAreThereNotifications(); in StatusBarNotificationPresenter() 196 mShadeController.updateAreThereNotifications(); in StatusBarNotificationPresenter() 315 mShadeController.addPostCollapseAction(this::updateNotificationViews); in updateNotificationViews() 334 mShadeController.goToKeyguard(); in onNotificationRemoved() 338 mShadeController.updateAreThereNotifications(); in onNotificationRemoved() 346 if (mShadeController.isDozing()) { in canHeadsUp() 350 if (mShadeController.isOccluded()) { in canHeadsUp() 375 || mShadeController.isOccluded(); in canHeadsUp() 398 mShadeController.setLockscreenUser(newUserId); in onUserSwitched() [all …]
|
D | StatusBarRemoteInputCallback.java | 72 private final ShadeController mShadeController = Dependency.get(ShadeController.class); field in StatusBarRemoteInputCallback 109 mShadeController.showBouncer(true /* scrimmed */); in onLockedRemoteInput() 155 mShadeController.postOnShadeExpanded(clickPendingViewRunnable); in onWorkChallengeChanged() 156 mShadeController.instantExpandNotificationsPanel(); in onWorkChallengeChanged() 244 return handled && mShadeController.closeShadeIfOpen(); in handleRemoteViewClick()
|
D | NotificationPanelView.java | 337 private final ShadeController mShadeController = field in NotificationPanelView 418 mPulseExpansionHandler.setUp(mNotificationStackScroller, this, mShadeController); in onFinishInflate() 2530 mShadeController.goToKeyguard(); in onMiddleClicked()
|
D | StatusBar.java | 597 private ShadeController mShadeController; field in StatusBar 1070 mShadeController = Dependency.get(ShadeController.class); in setUpPresenter() 1078 mLockscreenUserManager, mShadeController, mKeyguardMonitor, in setUpPresenter() 4358 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 | 51 private final Lazy<ShadeController> mShadeController; field in NotificationAlertingManager 69 mShadeController = shadeController; in NotificationAlertingManager() 130 if (mShadeController.get().isDozing()) { in updateAlertState()
|
D | NotificationInterruptionStateProvider.java | 66 private ShadeController mShadeController; field in NotificationInterruptionStateProvider 137 if (mShadeController == null) { in getShadeController() 138 mShadeController = Dependency.get(ShadeController.class); in getShadeController() 140 return mShadeController; in getShadeController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | PulseExpansionHandler.kt | 57 private var mShadeController: ShadeController? = null in <lambda>() variable 155 mShadeController!!.goToLockedShade(mStartingChild) in <lambda>() 259 mShadeController = shadeController in <lambda>()
|
D | NotificationViewHierarchyManager.java | 79 private final Lazy<ShadeController> mShadeController; field in NotificationViewHierarchyManager 116 mShadeController = shadeController; in NotificationViewHierarchyManager() 393 entry.getRow().setOnAmbient(mShadeController.get().isDozing()); in updateRowStatesInternal()
|
D | NotificationRemoteInputManager.java | 119 private final Lazy<ShadeController> mShadeController; field in NotificationRemoteInputManager 137 mShadeController.get().wakeUpIfDozing(SystemClock.uptimeMillis(), view, 267 mShadeController = shadeController; in NotificationRemoteInputManager()
|
D | KeyguardIndicationController.java | 85 private final ShadeController mShadeController; field in KeyguardIndicationController 155 mShadeController = shadeController; in KeyguardIndicationController() 210 mShadeController.animateCollapsePanels(CommandQueue.FLAG_EXCLUDE_NONE, true /* force */); in handleLockClick()
|
D | NotificationMediaManager.java | 98 private Lazy<ShadeController> mShadeController; field in NotificationMediaManager 184 mShadeController = shadeController; in NotificationMediaManager() 505 ShadeController shadeController = mShadeController.get(); in finishUpdateMediaMetaData()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerTest.java | 86 private ShadeController mShadeController; field in KeyguardIndicationControllerTest 125 mLockPatternUtils, mWakeLock, mShadeController, mAccessibilityController, in createController() 260 verify(mShadeController).animateCollapsePanels(anyInt(), eq(true)); in lockIcon_click()
|
D | NotificationViewHierarchyManagerTest.java | 83 @Mock private ShadeController mShadeController; field in NotificationViewHierarchyManagerTest 103 mDependency.injectTestDependency(ShadeController.class, mShadeController); in setUp() 112 … () -> mShadeController, new BubbleData(mContext), mock(DynamicPrivacyController.class)); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Dependency.java | 258 @Inject Lazy<ShadeController> mShadeController; field in Dependency 431 mProviders.put(ShadeController.class, mShadeController::get); in start()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 500 private final ShadeController mShadeController = Dependency.get(ShadeController.class); field in NotificationStackScrollLayout 5582 mShadeController.addPostCollapseAction(() -> { 6363 mShadeController.goToLockedShade(startingChild);
|