Home
last modified time | relevance | path

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

12

/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()
DNotificationMediaManager.java19 import static com.android.systemui.statusbar.StatusBarState.KEYGUARD;
522 allowWhenShade = mStatusBarStateController.getState() == KEYGUARD; in finishUpdateMediaMetaData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBypassController.kt81 if (newState != StatusBarState.KEYGUARD) { in onStateChanged()
129 statusBarStateController.state != StatusBarState.KEYGUARD -> false in canBypass()
144 statusBarStateController.state != StatusBarState.KEYGUARD -> false in canPlaySubtleWindowAnimations()
DNotificationPanelView.java185 boolean keyguardOrShadeLocked = mBarState == StatusBarState.KEYGUARD
805 if (mBarState != StatusBarState.KEYGUARD) { in positionClockAndNotifications()
1168 final int gesture = mBarState == StatusBarState.KEYGUARD in logQsSwipeDown()
1282 && mBarState != StatusBarState.KEYGUARD && !mQsExpanded in handleQsTouch()
1574 boolean keyguardShowing = statusBarState == StatusBarState.KEYGUARD; in onStateChanged()
1581 if (oldState == StatusBarState.KEYGUARD in onStateChanged()
1588 && statusBarState == StatusBarState.KEYGUARD) { in onStateChanged()
1719 } else if (statusBarState == StatusBarState.KEYGUARD in setKeyguardBottomAreaVisibility()
1732 if ((!keyguardFadingAway && mBarState == StatusBarState.KEYGUARD in setKeyguardStatusViewVisibility()
1733 && statusBarState != StatusBarState.KEYGUARD) || goingToFullShade) { in setKeyguardStatusViewVisibility()
[all …]
DScrimState.java38 KEYGUARD(0) { enumConstant
51 } else if (previousState == ScrimState.KEYGUARD) { in prepare()
DHeadsUpManagerPhone.java234 boolean wasKeyguard = mStatusBarState == StatusBarState.KEYGUARD; in onStateChanged()
235 boolean isKeyguard = newState == StatusBarState.KEYGUARD; in onStateChanged()
454 pin |= mStatusBarState == StatusBarState.KEYGUARD; in shouldHeadsUpBecomePinned()
529 } else if (mIsAutoHeadsUp && mStatusBarState == StatusBarState.KEYGUARD) { in setEntry()
DStatusBar.java575 if (mState == StatusBarState.KEYGUARD) {
1449 mReportRejectedTouch.setVisibility(mState == StatusBarState.KEYGUARD && !mDozing in updateReportRejectedTouchVisibility()
1581 return mStatusBarStateController.getState() == StatusBarState.KEYGUARD; in isFalsingThresholdNeeded()
1616 && mState == StatusBarState.KEYGUARD; in onHeadsUpPinnedModeChanged()
1665 if (isExpanded && mStatusBarStateController.getState() != StatusBarState.KEYGUARD) { in setPanelExpanded()
3116 mStatusBarStateController.setState(StatusBarState.KEYGUARD); in showKeyguardImpl()
3127 if (mState == StatusBarState.KEYGUARD && mBiometricUnlockController.getMode() in updatePanelExpansionForKeyguard()
3363 if (mState == StatusBarState.KEYGUARD) { in userActivity()
3369 return mState == StatusBarState.KEYGUARD in interceptMediaKey()
3408 if (mState != StatusBarState.KEYGUARD && mState != StatusBarState.SHADE_LOCKED) { in onBackPressed()
[all …]
DStatusBarWindowController.java242 && state.statusBarState == StatusBarState.KEYGUARD && !state.keyguardFadingAway in applyKeyguardFlags()
324 && state.statusBarState == StatusBarState.KEYGUARD in applyUserActivityTimeout()
335 && state.statusBarState == StatusBarState.KEYGUARD in applyInputFeatures()
DPanelView.java349 if (mStatusBarStateController.getState() == StatusBarState.KEYGUARD) { in onTouchEvent()
483 … if (!expand && mStatusBarStateController.getState() == StatusBarState.KEYGUARD) { in endMotionEvent()
605 if (mStatusBarStateController.getState() == StatusBarState.KEYGUARD) { in onInterceptTouchEvent()
DCollapsedStatusBarFragment.java213 && !(mStatusBarStateController.getState() == StatusBarState.KEYGUARD in adjustDisableFlags()
DScrimController.java406 || mState == ScrimState.KEYGUARD || mState == ScrimState.PULSING; in setPanelExpansion()
459 } else if (mState == ScrimState.KEYGUARD || mState == ScrimState.PULSING) { in applyExpansionToAlpha()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockSwitchTest.java111 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in onPluginConnected_showPluginBigClock()
178 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in onPluginDisconnected_hidePluginBigClock()
291 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in onStateChanged_VisibleInKeyguard()
305 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in setBigClockContainer_visible()
321 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in setBigClockContainer_gone()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DScrimControllerTest.java104 mScrimController.transitionTo(ScrimState.KEYGUARD); in setup()
115 mScrimController.transitionTo(ScrimState.KEYGUARD); in transitionToKeyguard()
179 mScrimController.transitionTo(ScrimState.KEYGUARD); in transitionToAod_withFrontAlphaUpdates()
519 mScrimController.transitionTo(ScrimState.KEYGUARD); in testWillHideAodWallpaper()
579 mScrimController.transitionTo(ScrimState.KEYGUARD); in cancelsOldAnimationBeforeBlanking()
590 mScrimController.transitionTo(ScrimState.KEYGUARD); in testScrimFocus()
639 ScrimState.AOD.prepare(ScrimState.KEYGUARD); in testAnimatesTransitionToAod()
645 ScrimState.AOD.prepare(ScrimState.KEYGUARD); in testAnimatesTransitionToAod()
DStatusBarTest.java543 mStatusBar.setBarStateForTest(StatusBarState.KEYGUARD); in testPanelOpenAndNoClear()
589 mStatusBar.mState = StatusBarState.KEYGUARD; in testUpdateKeyguardState_DoesNotCrash()
622 mStatusBar.setBarStateForTest(StatusBarState.KEYGUARD); in testPulseWhileDozing_updatesScrimController()
639 verify(mScrimController).transitionTo(eq(ScrimState.KEYGUARD)); in testPulseWhileDozing_updatesScrimController()
703 mStatusBar.setBarStateForTest(StatusBarState.KEYGUARD); in testSetState_changesIsFullScreenUserSwitcherState()
718 verify(mStatusBarStateController).setState(eq(StatusBarState.KEYGUARD)); in testShowKeyguardImplementation_setsState()
729 mStatusBar.setBarStateForTest(StatusBarState.KEYGUARD); in testStartStopDozing()
741 mStatusBar.setBarStateForTest(StatusBarState.KEYGUARD); in testOnStartedWakingUp_isNotDozing()
754 mStatusBar.setBarStateForTest(StatusBarState.KEYGUARD); in testOnStartedWakingUp_doesNotDismissBouncer_whenPulsing()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationSectionsManagerTest.java209 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testHeaderNotShownOnLockscreen()
222 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testHeaderShownWhenEnterLockscreen()
242 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testHeaderHiddenWhenEnterLockscreen()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationWakeUpCoordinator.kt73 private var state: Int = StatusBarState.KEYGUARD
137 && statusBarStateController.state == StatusBarState.KEYGUARD
259 newState == StatusBarState.KEYGUARD && state == StatusBarState.SHADE_LOCKED in onStateChanged()
DBypassHeadsUpNotifier.kt135 if (statusBarStateController.state != StatusBarState.KEYGUARD) { in <lambda>()
DNotificationInterruptionStateProvider.java429 || mStatusBarStateController.getState() == StatusBarState.KEYGUARD); in shouldLaunchFullScreenIntentWhenAdded()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java121 when(mStatusBarStateController.getState()).thenReturn(StatusBarState.KEYGUARD); in testSecondaryClick_Metrics_Status_Bar_Status()
124 assertEquals(StatusBarState.KEYGUARD, mLogCaptor.getValue() in testSecondaryClick_Metrics_Status_Bar_Status()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFragment.java274 return mStatusBarStateController.getState() == StatusBarState.KEYGUARD; in isKeyguardShowing()
405 return mState == StatusBarState.KEYGUARD && mShowCollapsedOnKeyguard in headerWillBeAnimating()
530 setKeyguardShowing(newState == StatusBarState.KEYGUARD); in onStateChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardSliceProviderTest.java201 mProvider.onStateChanged(StatusBarState.KEYGUARD); in onMetadataChanged_updatesSlice()
215 mProvider.onStateChanged(StatusBarState.KEYGUARD); in onDozingChanged_updatesSliceIfMedia()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DEventLogTags.logtags13 ## state: 0: SHADE, 1: KEYGUARD, 2: SHADE_LOCKED
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DPhoneStateMonitor.java163 return statusBarState == StatusBarState.KEYGUARD in isShadeFullscreen()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSectionsManager.java153 && mStatusBarStateController.getState() != StatusBarState.KEYGUARD; in adjustGentleHeaderVisibilityAndPosition()
DAmbientState.java367 return mStatusBarState == StatusBarState.KEYGUARD; in isOnKeyguard()

12