Home
last modified time | relevance | path

Searched refs:AnimatedValue (Results 1 – 8 of 8) 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>()
21 import com.android.systemui.util.ui.AnimatedValue.NotAnimating in <lambda>()
31 sealed interface AnimatedValue<out T> { in <lambda>() interface
34 data class NotAnimating<out T>(val value: T) : AnimatedValue<T> in <lambda>()
43 ) : AnimatedValue<T> in <lambda>()
47 inline val <T> AnimatedValue<T>.value: T
55 inline val <T> AnimatedValue<T>.isAnimating: Boolean
63 inline fun AnimatedValue<*>.stopAnimating() { in stopAnimating()
82 fun <T> Flow<AnimatableEvent<T>>.toAnimatedValueFlow(): Flow<AnimatedValue<T>> = in toAnimatedValueFlow()
101 valueA: AnimatedValue<A>, in zip()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ui/
DAnimatedValueTest.kt112 val animating = AnimatedValue.Animating(1) {} in <lambda>()
113 val notAnimating = AnimatedValue.NotAnimating(2) in <lambda>()
121 val animating = AnimatedValue.Animating(1) { stopped = true } in <lambda>()
122 val notAnimating = AnimatedValue.NotAnimating(2) in <lambda>()
133 val animating = AnimatedValue.Animating(1) { stopped = true } in <lambda>()
134 val notAnimating = AnimatedValue.NotAnimating(2) in <lambda>()
146 val first = AnimatedValue.Animating(1) { firstStopped = true } in <lambda>()
147 val second = AnimatedValue.Animating(2) { secondStopped = true } in <lambda>()
158 val first = AnimatedValue.NotAnimating(1) in <lambda>()
159 val second = AnimatedValue.NotAnimating(2) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/footer/ui/viewmodel/
DFooterButtonViewModel.kt20 import com.android.systemui.util.ui.AnimatedValue
26 val isVisible: Flow<AnimatedValue<Boolean>>,
DFooterViewModel.kt29 import com.android.systemui.util.ui.AnimatedValue in <lambda>()
110 AnimatedValue.NotAnimating(!messageVisible) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardRootViewModel.kt52 import com.android.systemui.util.ui.AnimatedValue in <lambda>()
314 val isNotifIconContainerVisible: StateFlow<AnimatedValue<Boolean>> = in <lambda>()
327 notifsFullyHidden: AnimatedValue<Boolean>, in <lambda>()
328 pulseExpanding: AnimatedValue<Boolean>, in <lambda>()
337 AnimatedValue.NotAnimating(false) in <lambda>()
359 initialValue = AnimatedValue.NotAnimating(false), in <lambda>()
369 private fun isPulseExpandingAnimated(): Flow<AnimatedValue<Boolean>> { in <lambda>()
378 private fun areNotifsFullyHiddenAnimated(): Flow<AnimatedValue<Boolean>> { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DNotificationListViewModel.kt37 import com.android.systemui.util.ui.AnimatedValue in <lambda>()
145 val shouldIncludeFooterView: Flow<AnimatedValue<Boolean>> by lazy { in <lambda>()
147 flowOf(AnimatedValue.NotAnimating(false)) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconContainerStatusBarViewModel.kt32 import com.android.systemui.util.ui.AnimatedValue in <lambda>()
101 val isolatedIcon: Flow<AnimatedValue<NotificationIconInfo?>> = in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardRootViewBinder.kt78 import com.android.systemui.util.ui.AnimatedValue in <lambda>()
490 isVisible: Flow<AnimatedValue<Boolean>>, in <lambda>()
512 isVisible: AnimatedValue<Boolean>, in <lambda>()