Home
last modified time | relevance | path

Searched refs:mShadeController (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarterTest.java105 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 …]
DStatusBarRemoteInputCallbackTest.java56 @Mock private ShadeController mShadeController; field in StatusBarRemoteInputCallbackTest
68 mDependency.injectTestDependency(ShadeController.class, mShadeController); in setUp()
DStatusBarNotificationPresenterTest.java63 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/
DStatusBarNotificationActivityStarter.java86 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 …]
DStatusBarNotificationPresenter.java90 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 …]
DStatusBarRemoteInputCallback.java73 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()
DNotificationPanelView.java407 private final ShadeController mShadeController = field in NotificationPanelView
519 mPulseExpansionHandler.setUp(mNotificationStackScroller, this, mShadeController); in onFinishInflate()
2838 mShadeController.goToKeyguard(); in onMiddleClicked()
DStatusBar.java616 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/
DNotificationFilter.java48 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()
DNotificationClicker.java36 private final ShadeController mShadeController; field in NotificationClicker
43 mShadeController = shadeController; in NotificationClicker()
55 mShadeController.wakeUpIfDozing(SystemClock.uptimeMillis(), v, "NOTIFICATION_CLICK"); in onClick()
DNotificationAlertingManager.java47 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/
DNotificationViewHierarchyManagerTest.java84 @Mock private ShadeController mShadeController; field in NotificationViewHierarchyManagerTest
104 mDependency.injectTestDependency(ShadeController.class, mShadeController); in setUp()
113 () -> mShadeController, in setUp()
DKeyguardIndicationControllerTest.java93 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/
DNotificationRemoteInputManager.java120 private final Lazy<ShadeController> mShadeController; field in NotificationRemoteInputManager
139 mShadeController.get().wakeUpIfDozing(SystemClock.uptimeMillis(), view,
270 mShadeController = shadeController; in NotificationRemoteInputManager()
DNotificationViewHierarchyManager.java80 private final Lazy<ShadeController> mShadeController; field in NotificationViewHierarchyManager
120 mShadeController = shadeController; in NotificationViewHierarchyManager()
DNotificationMediaManager.java113 private Lazy<ShadeController> mShadeController; field in NotificationMediaManager
201 mShadeController = shadeController; in NotificationMediaManager()
526 ShadeController shadeController = mShadeController.get(); in finishUpdateMediaMetaData()
DKeyguardIndicationController.java88 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/
DDependency.java252 @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/
DNotificationStackScrollLayout.java497 private final ShadeController mShadeController = Dependency.get(ShadeController.class); field in NotificationStackScrollLayout
5567 mShadeController.addPostCollapseAction(() -> {
6371 mShadeController.goToLockedShade(startingChild);