Searched refs:rippleData (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | LightSourceDrawable.kt | 66 private val rippleData = RippleData(0f, 0f, 0f, 0f, 0f, 0f, 0f) constant 90 rippleData.alpha = 1f 91 rippleData.progress = RIPPLE_DOWN_PROGRESS 94 rippleAnimation = ValueAnimator.ofFloat(rippleData.alpha, 0f).apply { in <lambda>() 98 rippleData.alpha = it.animatedValue as Float in <lambda>() 111 rippleData.progress = 0f in <lambda>() 112 rippleData.alpha = 0f in <lambda>() 129 val radius = lerp(rippleData.minSize, rippleData.maxSize, rippleData.progress) in draw() 131 ColorUtils.setAlphaComponent(highlightColor, (rippleData.alpha * 255).toInt()) in draw() 132 paint.shader = RadialGradient(rippleData.x, rippleData.y, radius, in draw() [all …]
|