Home
last modified time | relevance | path

Searched refs:AnimationState (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/turbulencenoise/
DTurbulenceNoiseController.kt31 enum class AnimationState { class
41 var state: AnimationState = AnimationState.NOT_PLAYING
44 if (state == AnimationState.NOT_PLAYING) {
58 if (state == AnimationState.NOT_PLAYING) { in updateNoiseColor()
73 if (state != AnimationState.NOT_PLAYING) { in play()
84 if (state == AnimationState.MAIN) { in finish()
90 if (state != AnimationState.NOT_PLAYING) { in playEaseInAnimation()
93 state = AnimationState.EASE_IN in playEaseInAnimation()
99 if (state != AnimationState.EASE_IN) { in playMainAnimation()
102 state = AnimationState.MAIN in playMainAnimation()
[all …]
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/glowboxeffect/
DGlowBoxEffect.kt40 @VisibleForTesting var state: AnimationState = AnimationState.NOT_PLAYING
55 if (state != AnimationState.NOT_PLAYING) { in play()
65 if (force && state == AnimationState.EASE_OUT) { in finish()
71 if (state == AnimationState.EASE_IN || state == AnimationState.MAIN) { in finish()
83 if (state == AnimationState.EASE_IN) { in playEaseIn()
86 state = AnimationState.EASE_IN in playEaseIn()
112 if (state == AnimationState.MAIN) { in playMain()
115 state = AnimationState.MAIN in playMain()
132 if (state == AnimationState.EASE_OUT) return in playEaseOut()
133 state = AnimationState.EASE_OUT in playEaseOut()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/loadingeffect/
DLoadingEffectTest.kt95 val states = mutableListOf(LoadingEffect.AnimationState.NOT_PLAYING) in play_animationStateChangesInOrder()
99 oldState: LoadingEffect.AnimationState, in play_animationStateChangesInOrder()
100 newState: LoadingEffect.AnimationState in play_animationStateChangesInOrder()
127 LoadingEffect.AnimationState.NOT_PLAYING, in play_animationStateChangesInOrder()
128 LoadingEffect.AnimationState.EASE_IN, in play_animationStateChangesInOrder()
129 LoadingEffect.AnimationState.MAIN, in play_animationStateChangesInOrder()
130 LoadingEffect.AnimationState.EASE_OUT, in play_animationStateChangesInOrder()
131 LoadingEffect.AnimationState.NOT_PLAYING in play_animationStateChangesInOrder()
142 oldState: LoadingEffect.AnimationState, in play_alreadyPlaying_playsOnlyOnce()
143 newState: LoadingEffect.AnimationState in play_alreadyPlaying_playsOnlyOnce()
[all …]
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/loadingeffect/
DLoadingEffect.kt143 private var state: AnimationState = AnimationState.NOT_PLAYING in <lambda>()
161 if (state != AnimationState.NOT_PLAYING) { in <lambda>()
171 if (state == AnimationState.MAIN) { in <lambda>()
204 if (state != AnimationState.NOT_PLAYING) { in <lambda>()
207 state = AnimationState.EASE_IN in <lambda>()
247 if (state != AnimationState.EASE_IN) { in <lambda>()
250 state = AnimationState.MAIN in <lambda>()
287 if (state != AnimationState.MAIN) { in <lambda>()
290 state = AnimationState.EASE_OUT in <lambda>()
320 state = AnimationState.NOT_PLAYING in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/glowboxeffect/
DGlowBoxEffectTest.kt87 assertThat(glowBoxEffect.state).isEqualTo(GlowBoxEffect.AnimationState.NOT_PLAYING) in play_followsAnimationStateInOrder()
91 assertThat(glowBoxEffect.state).isEqualTo(GlowBoxEffect.AnimationState.EASE_IN) in play_followsAnimationStateInOrder()
95 assertThat(glowBoxEffect.state).isEqualTo(GlowBoxEffect.AnimationState.MAIN) in play_followsAnimationStateInOrder()
99 assertThat(glowBoxEffect.state).isEqualTo(GlowBoxEffect.AnimationState.EASE_OUT) in play_followsAnimationStateInOrder()
103 assertThat(glowBoxEffect.state).isEqualTo(GlowBoxEffect.AnimationState.NOT_PLAYING) in play_followsAnimationStateInOrder()
108 assertThat(glowBoxEffect.state).isEqualTo(GlowBoxEffect.AnimationState.NOT_PLAYING) in finish_statePlaying_finishesAnimation()
113 assertThat(glowBoxEffect.state).isEqualTo(GlowBoxEffect.AnimationState.EASE_OUT) in finish_statePlaying_finishesAnimation()
118 assertThat(glowBoxEffect.state).isEqualTo(GlowBoxEffect.AnimationState.NOT_PLAYING) in finish_stateNotPlaying_doesNotFinishAnimation()
122 assertThat(glowBoxEffect.state).isEqualTo(GlowBoxEffect.AnimationState.NOT_PLAYING) in finish_stateNotPlaying_doesNotFinishAnimation()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimationDrawable.java89 private AnimationState mAnimationState;
371 AnimationState cloneConstantState() { in cloneConstantState()
372 return new AnimationState(mAnimationState, this, null); in cloneConstantState()
383 private final static class AnimationState extends DrawableContainerState { class in AnimationDrawable
387 AnimationState(AnimationState orig, AnimationDrawable owner, Resources res) { in AnimationState() method in AnimationDrawable.AnimationState
444 if (state instanceof AnimationState) { in setConstantState()
445 mAnimationState = (AnimationState) state; in setConstantState()
457 private AnimationDrawable(AnimationState state, Resources res) { in AnimationDrawable()
458 final AnimationState as = new AnimationState(state, this, res); in AnimationDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/viewmodel/
DScreenshotViewModel.kt38 private val _animationState = MutableStateFlow(AnimationState.NOT_STARTED)
39 val animationState: StateFlow<AnimationState> = _animationState
124 fun setAnimationState(state: AnimationState) { in setAnimationState()
142 _animationState.value = AnimationState.NOT_STARTED in reset()
157 enum class AnimationState { class
/frameworks/base/core/java/android/view/animation/
DAnimationUtils.java60 private static class AnimationState { class in AnimationUtils
67 private static ThreadLocal<AnimationState> sAnimationState
68 = new ThreadLocal<AnimationState>() {
70 protected AnimationState initialValue() {
71 return new AnimationState();
103 AnimationState state = sAnimationState.get(); in lockAnimationClock()
140 AnimationState state = sAnimationState.get(); in lockAnimationClock()
167 AnimationState state = sAnimationState.get(); in currentAnimationTimeMillis()
191 AnimationState state = sAnimationState.get(); in getExpectedPresentationTimeNanos()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/turbulencenoise/
DTurbulenceNoiseControllerTest.kt24 ….systemui.surfaceeffects.turbulencenoise.TurbulenceNoiseController.Companion.AnimationState.EASE_IN
25 …systemui.surfaceeffects.turbulencenoise.TurbulenceNoiseController.Companion.AnimationState.EASE_OUT
26 …oid.systemui.surfaceeffects.turbulencenoise.TurbulenceNoiseController.Companion.AnimationState.MAIN
27 …temui.surfaceeffects.turbulencenoise.TurbulenceNoiseController.Companion.AnimationState.NOT_PLAYING
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/binder/
DScreenshotShelfViewBinder.kt40 import com.android.systemui.screenshot.ui.viewmodel.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/src/com/android/systemui/screenshot/
DScreenshotShelfViewProxy.kt54 import com.android.systemui.screenshot.ui.viewmodel.AnimationState in <lambda>()
152 viewModel.setAnimationState(AnimationState.ENTRANCE_REVEAL) in <lambda>()
156 viewModel.setAnimationState(AnimationState.ENTRANCE_STARTED) in <lambda>()
162 viewModel.setAnimationState(AnimationState.ENTRANCE_COMPLETE) in <lambda>()
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
DDefaultClockController.kt284 internal val dozeState = AnimationState(dozeFraction)
285 private val foldState = AnimationState(foldFraction)
343 class AnimationState( class
/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/rotaryinput/
DRotary.kt22 import androidx.compose.animation.core.AnimationState
601 private var scrollAnimation = AnimationState(0f)
636 private var anim = AnimationState(0f)
659 AnimationState(0f).animateTo( in snapToClosestItem()
680 anim = AnimationState(0f) in topEdgeReached()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/
DCustomizedAppBar.kt20 import androidx.compose.animation.core.AnimationState in <lambda>()
589 AnimationState( in settleAppBar()
609 AnimationState(initialValue = state.heightOffset).animateTo( in settleAppBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaViewController.kt722 oldState: LoadingEffect.AnimationState, in <lambda>()
723 newState: LoadingEffect.AnimationState in <lambda>()
725 if (newState === LoadingEffect.AnimationState.NOT_PLAYING) { in <lambda>()
DMediaControlPanel.java124 import com.android.systemui.surfaceeffects.loadingeffect.LoadingEffect.AnimationState;
279 public void onStateChanged(@NonNull AnimationState oldState,
280 @NonNull AnimationState newState) {
283 if (newState == AnimationState.NOT_PLAYING) {
/frameworks/base/boot/
Dpreloaded-classes2380 android.graphics.drawable.AnimationDrawable$AnimationState
9282 android.view.animation.AnimationUtils$AnimationState-IA
9283 android.view.animation.AnimationUtils$AnimationState
Dboot-image-profile.txt6982 HSPLandroid/graphics/drawable/AnimationDrawable$AnimationState;->addFrame(Landroid/graphics/drawabl…
6983 HSPLandroid/graphics/drawable/AnimationDrawable$AnimationState;->growArray(II)V
6984 HSPLandroid/graphics/drawable/AnimationDrawable$AnimationState;->newDrawable(Landroid/content/res/R…
6987 …nimationDrawable;->cloneConstantState()Landroid/graphics/drawable/AnimationDrawable$AnimationState;
18660 …w/animation/AnimationUtils$1;->initialValue()Landroid/view/animation/AnimationUtils$AnimationState;
18662 HSPLandroid/view/animation/AnimationUtils$AnimationState;-><init>()V
18663 …android/view/animation/AnimationUtils$AnimationState;-><init>(Landroid/view/animation/AnimationUti…
24766 Landroid/graphics/drawable/AnimationDrawable$AnimationState;
31699 Landroid/view/animation/AnimationUtils$AnimationState-IA;
31700 Landroid/view/animation/AnimationUtils$AnimationState;
/frameworks/base/config/
Dpreloaded-classes2384 android.graphics.drawable.AnimationDrawable$AnimationState
9313 android.view.animation.AnimationUtils$AnimationState-IA
9314 android.view.animation.AnimationUtils$AnimationState
Dboot-image-profile.txt6985 HSPLandroid/graphics/drawable/AnimationDrawable$AnimationState;->addFrame(Landroid/graphics/drawabl…
6986 HSPLandroid/graphics/drawable/AnimationDrawable$AnimationState;->growArray(II)V
6987 HSPLandroid/graphics/drawable/AnimationDrawable$AnimationState;->newDrawable(Landroid/content/res/R…
6990 …nimationDrawable;->cloneConstantState()Landroid/graphics/drawable/AnimationDrawable$AnimationState;
18724 …w/animation/AnimationUtils$1;->initialValue()Landroid/view/animation/AnimationUtils$AnimationState;
18726 HSPLandroid/view/animation/AnimationUtils$AnimationState;-><init>()V
18727 …android/view/animation/AnimationUtils$AnimationState;-><init>(Landroid/view/animation/AnimationUti…
34900 Landroid/graphics/drawable/AnimationDrawable$AnimationState;
41860 Landroid/view/animation/AnimationUtils$AnimationState-IA;
41861 Landroid/view/animation/AnimationUtils$AnimationState;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt16762 …raphics/drawable/AnimationDrawable$AnimationState;-><init>(Landroid/graphics/drawable/AnimationDra…
16763 Landroid/graphics/drawable/AnimationDrawable$AnimationState;->addFrame(Landroid/graphics/drawable/D…
16764 Landroid/graphics/drawable/AnimationDrawable$AnimationState;->mDurations:[I
16765 Landroid/graphics/drawable/AnimationDrawable$AnimationState;->mOneShot:Z
16766 Landroid/graphics/drawable/AnimationDrawable$AnimationState;->mutate()V
16767 …mationDrawable;-><init>(Landroid/graphics/drawable/AnimationDrawable$AnimationState;Landroid/conte…
16769 …nimationDrawable;->cloneConstantState()Landroid/graphics/drawable/AnimationDrawable$AnimationState;
16772 …le/AnimationDrawable;->mAnimationState:Landroid/graphics/drawable/AnimationDrawable$AnimationState;
58497 Landroid/view/animation/AnimationUtils$AnimationState;-><init>()V
58498 Landroid/view/animation/AnimationUtils$AnimationState;->animationClockLocked:Z
[all …]