Home
last modified time | relevance | path

Searched refs:statusBarState (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/
DStatusBarStateControllerImplTest.kt230 var statusBarState = underTest.state in start_hydratesStatusBarState_whileLocked() variable
234 statusBarState = newState in start_hydratesStatusBarState_whileLocked()
262 assertThat(statusBarState).isEqualTo(StatusBarState.KEYGUARD) in start_hydratesStatusBarState_whileLocked()
267 assertThat(statusBarState).isEqualTo(StatusBarState.SHADE_LOCKED) in start_hydratesStatusBarState_whileLocked()
275 assertThat(statusBarState).isEqualTo(StatusBarState.SHADE_LOCKED) in start_hydratesStatusBarState_whileLocked()
280 assertThat(statusBarState).isEqualTo(StatusBarState.KEYGUARD) in start_hydratesStatusBarState_whileLocked()
288 assertThat(statusBarState).isEqualTo(StatusBarState.KEYGUARD) in start_hydratesStatusBarState_whileLocked()
295 var statusBarState = underTest.state in start_hydratesStatusBarState_whileUnlocked() variable
299 statusBarState = newState in start_hydratesStatusBarState_whileUnlocked()
327 assertThat(statusBarState).isEqualTo(StatusBarState.SHADE) in start_hydratesStatusBarState_whileUnlocked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DAccessibilityActionsViewModel.kt47 keyguardInteractor.statusBarState in <lambda>()
48 ) { transitionFinishedOnLockscreen, statusBarState -> in <lambda>() method
49 transitionFinishedOnLockscreen && statusBarState == StatusBarState.KEYGUARD in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationShadeWindowState.kt55 @JvmField var statusBarState: Int = 0, variable in com.android.systemui.shade.NotificationShadeWindowState
98 StatusBarState.toString(statusBarState), in <lambda>()
140 statusBarState: Int, in insert()
173 this.statusBarState = statusBarState in insert()
DShadeControllerImpl.java130 int statusBarState = mStatusBarStateController.getState(); in animateCollapseShade() local
131 if (!force && statusBarState != StatusBarState.SHADE in animateCollapseShade()
132 && statusBarState != StatusBarState.SHADE_LOCKED) { in animateCollapseShade()
DNotificationShadeWindowControllerImpl.java377 boolean onKeyguard = state.statusBarState == StatusBarState.KEYGUARD in applyKeyguardFlags()
397 && state.statusBarState == StatusBarState.KEYGUARD in applyKeyguardFlags()
518 && state.statusBarState == StatusBarState.KEYGUARD in applyUserActivityTimeout()
533 && state.statusBarState == StatusBarState.KEYGUARD in applyInputFeatures()
623 state.statusBarState, in logState()
828 mCurrentState.statusBarState = state; in setStatusBarState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DUdfpsKeyguardInteractor.kt78 keyguardInteractor.statusBarState, // quick swipe from middle of LS in <lambda>()
79 ) { shadeProgress, statusBarState -> in <lambda>() method
80 if (statusBarState == StatusBarState.SHADE_LOCKED) { in <lambda>()
DKeyguardInteractor.kt290 val statusBarState: Flow<StatusBarState> = repository.statusBarState in <lambda>() constant
334 statusBarState, in <lambda>()
343 statusBarState, in <lambda>() method
348 statusBarState == StatusBarState.KEYGUARD && in <lambda>()
DFromLockscreenTransitionInteractor.kt188 keyguardInteractor.statusBarState, in <lambda>()
196 statusBarState, in <lambda>() method
252 statusBarState == KEYGUARD in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ui/viewmodel/
DKeyguardStatusBarViewModel.kt59 keyguardInteractor.statusBarState, in <lambda>()
61 ) { isDozing, statusBarState, showHeadsUpStatusBar -> in <lambda>() method
62 !isDozing && statusBarState == StatusBarState.KEYGUARD && !showHeadsUpStatusBar in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/domain/interactor/
DWindowRootViewVisibilityInteractor.kt130 getShouldClearNotificationEffects(keyguardRepository.statusBarState.value), in <lambda>()
144 private fun getShouldClearNotificationEffects(statusBarState: StatusBarState): Boolean { in <lambda>()
146 (statusBarState == StatusBarState.SHADE || in <lambda>()
147 statusBarState == StatusBarState.SHADE_LOCKED) in <lambda>()
/frameworks/base/core/tests/coretests/src/android/view/
DSurfaceControlViewHostInsetsTest.java70 private InsetsState statusBarState(boolean visible) { in statusBarState() method in SurfaceControlViewHostInsetsTest
81 return statusBarState(true); in statusBarVisibleState()
99 final InsetsState insetsState2 = statusBarState(false); in sendInsetsToSurfaceControlViewHost()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardVisibilityHelper.java87 int statusBarState, in setViewVisibility() argument
101 && statusBarState != KEYGUARD) || goingToFullShade) { in setViewVisibility()
122 } else if (oldStatusBarState == StatusBarState.SHADE_LOCKED && statusBarState == KEYGUARD) { in setViewVisibility()
136 } else if (statusBarState == KEYGUARD) { in setViewVisibility()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/logging/
DQSLogger.kt105 fun logTileClick(tileSpec: String, statusBarState: Int, state: Int, eventId: Int) { in <lambda>()
112 str2 = StatusBarState.toString(statusBarState) in <lambda>()
131 fun logTileSecondaryClick(tileSpec: String, statusBarState: Int, state: Int, eventId: Int) { in <lambda>()
138 str2 = StatusBarState.toString(statusBarState) in <lambda>()
157 fun logTileLongClick(tileSpec: String, statusBarState: Int, state: Int, eventId: Int) { in <lambda>()
164 str2 = StatusBarState.toString(statusBarState) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/domain/interactor/
DShadeInteractorLegacyImpl.kt56 keyguardRepository.statusBarState, in <lambda>()
62 statusBarState, in <lambda>() method
66 when (statusBarState) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsKeyguardViewControllerLegacy.kt99 private var statusBarState = 0 in <lambda>() variable
110 override fun onStateChanged(statusBarState: Int) { in <lambda>()
111 this@UdfpsKeyguardViewControllerLegacy.statusBarState = statusBarState in <lambda>()
355 statusBarState = statusBarStateController.state in <lambda>()
400 pw.println("statusBarState=" + StatusBarState.toString(statusBarState)) in <lambda>()
462 statusBarState != StatusBarState.KEYGUARD && in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DPhoneStateMonitor.java166 int statusBarState = mStatusBarStateController.getState(); in isShadeFullscreen() local
167 return statusBarState == StatusBarState.KEYGUARD in isShadeFullscreen()
168 || statusBarState == StatusBarState.SHADE_LOCKED; in isShadeFullscreen()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DVisualInterruptionDecisionProviderTestBase.kt208 ensurePeekState { statusBarState = SHADE } in <lambda>()
216 ensurePeekState { statusBarState = SHADE } in <lambda>()
223 ensurePeekState { statusBarState = SHADE_LOCKED } in <lambda>()
230 ensurePeekState { statusBarState = KEYGUARD } in <lambda>()
927 var statusBarState: Int? = null, in <lambda>() variable in com.android.systemui.statusbar.notification.interruption.VisualInterruptionDecisionProviderTestBase.State
962 statusBarState?.let { statusBarStateController.state = it } in <lambda>()
1011 statusBarState = KEYGUARD in <lambda>()
1019 statusBarState = SHADE in <lambda>()
1029 statusBarState = SHADE in <lambda>()
1039 statusBarState = SHADE in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationShadeDepthControllerTest.kt86 private var statusBarState = StatusBarState.SHADE in <lambda>() variable in com.android.systemui.statusbar.NotificationShadeDepthControllerTest
96 `when`(statusBarStateController.state).then { statusBarState } in <lambda>()
217 statusBarState = StatusBarState.KEYGUARD in <lambda>()
218 statusBarStateListener.onStateChanged(statusBarState) in <lambda>()
224 statusBarState = StatusBarState.KEYGUARD in <lambda>()
235 statusBarState = StatusBarState.KEYGUARD in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DSharedNotificationContainerViewModel.kt169 keyguardInteractor.statusBarState.map { it == SHADE_LOCKED }, in <lambda>()
457 keyguardInteractor.statusBarState, in <lambda>()
465 ) { statusBarState, stateIsReversed -> in <lambda>() method
466 statusBarState == SHADE || stateIsReversed in <lambda>()
623 keyguardInteractor.statusBarState, in <lambda>()
629 ) { isOnLockscreen, statusBarState, showAllNotifications -> in <lambda>() method
630 statusBarState == SHADE_LOCKED || !isOnLockscreen || showAllNotifications in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/camera/
DCameraGestureHelper.kt66 fun canCameraGestureBeLaunched(statusBarState: Int): Boolean { in canCameraGestureBeLaunched()
78 (statusBarState != StatusBarState.SHADE || in canCameraGestureBeLaunched()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationWakeUpCoordinatorTest.kt88 private var statusBarState: Int = StatusBarState.KEYGUARD variable in com.android.systemui.statusbar.notification.NotificationWakeUpCoordinatorTest
98 statusBarState = state in setStatusBarState()
109 whenever(statusBarStateController.state).then { statusBarState } in setup()
217 assertThat(notificationWakeUpCoordinator.statusBarState).isEqualTo(StatusBarState.SHADE) in switchingToShadeWithBypassEnabledWillShowNotifications()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLogger.kt72 statusBarState: Int, in logShadeDebugEvent()
77 int1 = statusBarState in logShadeDebugEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/domain/interactor/
DNotificationStackInteractor.kt45 keyguardInteractor.statusBarState.map { it == StatusBarState.KEYGUARD }, in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DUdfpsKeyguardViewLegacyControllerBaseTest.java112 protected void sendStatusBarStateChanged(int statusBarState) { in sendStatusBarStateChanged() argument
113 mStatusBarStateListener.onStateChanged(statusBarState); in sendStatusBarStateChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSImplTest.java641 private void setStatusBarCurrentAndUpcomingState(int statusBarState) { in setStatusBarCurrentAndUpcomingState() argument
642 when(mStatusBarStateController.getState()).thenReturn(statusBarState); in setStatusBarCurrentAndUpcomingState()
643 when(mStatusBarStateController.getCurrentOrUpcomingState()).thenReturn(statusBarState); in setStatusBarCurrentAndUpcomingState()
644 mUnderTest.onStateChanged(statusBarState); in setStatusBarCurrentAndUpcomingState()

12