Home
last modified time | relevance | path

Searched refs:Animating (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ui/
DAnimatedValue.kt20 import com.android.systemui.util.ui.AnimatedValue.Animating in <lambda>()
40 data class Animating<out T>( in <lambda>() class
50 is Animating -> value
56 get() = this is Animating<T>
64 if (this is Animating) onStopAnimating() in stopAnimating()
86 emit(Animating(value) { onCompleted.complete(Unit) }) in toAnimatedValueFlow()
107 is Animating -> in zip()
109 is Animating -> in zip()
110 Animating(zippedValue) { in zip()
114 is NotAnimating -> Animating(zippedValue, valueA.onStopAnimating) in zip()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ui/
DAnimatedValueTest.kt112 val animating = AnimatedValue.Animating(1) {} in <lambda>()
121 val animating = AnimatedValue.Animating(1) { stopped = true } in <lambda>()
133 val animating = AnimatedValue.Animating(1) { stopped = true } in <lambda>()
146 val first = AnimatedValue.Animating(1) { firstStopped = true } in <lambda>()
147 val second = AnimatedValue.Animating(2) { secondStopped = true } in <lambda>()
167 val animating = AnimatedValue.Animating(3) { stopped = true } in <lambda>()
195 val nested = AnimatedValue.Animating(inner) { stopped = true } in <lambda>()
206 val inner = AnimatedValue.Animating(10) { stopped = true } in <lambda>()
219 val inner = AnimatedValue.Animating(10) { innerStopped = true } in <lambda>()
220 val nested = AnimatedValue.Animating(inner) { outerStopped = true } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ui/adapter/
DQSSceneAdapter.kt254 .map { (it as? CustomizerState.Animating)?.animationDuration?.toInt() ?: 0 } in <lambda>()
258 (customizerState.value as? CustomizerState.Animating)?.animationDuration?.toInt()
326 if (_customizingState.value is CustomizerState.Animating && !animating) { in setCustomizerAnimating()
440 sealed interface Animating : CustomizerState { interface
455 data class AnimatingIntoCustomizer(override val animationDuration: Long) : Animating {
460 data class AnimatingOutOfCustomizer(override val animationDuration: Long) : Animating
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/ui/adapter/
DFakeQSSceneAdapter.kt90 (customizerState as? CustomizerState.Animating)?.animationDuration?.toInt() ?: 0 in updateCustomizerFlows()