/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | CentralSurfacesCommandQueueCallbacks.java | 82 private final CentralSurfaces mCentralSurfaces; field in CentralSurfacesCommandQueueCallbacks 145 mCentralSurfaces = centralSurfaces; in CentralSurfacesCommandQueueCallbacks() 186 mCentralSurfaces.clearTransient(); in abortTransient() 202 QSPanelController qsPanelController = mCentralSurfaces.getQSPanelController(); in clickTile() 253 mCentralSurfaces.resendMessage(CentralSurfaces.MSG_DISMISS_KEYBOARD_SHORTCUTS_MENU); in dismissKeyboardShortcutsMenu() 269 mCentralSurfaces.getDisabled1(), mCentralSurfaces.getDisabled2()), in disable() 275 final int old1 = mCentralSurfaces.getDisabled1(); in disable() 277 mCentralSurfaces.setDisabled1(state1); in disable() 279 final int old2 = mCentralSurfaces.getDisabled2(); in disable() 281 mCentralSurfaces.setDisabled2(state2); in disable() [all …]
|
D | StatusBarKeyguardViewManager.java | 179 mCentralSurfaces.setPrimaryBouncerHiddenFraction(expansion); 185 mCentralSurfaces.setBouncerShowingOverDream( 189 mCentralSurfaces.setPrimaryBouncerHiddenFraction(EXPANSION_HIDDEN); 252 @Nullable protected CentralSurfaces mCentralSurfaces; field in StatusBarKeyguardViewManager 375 mCentralSurfaces = centralSurfaces; in registerCentralSurfaces() 378 ViewGroup container = mCentralSurfaces.getBouncerContainer(); in registerCentralSurfaces() 595 mCentralSurfaces.hideKeyguard(); in showBouncerOrKeyguard() 598 mCentralSurfaces.showKeyguard(); in showBouncerOrKeyguard() 729 mCentralSurfaces.hideKeyguard(); in reset() 765 mCentralSurfaces.updateScrimController(); in updateAlternateBouncerShowing() [all …]
|
D | UnlockedScreenOffAnimationController.kt | 64 private lateinit var mCentralSurfaces: CentralSurfaces variable in com.android.systemui.statusbar.phone.UnlockedScreenOffAnimationController 114 mCentralSurfaces.notificationShadeWindowView, CUJ_SCREEN_OFF) in <lambda>() 131 this.mCentralSurfaces = centralSurfaces in initialize() 187 mCentralSurfaces.updateIsKeyguard() in shouldDelayKeyguardShow() 214 mCentralSurfaces.notificationShadeWindowView, in shouldDelayKeyguardShow() 246 mCentralSurfaces.updateIsKeyguard(true /* forceStateChange */) in onFinishedWakingUp() 268 mCentralSurfaces.notificationPanelViewController.showAodUi() in startAnimation() 316 if ((!this::mCentralSurfaces.isInitialized || in shouldPlayUnlockedScreenOffAnimation() 317 mCentralSurfaces.notificationPanelViewController.isPanelExpanded) && in shouldPlayUnlockedScreenOffAnimation()
|
D | StatusBarNotificationActivityStarter.java | 121 private final CentralSurfaces mCentralSurfaces; field in StatusBarNotificationActivityStarter 189 mCentralSurfaces = centralSurfaces; in StatusBarNotificationActivityStarter() 235 && mCentralSurfaces.shouldAnimateLaunch(isActivityIntent); in onNotificationClicked() 278 && mCentralSurfaces.isOccluded()) { in handleNotificationClickAfterKeyguardDismissed() 437 mCentralSurfaces, in startNotificationIntent() 447 mCentralSurfaces.getDisplayId(), in startNotificationIntent() 451 : getActivityOptions(mCentralSurfaces.getDisplayId(), adapter); in startNotificationIntent() 468 boolean animate = mCentralSurfaces.shouldAnimateLaunch(true /* isActivityIntent */); in startNotificationGutsIntent() 476 mCentralSurfaces, true /* isActivityIntent */); in startNotificationGutsIntent() 483 mCentralSurfaces.getDisplayId(), in startNotificationGutsIntent() [all …]
|
D | DozeServiceHost.java | 95 private CentralSurfaces mCentralSurfaces; field in DozeServiceHost 146 mCentralSurfaces = centralSurfaces; in initialize() 204 mCentralSurfaces.updateIsKeyguard(); in startDozing() 249 mCentralSurfaces.updateNotificationPanelTouchState(); in pulseWhileDozing() 257 mCentralSurfaces.updateNotificationPanelTouchState(); in pulseWhileDozing() 270 mCentralSurfaces.updateScrimController(); in pulseWhileDozing() 277 mCentralSurfaces.updateScrimController(); in pulseWhileDozing() 397 mCentralSurfaces.updateScrimController(); in prepareForGentleSleep() 404 mCentralSurfaces.updateScrimController(); in cancelGentleSleep()
|
D | StatusBarNotificationPresenter.java | 95 private final CentralSurfaces mCentralSurfaces; field in StatusBarNotificationPresenter 147 mCentralSurfaces = centralSurfaces; in StatusBarNotificationPresenter() 228 mCentralSurfaces.setLockscreenUser(newUserId); in onUserSwitched() 277 mCentralSurfaces.wakeUpIfDozing( in onExpandClicked() 347 if (mCentralSurfaces.isOccluded()) { 371 if (mKeyguardStateController.isShowing() && !mCentralSurfaces.isOccluded()) { 396 return mCentralSurfaces.areNotificationAlertsDisabled();
|
D | StatusBarTouchableRegionManager.java | 63 private CentralSurfaces mCentralSurfaces; field in StatusBarTouchableRegionManager 124 mCentralSurfaces = centralSurfaces; in setup() 250 || mCentralSurfaces.isBouncerShowing() in shouldMakeEntireScreenTouchable()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | CentralSurfacesImplTest.java | 206 private CentralSurfacesImpl mCentralSurfaces; field in CentralSurfacesImplTest 436 mCentralSurfaces = new CentralSurfacesImpl( in setup() 533 mCentralSurfaces.initShadeVisibilityListener(); in setup() 550 mCentralSurfaces.mNotificationShadeWindowView = mNotificationShadeWindowView; in setup() 551 mCentralSurfaces.mNotificationPanelViewController = mNotificationPanelViewController; in setup() 552 mCentralSurfaces.mQsController = mQuickSettingsController; in setup() 553 mCentralSurfaces.mDozeScrimController = mDozeScrimController; in setup() 554 mCentralSurfaces.mPresenter = mNotificationPresenter; in setup() 555 mCentralSurfaces.mKeyguardIndicationController = mKeyguardIndicationController; in setup() 556 mCentralSurfaces.mBarService = mBarService; in setup() [all …]
|
D | DozeServiceHostTest.java | 86 @Mock private CentralSurfaces mCentralSurfaces; field in DozeServiceHostTest 108 mCentralSurfaces, in setup() 126 verify(mCentralSurfaces).updateIsKeyguard(); in testStartStopDozing() 135 mCentralSurfaces.setBarStateForTest(StatusBarState.KEYGUARD); in testPulseWhileDozing_updatesScrimController() 136 mCentralSurfaces.showKeyguardImpl(); in testPulseWhileDozing_updatesScrimController() 154 verify(mCentralSurfaces).updateScrimController(); in testPulseWhileDozing_updatesScrimController() 155 reset(mCentralSurfaces); in testPulseWhileDozing_updatesScrimController() 159 verify(mCentralSurfaces).updateScrimController(); in testPulseWhileDozing_updatesScrimController()
|
D | CentralSurfacesCommandQueueCallbacksTest.java | 75 @Mock private CentralSurfaces mCentralSurfaces; field in CentralSurfacesCommandQueueCallbacksTest 107 mCentralSurfaces, in setup() 145 when(mCentralSurfaces.getDisabled1()).thenReturn(StatusBarManager.DISABLE_NONE); in testDisableNotificationShade() 146 when(mCentralSurfaces.getDisabled2()).thenReturn(StatusBarManager.DISABLE_NONE); in testDisableNotificationShade() 151 verify(mCentralSurfaces).updateQsExpansionEnabled(); in testDisableNotificationShade() 163 when(mCentralSurfaces.getDisabled1()).thenReturn(StatusBarManager.DISABLE_NONE); in testEnableNotificationShade() 164 when(mCentralSurfaces.getDisabled2()) in testEnableNotificationShade() 169 verify(mCentralSurfaces).updateQsExpansionEnabled(); in testEnableNotificationShade()
|
D | StatusBarKeyguardViewManagerTest.java | 108 @Mock private CentralSurfaces mCentralSurfaces; field in StatusBarKeyguardViewManagerTest 152 when(mCentralSurfaces.getBouncerContainer()).thenReturn(mContainer); in setUp() 162 when(mCentralSurfaces.getNotificationShadeWindowView()) in setUp() 199 mCentralSurfaces, in setUp() 402 when(mCentralSurfaces.isLaunchingActivityOverLockscreen()).thenReturn(true); in setOccluded_isLaunchingActivityOverLockscreen_onKeyguardOccludedChangedCalled() 571 when(mCentralSurfaces.shouldKeyguardHideImmediately()).thenReturn(true); in testPredictiveBackCallback_invocationHidesBouncer() 576 verify(mCentralSurfaces).setBouncerShowing(eq(false)); in testPredictiveBackCallback_invocationHidesBouncer() 627 verify(mCentralSurfaces).setBouncerShowingOverDream(false); in testReportBouncerOnDreamWhenVisible() 628 Mockito.clearInvocations(mCentralSurfaces); in testReportBouncerOnDreamWhenVisible() 631 verify(mCentralSurfaces).setBouncerShowingOverDream(true); in testReportBouncerOnDreamWhenVisible() [all …]
|
D | StatusBarNotificationPresenterTest.java | 86 private final CentralSurfaces mCentralSurfaces = mock(CentralSurfaces.class); field in StatusBarNotificationPresenterTest 126 mCentralSurfaces, in setup() 211 when(mCentralSurfaces.isOccluded()).thenReturn(true); in testNoSuppressHeadsUp_FSI_occludedKeygaurd() 230 when(mCentralSurfaces.isOccluded()).thenReturn(false); in testSuppressHeadsUp_FSI_nonOccludedKeygaurd() 249 when(mCentralSurfaces.isOccluded()).thenReturn(false); in testNoSuppressHeadsUp_FSI_nonOccludedKeygaurd_withNewFlag() 277 when(mCentralSurfaces.areNotificationAlertsDisabled()).thenReturn(true); in testSuppressInterruptions_statusBarAlertsDisabled()
|
D | UnlockedScreenOffAnimationControllerTest.kt | 66 private lateinit var mCentralSurfaces: CentralSurfaces variable in com.android.systemui.statusbar.phone.UnlockedScreenOffAnimationControllerTest 98 controller.initialize(mCentralSurfaces, lightRevealScrim) in setUp() 99 `when`(mCentralSurfaces.notificationPanelViewController).thenReturn( in setUp()
|
D | StatusBarNotificationActivityStarterTest.java | 125 private CentralSurfaces mCentralSurfaces; field in StatusBarNotificationActivityStarterTest 233 mCentralSurfaces, in setUp() 275 when(mCentralSurfaces.isOccluded()).thenReturn(true); in testOnNotificationClicked_keyGuardShowing() 341 when(mCentralSurfaces.isOccluded()).thenReturn(true); in testOnNotificationClicked_bubble_noContentIntent_keyGuardShowing() 369 when(mCentralSurfaces.isOccluded()).thenReturn(true); in testOnNotificationClicked_bubble_withContentIntent_keyGuardShowing() 407 verify(mCentralSurfaces).wakeUpForFullScreenIntent(); in testOnFullScreenIntentWhenDozing_wakeUpDevice()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/touch/ |
D | ShadeTouchHandlerTest.java | 49 CentralSurfaces mCentralSurfaces; field in ShadeTouchHandlerTest 64 mTouchHandler = new ShadeTouchHandler(Optional.of(mCentralSurfaces), in setup() 66 when(mCentralSurfaces.getNotificationPanelViewController()) in setup() 75 when(mCentralSurfaces.isBouncerShowing()).thenReturn(true); in testInactiveOnBouncer()
|
D | BouncerSwipeTouchHandlerTest.java | 66 CentralSurfaces mCentralSurfaces; field in BouncerSwipeTouchHandlerTest 114 Optional.of(mCentralSurfaces), in setup() 124 when(mCentralSurfaces.isBouncerShowing()).thenReturn(false); in setup() 175 when(mCentralSurfaces.isBouncerShowing()).thenReturn(true); in testSwipeUp_whenBouncerInitiallyShowing_doesNotSetExpansion() 242 when(mCentralSurfaces.isBouncerShowing()).thenReturn(true); in testSwipeUp_setsCorrectExpansionAmount() 251 when(mCentralSurfaces.isBouncerShowing()).thenReturn(true); in testSwipeDown_setsCorrectExpansionAmount() 264 when(mCentralSurfaces.isBouncerShowing()).thenReturn(false); in testSwipeDown_setsCorrectExpansionAmount() 352 when(mCentralSurfaces.isBouncerShowing()).thenReturn(true); in testSwipeDownPositionAboveThreshold_expandsBouncer_doesNotLog() 377 when(mCentralSurfaces.isBouncerShowing()).thenReturn(true); in testSwipeDownVelocityAboveMin_collapsesBouncer() 443 Mockito.clearInvocations(mCentralSurfaces); in testInformBouncerHidingOnCollapse()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ActionProxyReceiver.java | 51 private final CentralSurfaces mCentralSurfaces; field in ActionProxyReceiver 61 mCentralSurfaces = centralSurfacesOptional.orElse(null); in ActionProxyReceiver() 95 if (mCentralSurfaces != null) { in onReceive() 96 mCentralSurfaces.executeRunnableDismissingKeyguard(startActivityRunnable, null, in onReceive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | QsFrameTranslateController.java | 30 protected CentralSurfaces mCentralSurfaces; field in QsFrameTranslateController 33 mCentralSurfaces = centralSurfaces; in QsFrameTranslateController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/touch/ |
D | BouncerSwipeTouchHandler.java | 84 private final Optional<CentralSurfaces> mCentralSurfaces; field in BouncerSwipeTouchHandler 124 mBouncerInitiallyShowing = mCentralSurfaces 150 if (!mCentralSurfaces.isPresent()) { 213 mCentralSurfaces = centralSurfaces; in BouncerSwipeTouchHandler() 229 if (mCentralSurfaces.map(CentralSurfaces::isBouncerShowing).orElse(false)) { in getTouchInitiationRegion() 350 if (!mCentralSurfaces.isPresent()) { in flingToExpansion()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialogLiteTest.java | 125 @Mock private CentralSurfaces mCentralSurfaces; field in GlobalActionsDialogLiteTest 173 Optional.of(mCentralSurfaces), in setUp() 299 doReturn(true).when(mCentralSurfaces).isKeyguardShowing(); in testSwipeDownLockscreen_logAndOpenQS() 314 verify(mCentralSurfaces).animateExpandSettingsPanel(null); in testSwipeDownLockscreen_logAndOpenQS() 323 doReturn(false).when(mCentralSurfaces).isKeyguardShowing(); in testSwipeDown_logAndOpenNotificationShade() 338 verify(mCentralSurfaces).animateExpandNotificationsPanel(); in testSwipeDown_logAndOpenNotificationShade() 533 doReturn(false).when(mCentralSurfaces).isKeyguardShowing(); in testOnLockScreen_disableSmartLock()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | LockscreenShadeTransitionControllerTest.kt | 77 @Mock lateinit var mCentralSurfaces: CentralSurfaces variable in com.android.systemui.statusbar.LockscreenShadeTransitionControllerTest 132 transitionController.centralSurfaces = mCentralSurfaces in setup() 144 clearInvocations(mCentralSurfaces) in setup() 201 whenever(mCentralSurfaces.isShadeDisabled).thenReturn(true) in testDontGoWhenShadeDisabled() 219 verify(mCentralSurfaces).showBouncerWithDimissAndCancelIfKeyguard(anyObject(), anyObject()) in testTriggeringBouncerNoNotificationsOnLockscreen()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/ |
D | NavigationBarTest.java | 197 private CentralSurfaces mCentralSurfaces; field in NavigationBarTest 256 () -> mock(AssistManager.class), () -> Optional.of(mCentralSurfaces), in setup() 342 doReturn(mockShadeWindowView).when(mCentralSurfaces).getNotificationShadeWindowView(); in testSetImeWindowStatusWhenImeSwitchOnDisplay() 378 doReturn(mockShadeWindowView).when(mCentralSurfaces).getNotificationShadeWindowView(); in testSetImeWindowStatusWhenKeyguardLockingAndImeInsetsChange() 484 () -> Optional.of(mCentralSurfaces), in createNavBar()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | AuthRippleControllerTest.kt | 69 @Mock private lateinit var mCentralSurfaces: CentralSurfaces variable in com.android.systemui.biometrics.AuthRippleControllerTest 100 mCentralSurfaces, in setUp() 118 `when`(mCentralSurfaces.lightRevealScrim).thenReturn(lightRevealScrim) in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | KeyguardViewMediatorTest.java | 143 private @Mock CentralSurfaces mCentralSurfaces; field in KeyguardViewMediatorTest 348 verify(mCentralSurfaces).updateIsKeyguard(); in testUpdateIsKeyguardAfterOccludeAnimationEnds() 358 verify(mCentralSurfaces).updateIsKeyguard(); in testUpdateIsKeyguardAfterOccludeAnimationIsCancelled() 551 mViewMediator.registerCentralSurfaces(mCentralSurfaces, null, null, null, null, null); in createAndStartViewMediator()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
D | NotificationShadeWindowViewTest.java | 84 @Mock private CentralSurfaces mCentralSurfaces; field in NotificationShadeWindowViewTest 146 mCentralSurfaces, in setUp()
|