Searched refs:rippleAnimation (Results 1 – 4 of 4) sorted by relevance
68 val rippleAnimation = RippleAnimation(config) in init_shaderHasCorrectConfig() constant70 with(rippleAnimation.rippleShader) { in init_shaderHasCorrectConfig()85 val rippleAnimation = RippleAnimation(config) in updateColor_updatesColorCorrectly() constant88 with(rippleAnimation) { in updateColor_updatesColorCorrectly()100 val rippleAnimation = RippleAnimation(config) in play_updatesIsPlaying() constant103 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() constant121 rippleAnimation.play(onAnimationEnd = { animationEnd = true }) in play_onEnd_triggersOnAnimationEnd()
55 val rippleAnimation = in updateColor_updatesColor() constant59 play(rippleAnimation) in updateColor_updatesColor()70 val rippleAnimation = RippleAnimation(rippleAnimationConfig) in play_playsRipple() constant72 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() constant94 multiRippleController.play(rippleAnimation) in play_onEnd_removesAnimation()97 assertThat(multiRippleView.ripples[0]).isEqualTo(rippleAnimation) in play_onEnd_removesAnimation()
34 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>()
85 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.LightSourceDrawable205 rippleAnimation?.cancel() in illuminate()206 rippleAnimation = in illuminate()231 rippleAnimation = null in illuminate()