Home
last modified time | relevance | path

Searched refs:KEYGUARD (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockSwitchTest.java106 mKeyguardClockSwitch.setClockPlugin(plugin, StatusBarState.KEYGUARD); in onPluginConnected_showPluginClock()
118 mKeyguardClockSwitch.setClockPlugin(plugin, StatusBarState.KEYGUARD); in onPluginConnected_showPluginBigClock()
128 mKeyguardClockSwitch.setClockPlugin(plugin, StatusBarState.KEYGUARD); in onPluginConnected_nullView()
137 mKeyguardClockSwitch.setClockPlugin(plugin1, StatusBarState.KEYGUARD); in onPluginConnected_showSecondPluginClock()
141 mKeyguardClockSwitch.setClockPlugin(plugin2, StatusBarState.KEYGUARD); in onPluginConnected_showSecondPluginClock()
153 mKeyguardClockSwitch.setClockPlugin(plugin, StatusBarState.KEYGUARD); in onPluginConnected_darkAmountInitialized()
164 mKeyguardClockSwitch.setClockPlugin(plugin, StatusBarState.KEYGUARD); in onPluginDisconnected_showDefaultClock()
167 mKeyguardClockSwitch.setClockPlugin(null, StatusBarState.KEYGUARD); in onPluginDisconnected_showDefaultClock()
180 mKeyguardClockSwitch.setClockPlugin(plugin, StatusBarState.KEYGUARD); in onPluginDisconnected_hidePluginBigClock()
181 mKeyguardClockSwitch.setClockPlugin(null, StatusBarState.KEYGUARD); in onPluginDisconnected_hidePluginBigClock()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardVisibilityHelper.java19 import static com.android.systemui.statusbar.StatusBarState.KEYGUARD;
76 if ((!keyguardFadingAway && oldStatusBarState == KEYGUARD in setViewVisibility()
77 && statusBarState != KEYGUARD) || goingToFullShade) { in setViewVisibility()
92 } else if (oldStatusBarState == StatusBarState.SHADE_LOCKED && statusBarState == KEYGUARD) { in setViewVisibility()
102 } else if (statusBarState == KEYGUARD) { in setViewVisibility()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarState.java32 public static final int KEYGUARD = 1; field in StatusBarState
52 case KEYGUARD: in toShortString()
DStatusBarStateEvent.java59 case StatusBarState.KEYGUARD: in fromState()
DLockscreenShadeTransitionController.kt165 if (statusBarStateController.state == StatusBarState.KEYGUARD) { in <lambda>()
176 return (statusBarStateController.state == StatusBarState.KEYGUARD || in <lambda>()
260 get() = statusBarStateController.state == StatusBarState.KEYGUARD in <lambda>()
287 get() = (statusBarStateController.getState() == StatusBarState.KEYGUARD && in <lambda>()
382 if (statusBarStateController.state == StatusBarState.KEYGUARD) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaHierarchyManagerTest.kt171 `when`(statusBarStateController.state).thenReturn(StatusBarState.KEYGUARD) in testGoingToFullShade()
174 statusBarCallback.value.onStatePreChange(StatusBarState.SHADE, StatusBarState.KEYGUARD) in testGoingToFullShade()
204 `when`(statusBarStateController.state).thenReturn(StatusBarState.KEYGUARD) in testTransformationOnLockScreenIsFading()
207 statusBarCallback.value.onStatePreChange(StatusBarState.SHADE, StatusBarState.KEYGUARD) in testTransformationOnLockScreenIsFading()
220 `when`(statusBarStateController.state).thenReturn(StatusBarState.KEYGUARD) in testTransformationOnLockScreenToQQSisFading()
223 statusBarCallback.value.onStatePreChange(StatusBarState.SHADE, StatusBarState.KEYGUARD) in testTransformationOnLockScreenToQQSisFading()
228 statusBarCallback.value.onStatePreChange(StatusBarState.KEYGUARD, in testTransformationOnLockScreenToQQSisFading()
DKeyguardMediaControllerTest.kt70 whenever(statusBarStateController.state).thenReturn(StatusBarState.KEYGUARD) in setup()
101 testStateVisibility(StatusBarState.KEYGUARD, VISIBLE) in testVisibleOnKeyguardOrFullScreenUserSwitcher()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dagger/
DMediaModule.java35 String KEYGUARD = "media_keyguard"; field
60 @Named(KEYGUARD)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DScrimControllerTest.java235 mScrimController.transitionTo(ScrimState.KEYGUARD); in setup()
251 mScrimController.transitionTo(ScrimState.KEYGUARD); in transitionToKeyguard()
400 mScrimController.transitionTo(ScrimState.KEYGUARD); in transitionToAod_withFrontAlphaUpdates()
447 mScrimController.transitionTo(ScrimState.KEYGUARD); in transitionToAod_afterDocked_ignoresAlwaysOnAndUpdatesFrontAlpha()
466 mScrimController.transitionTo(ScrimState.KEYGUARD); in transitionToAod_afterDocked_ignoresAlwaysOnAndUpdatesFrontAlpha()
911 mScrimController.transitionTo(ScrimState.KEYGUARD); in testWillHideAodWallpaper()
950 mScrimController.transitionTo(ScrimState.KEYGUARD); in testCancelsOldAnimationBeforeBlanking()
961 mScrimController.transitionTo(ScrimState.KEYGUARD); in testScrimFocus()
1018 ScrimState.AOD.prepare(ScrimState.KEYGUARD); in testAnimatesTransitionToAod()
1024 ScrimState.AOD.prepare(ScrimState.KEYGUARD); in testAnimatesTransitionToAod()
[all …]
DStatusBarTest.java741 mStatusBar.setBarStateForTest(StatusBarState.KEYGUARD); in testPanelOpenAndNoClear()
793 mStatusBar.setBarStateForTest(StatusBarState.KEYGUARD); in testUpdateKeyguardState_DoesNotCrash()
826 mStatusBar.setBarStateForTest(StatusBarState.KEYGUARD); in testPulseWhileDozing_updatesScrimController()
837 verify(mScrimController).transitionTo(eq(ScrimState.KEYGUARD)); in testPulseWhileDozing_updatesScrimController()
842 mStatusBar.setBarStateForTest(StatusBarState.KEYGUARD); in testSetState_changesIsFullScreenUserSwitcherState()
858 eq(StatusBarState.KEYGUARD), eq(false) /* force */); in testShowKeyguardImplementation_setsState()
869 mStatusBar.setBarStateForTest(StatusBarState.KEYGUARD); in testOnStartedWakingUp_isNotDozing()
884 mStatusBar.setBarStateForTest(StatusBarState.KEYGUARD); in testOnStartedWakingUp_doesNotDismissBouncer_whenPulsing()
DDozeServiceHostTest.java114 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testStartStopDozing()
130 mStatusBar.setBarStateForTest(StatusBarState.KEYGUARD); in testPulseWhileDozing_updatesScrimController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaHierarchyManager.kt249 if (bypassController.bypassEnabled || statusbarState != StatusBarState.KEYGUARD) {
275 statusbarState == StatusBarState.KEYGUARD
545 (statusbarState == StatusBarState.KEYGUARD || in updateDesiredLocation()
674 if (statusbarState == StatusBarState.KEYGUARD && (currentLocation == LOCATION_LOCKSCREEN || in shouldAnimateTransition()
794 if (statusbarState != StatusBarState.KEYGUARD && progress >= 0) { in getTransformationProgress()
808 if (previousHost.visible || statusbarState != StatusBarState.KEYGUARD) { in getQSTransformationProgress()
933 (statusbarState == StatusBarState.KEYGUARD || in calculateLocation()
996 statusBarStateController.state == StatusBarState.KEYGUARD && in isLockScreenVisibleToUser()
1006 (statusBarStateController.state == StatusBarState.KEYGUARD && qsExpanded)) in isLockScreenShadeVisibleToUser()
DKeyguardMediaController.kt25 import com.android.systemui.media.dagger.MediaModule.KEYGUARD
44 @param:Named(KEYGUARD) private val mediaHost: MediaHost,
164 val keyguardOrUserSwitcher = (statusBarStateController.state == StatusBarState.KEYGUARD || in refreshMediaPosition()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DUdfpsKeyguardViewControllerTest.java177 sendStatusBarStateChanged(StatusBarState.KEYGUARD); in testShouldPauseAuthBouncerShowing()
188 sendStatusBarStateChanged(StatusBarState.KEYGUARD); in testShouldNotPauseAuthOnKeyguard()
224 mStatusBarStateListener.onStatePreChange(StatusBarState.SHADE, StatusBarState.KEYGUARD); in testShouldPauseAuthAnimatingScreenOffFromShade()
238 sendStatusBarStateChanged(StatusBarState.KEYGUARD); in testDoNotPauseAuthAnimatingScreenOffFromLS()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBypassController.kt123 if (newState != StatusBarState.KEYGUARD) { in onStateChanged()
182 statusBarStateController.state != StatusBarState.KEYGUARD -> false in canBypass()
197 statusBarStateController.state != StatusBarState.KEYGUARD -> false in canPlaySubtleWindowAnimations()
DNotificationPanelViewController.java28 import static com.android.systemui.statusbar.StatusBarState.KEYGUARD;
287 mBarState == KEYGUARD
1776 mBarState == KEYGUARD ? MetricsEvent.ACTION_LS_QS in logQsSwipeDown()
1832 && mBarState != KEYGUARD && !mQsExpanded && isQsExpansionEnabled()) { in handleQsTouch()
2177 } else if (statusBarState == KEYGUARD in setKeyguardBottomAreaVisibility()
2189 mBarState != KEYGUARD in updateQsState()
2215 if (mBarState == StatusBarState.SHADE_LOCKED || mBarState == KEYGUARD) { in setQsExpansion()
2464 } else if (mBarState == KEYGUARD) { in determineAccessibilityPaneTitle()
2485 int max = mBarState == KEYGUARD ? Math.max( in calculateNotificationsTopPadding()
2600 if (mBarState == KEYGUARD) { in setKeyguardOnlyContentAlpha()
[all …]
DHeadsUpManagerPhone.java385 pin |= mStatusBarState == StatusBarState.KEYGUARD; in shouldHeadsUpBecomePinned()
460 } else if (mIsAutoHeadsUp && mStatusBarState == StatusBarState.KEYGUARD) { in setEntry()
575 boolean wasKeyguard = mStatusBarState == StatusBarState.KEYGUARD;
576 boolean isKeyguard = newState == StatusBarState.KEYGUARD;
DScrimState.java64 KEYGUARD { enumConstant
76 } else if (previousState == ScrimState.KEYGUARD) { in prepare()
DNotificationShadeWindowControllerImpl.java298 boolean onKeyguard = state.mStatusBarState == StatusBarState.KEYGUARD in applyKeyguardFlags()
312 && state.mStatusBarState == StatusBarState.KEYGUARD in applyKeyguardFlags()
406 && state.mStatusBarState == StatusBarState.KEYGUARD in applyUserActivityTimeout()
417 && state.mStatusBarState == StatusBarState.KEYGUARD in applyInputFeatures()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationWakeUpCoordinator.kt71 private var state: Int = StatusBarState.KEYGUARD
134 statusBarStateController.state == StatusBarState.KEYGUARD
269 state == StatusBarState.KEYGUARD && in onStateChanged()
287 newState == StatusBarState.KEYGUARD && state == StatusBarState.SHADE_LOCKED && in onStateChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRowController.java21 import static com.android.systemui.statusbar.StatusBarState.KEYGUARD;
185 mView.setOnKeyguard(mStatusBarStateController.getState() == KEYGUARD); in init()
201 mView.setOnKeyguard(newState == KEYGUARD);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarStateEventTest.kt42 StatusBarState.KEYGUARD, in <lambda>()
DStatusBarStateControllerImplTest.kt47 controller.state = StatusBarState.KEYGUARD in testChangeState_logged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationSectionsManagerTest.java275 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testHeaderNotShownOnLockscreen()
292 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testHeaderShownWhenEnterLockscreen()
317 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testHeaderHiddenWhenEnterLockscreen()
444 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testMediaControls_AddWhenEnterKeyguard()
463 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testMediaControls_AddWhenEnterKeyguardWithHeadsUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsKeyguardViewController.java19 import static com.android.systemui.statusbar.StatusBarState.KEYGUARD;
192 if (mStatusBarState != KEYGUARD) { in shouldPauseAuth()

123