Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarterTest.java105 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 …]
DStatusBarRemoteInputCallbackTest.java56 @Mock private ShadeController mShadeController; field in StatusBarRemoteInputCallbackTest
68 mDependency.injectTestDependency(ShadeController.class, mShadeController); in setUp()
DStatusBarNotificationPresenterTest.java62 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/
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()
465 mShadeController.collapsePanel(); in collapseOnMainThread()
[all …]
DStatusBarNotificationPresenter.java90 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 …]
DStatusBarRemoteInputCallback.java72 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()
DNotificationPanelView.java337 private final ShadeController mShadeController = field in NotificationPanelView
418 mPulseExpansionHandler.setUp(mNotificationStackScroller, this, mShadeController); in onFinishInflate()
2530 mShadeController.goToKeyguard(); in onMiddleClicked()
DStatusBar.java597 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/
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.java51 private final Lazy<ShadeController> mShadeController; field in NotificationAlertingManager
69 mShadeController = shadeController; in NotificationAlertingManager()
130 if (mShadeController.get().isDozing()) { in updateAlertState()
DNotificationInterruptionStateProvider.java66 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/
DPulseExpansionHandler.kt57 private var mShadeController: ShadeController? = null in <lambda>() variable
155 mShadeController!!.goToLockedShade(mStartingChild) in <lambda>()
259 mShadeController = shadeController in <lambda>()
DNotificationViewHierarchyManager.java79 private final Lazy<ShadeController> mShadeController; field in NotificationViewHierarchyManager
116 mShadeController = shadeController; in NotificationViewHierarchyManager()
393 entry.getRow().setOnAmbient(mShadeController.get().isDozing()); in updateRowStatesInternal()
DNotificationRemoteInputManager.java119 private final Lazy<ShadeController> mShadeController; field in NotificationRemoteInputManager
137 mShadeController.get().wakeUpIfDozing(SystemClock.uptimeMillis(), view,
267 mShadeController = shadeController; in NotificationRemoteInputManager()
DKeyguardIndicationController.java85 private final ShadeController mShadeController; field in KeyguardIndicationController
155 mShadeController = shadeController; in KeyguardIndicationController()
210 mShadeController.animateCollapsePanels(CommandQueue.FLAG_EXCLUDE_NONE, true /* force */); in handleLockClick()
DNotificationMediaManager.java98 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/
DKeyguardIndicationControllerTest.java86 private ShadeController mShadeController; field in KeyguardIndicationControllerTest
125 mLockPatternUtils, mWakeLock, mShadeController, mAccessibilityController, in createController()
260 verify(mShadeController).animateCollapsePanels(anyInt(), eq(true)); in lockIcon_click()
DNotificationViewHierarchyManagerTest.java83 @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/
DDependency.java258 @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/
DNotificationStackScrollLayout.java500 private final ShadeController mShadeController = Dependency.get(ShadeController.class); field in NotificationStackScrollLayout
5582 mShadeController.addPostCollapseAction(() -> {
6363 mShadeController.goToLockedShade(startingChild);