Home
last modified time | relevance | path

Searched refs:animationState (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DSystemStatusAnimationSchedulerImpl.kt89 private var animationState = MutableStateFlow(IDLE) in <lambda>() variable
112 animationState in <lambda>()
113 .combine(scheduledEvent) { animationState, scheduledEvent -> in <lambda>() method
114 Pair(animationState, scheduledEvent) in <lambda>()
117 .collect { (animationState, event) -> in <lambda>() method
118 if (animationState == ANIMATION_QUEUED && event != null) { in <lambda>()
126 animationState.collect { logger?.logAnimationStateUpdate(it) } in <lambda>()
130 @SystemAnimationState override fun getAnimationState(): Int = animationState.value in <lambda>()
151 logger?.logUpdateEvent(event, animationState.value) in <lambda>()
155 logger?.logUpdateEvent(event, animationState.value) in <lambda>()
[all …]
DSystemStatusAnimationSchedulerLogger.kt30 fun logUpdateEvent(event: StatusEvent, @SystemAnimationState animationState: Int) { in logUpdateEvent()
39 int2 = animationState in logUpdateEvent()
70 fun logAnimationStateUpdate(@SystemAnimationState animationState: Int) { in logAnimationStateUpdate()
74 { int1 = animationState }, in logAnimationStateUpdate()
77 animationState.name() in logAnimationStateUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/binder/
DScreenshotShelfViewBinder.kt148 viewModel.animationState.value, in <lambda>()
155 viewModel.animationState.collect { animationState -> in <lambda>() method
158 animationState, in <lambda>()
171 animationState: AnimationState, in <lambda>()
179 (animationState == AnimationState.ENTRANCE_COMPLETE || in <lambda>()
180 animationState == AnimationState.ENTRANCE_REVEAL || in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/events/
DSystemStatusAnimationSchedulerImplTest.kt598 private fun TestScope.fastForwardAnimationToState(@SystemAnimationState animationState: Int) { in fastForwardAnimationToState()
601 if (animationState == IDLE || animationState == ANIMATION_QUEUED) return in fastForwardAnimationToState()
608 if (animationState == ANIMATING_IN) return in fastForwardAnimationToState()
614 if (animationState == RUNNING_CHIP_ANIM) return in fastForwardAnimationToState()
620 if (animationState == ANIMATING_OUT) return in fastForwardAnimationToState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/viewmodel/
DScreenshotViewModel.kt39 val animationState: StateFlow<AnimationState> = _animationState constant in com.android.systemui.screenshot.ui.viewmodel.ScreenshotViewModel
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySaverPolicyTest.java237 final PowerSaveState animationState = in verifyBatterySaverConstantsUpdated() local
239 assertThat(animationState.batterySaverEnabled).isFalse(); in verifyBatterySaverConstantsUpdated()