/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/turbulencenoise/ |
D | TurbulenceNoiseController.kt | 31 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/ |
D | GlowBoxEffect.kt | 40 @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/ |
D | LoadingEffectTest.kt | 95 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/ |
D | LoadingEffect.kt | 143 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/ |
D | GlowBoxEffectTest.kt | 87 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/ |
D | AnimationDrawable.java | 89 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/ |
D | ScreenshotViewModel.kt | 38 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/ |
D | AnimationUtils.java | 60 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/ |
D | TurbulenceNoiseControllerTest.kt | 24 ….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/ |
D | ScreenshotShelfViewBinder.kt | 40 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/ |
D | ScreenshotShelfViewProxy.kt | 54 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/ |
D | DefaultClockController.kt | 284 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/ |
D | Rotary.kt | 22 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/ |
D | CustomizedAppBar.kt | 20 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/ |
D | MediaViewController.kt | 722 oldState: LoadingEffect.AnimationState, in <lambda>() 723 newState: LoadingEffect.AnimationState in <lambda>() 725 if (newState === LoadingEffect.AnimationState.NOT_PLAYING) { in <lambda>()
|
D | MediaControlPanel.java | 124 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/ |
D | preloaded-classes | 2380 android.graphics.drawable.AnimationDrawable$AnimationState 9282 android.view.animation.AnimationUtils$AnimationState-IA 9283 android.view.animation.AnimationUtils$AnimationState
|
D | boot-image-profile.txt | 6982 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/ |
D | preloaded-classes | 2384 android.graphics.drawable.AnimationDrawable$AnimationState 9313 android.view.animation.AnimationUtils$AnimationState-IA 9314 android.view.animation.AnimationUtils$AnimationState
|
D | boot-image-profile.txt | 6985 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/ |
D | hiddenapi-max-target-o.txt | 16762 …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 …]
|