Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/ripple/
DRippleAnimationTest.kt68 val rippleAnimation = RippleAnimation(config) in init_shaderHasCorrectConfig() constant
70 with(rippleAnimation.rippleShader) { in init_shaderHasCorrectConfig()
85 val rippleAnimation = RippleAnimation(config) in updateColor_updatesColorCorrectly() constant
88 with(rippleAnimation) { in updateColor_updatesColorCorrectly()
100 val rippleAnimation = RippleAnimation(config) in play_updatesIsPlaying() constant
103 rippleAnimation.play() in play_updatesIsPlaying()
105 assertThat(rippleAnimation.isPlaying()).isTrue() in play_updatesIsPlaying()
110 assertThat(rippleAnimation.isPlaying()).isFalse() in play_updatesIsPlaying()
117 val rippleAnimation = RippleAnimation(config) in play_onEnd_triggersOnAnimationEnd() constant
121 rippleAnimation.play(onAnimationEnd = { animationEnd = true }) in play_onEnd_triggersOnAnimationEnd()
DMultiRippleControllerTest.kt55 val rippleAnimation = in updateColor_updatesColor() constant
59 play(rippleAnimation) in updateColor_updatesColor()
70 val rippleAnimation = RippleAnimation(rippleAnimationConfig) in play_playsRipple() constant
72 multiRippleController.play(rippleAnimation) in play_playsRipple()
75 assertThat(multiRippleView.ripples[0]).isEqualTo(rippleAnimation) in play_playsRipple()
93 val rippleAnimation = RippleAnimation(rippleAnimationConfig) in play_onEnd_removesAnimation() constant
94 multiRippleController.play(rippleAnimation) in play_onEnd_removesAnimation()
97 assertThat(multiRippleView.ripples[0]).isEqualTo(rippleAnimation) in play_onEnd_removesAnimation()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/ripple/
DMultiRippleController.kt34 fun play(rippleAnimation: RippleAnimation) { in <lambda>()
39 multipleRippleView.ripples.add(rippleAnimation) in <lambda>()
41 rippleAnimation.play { in <lambda>()
43 multipleRippleView.ripples.remove(rippleAnimation) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/drawable/
DLightSourceDrawable.kt85 rippleAnimation?.cancel()
89 rippleAnimation?.cancel()
90 rippleAnimation =
111 rippleAnimation = null in <lambda>()
122 private var rippleAnimation: Animator? = null variable in com.android.systemui.media.controls.ui.drawable.LightSourceDrawable
205 rippleAnimation?.cancel() in illuminate()
206 rippleAnimation = in illuminate()
231 rippleAnimation = null in illuminate()