Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/ripple/
DRippleShaderTest.kt30 private lateinit var rippleShader: RippleShader
34 rippleShader = RippleShader() in setup()
54 val expectedSize0 = RippleShader.SizeAtProgress(t = 0f, width = 100f, height = 100f) in setSizeAtProgresses_hasCorrectSizes()
55 val expectedSize1 = RippleShader.SizeAtProgress(t = 0.2f, width = 1500f, height = 1200f) in setSizeAtProgresses_hasCorrectSizes()
56 val expectedSize2 = RippleShader.SizeAtProgress(t = 0.4f, width = 200f, height = 70f) in setSizeAtProgresses_hasCorrectSizes()
68 val expectedSize0 = RippleShader.SizeAtProgress(t = 0f, width = 100f, height = 100f) in setSizeAtProgresses_sizeListIsSortedByT()
69 val expectedSize1 = RippleShader.SizeAtProgress(t = 0.2f, width = 1500f, height = 1200f) in setSizeAtProgresses_sizeListIsSortedByT()
70 val expectedSize2 = RippleShader.SizeAtProgress(t = 0.4f, width = 200f, height = 70f) in setSizeAtProgresses_sizeListIsSortedByT()
71 val expectedSize3 = RippleShader.SizeAtProgress(t = 0.8f, width = 300f, height = 900f) in setSizeAtProgresses_sizeListIsSortedByT()
72 val expectedSize4 = RippleShader.SizeAtProgress(t = 1f, width = 500f, height = 300f) in setSizeAtProgresses_sizeListIsSortedByT()
[all …]
DRippleViewTest.kt37 rippleView.setupShader(RippleShader.RippleShape.CIRCLE) in testSetupShader_compilesCircle()
42 rippleView.setupShader(RippleShader.RippleShape.ROUNDED_BOX) in testSetupShader_compilesRoundedBox()
47 rippleView.setupShader(RippleShader.RippleShape.ELLIPSE) in testSetupShader_compilesEllipse()
DRippleAnimationTest.kt46 RippleShader.FadeParams( in init_shaderHasCorrectConfig()
53 RippleShader.FadeParams( in init_shaderHasCorrectConfig()
60 RippleShader.FadeParams( in init_shaderHasCorrectConfig()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/ripple/
DRippleAnimationConfig.kt14 val rippleShape: RippleShader.RippleShape = RippleShader.RippleShape.CIRCLE,
22 val opacity: Int = RippleShader.RIPPLE_DEFAULT_ALPHA,
23 val sparkleStrength: Float = RippleShader.RIPPLE_SPARKLE_STRENGTH,
25 val baseRingFadeParams: RippleShader.FadeParams? = null,
26 val sparkleRingFadeParams: RippleShader.FadeParams? = null,
27 val centerFillFadeParams: RippleShader.FadeParams? = null,
DRippleView.kt29 import com.android.systemui.surfaceeffects.ripple.RippleShader.RippleShape in <lambda>()
39 protected lateinit var rippleShader: RippleShader in <lambda>()
73 rippleShader = RippleShader(rippleShape) in <lambda>()
75 rippleShader.color = RippleShader.RIPPLE_DEFAULT_COLOR in <lambda>()
77 rippleShader.sparkleStrength = RippleShader.RIPPLE_SPARKLE_STRENGTH in <lambda>()
150 fadeParams: RippleShader.FadeParams, in <lambda>()
179 fun setSizeAtProgresses(vararg targetSizes: RippleShader.SizeAtProgress) { in <lambda>()
212 fun setColor(color: Int, alpha: Int = RippleShader.RIPPLE_DEFAULT_ALPHA) { in <lambda>()
DRippleAnimation.kt28 val rippleShader: RippleShader = RippleShader(config.rippleShape) in <lambda>()
83 destFadeParams: RippleShader.FadeParams, in <lambda>()
84 srcFadeParams: RippleShader.FadeParams? in <lambda>()
DRippleShader.kt36 class RippleShader(rippleShape: RippleShape = RippleShape.CIRCLE) : class
47 private val TAG = RippleShader::class.simpleName
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/receiver/
DReceiverChipRippleView.kt23 import com.android.systemui.surfaceeffects.ripple.RippleShader in <lambda>()
36 setupShader(RippleShader.RippleShape.CIRCLE) in <lambda>()
123 baseRingFadeParams.fadeOutStart = RippleShader.DEFAULT_BASE_RING_FADE_OUT_START in <lambda>()
124 baseRingFadeParams.fadeOutEnd = RippleShader.DEFAULT_FADE_OUT_END in <lambda>()
126 centerFillFadeParams.fadeInStart = RippleShader.DEFAULT_FADE_IN_START in <lambda>()
127 centerFillFadeParams.fadeInEnd = RippleShader.DEFAULT_CENTER_FILL_FADE_IN_END in <lambda>()
134 centerFillFadeParams.fadeOutEnd = RippleShader.DEFAULT_FADE_OUT_END in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
DWirelessChargingLayout.java37 import com.android.systemui.surfaceeffects.ripple.RippleShader;
38 import com.android.systemui.surfaceeffects.ripple.RippleShader.RippleShape;
53 private RippleShader.SizeAtProgress[] mSizeAtProgressArray;
179 mRippleView.setColor(color, RippleShader.RIPPLE_DEFAULT_ALPHA); in init()
288 mSizeAtProgressArray = new RippleShader.SizeAtProgress[] { in updateRippleSizeAtProgressList()
291 new RippleShader.SizeAtProgress(0f, 0f, 0f), in updateRippleSizeAtProgressList()
292 new RippleShader.SizeAtProgress(0.3f, width * 0.4f, height * 0.4f), in updateRippleSizeAtProgressList()
293 new RippleShader.SizeAtProgress(1f, maxSize, maxSize) in updateRippleSizeAtProgressList()
297 RippleShader.SizeAtProgress first = mSizeAtProgressArray[0]; in updateRippleSizeAtProgressList()
302 RippleShader.SizeAtProgress second = mSizeAtProgressArray[1]; in updateRippleSizeAtProgressList()
[all …]
DWirelessChargingAnimation.java33 import com.android.systemui.surfaceeffects.ripple.RippleShader.RippleShape;
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleShader.java23 final class RippleShader extends RuntimeShader { class
127 RippleShader() { in RippleShader() method in RippleShader
DRippleAnimationSession.java284 private final RippleShader mShader;
290 PaintType paint, FloatType progress, @ColorInt int color, RippleShader shader) { in AnimationProperties()
330 RippleShader getShader() { in getShader()
DRippleDrawable.java992 RippleShader shader = new RippleShader(); in createAnimationProperties()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthRippleView.kt32 import com.android.systemui.surfaceeffects.ripple.RippleShader in <lambda>()
59 private val rippleShader = RippleShader() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/
DMediaControlViewBinder.kt64 import com.android.systemui.surfaceeffects.ripple.RippleShader in <lambda>()
558 RippleShader.RippleShape.CIRCLE, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanel.java130 import com.android.systemui.surfaceeffects.ripple.RippleShader;
1284 RippleShader.RippleShape.CIRCLE, in createTouchRippleAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImpl.java230 import com.android.systemui.surfaceeffects.ripple.RippleShader.RippleShape;
/frameworks/base/boot/
Dboot-image-profile.txt6444 …d/graphics/BitmapShader;,Landroid/graphics/LinearGradient;,Landroid/graphics/drawable/RippleShader;
6774 …pShader;,Landroid/graphics/LinearGradient;,Landroid/graphics/drawable/RippleShader;]Llibcore/util/…
7504 …t;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;ILandroid/graphics/drawable/RippleShader;)V
7510 …le/RippleAnimationSession$AnimationProperties;->getShader()Landroid/graphics/drawable/RippleShader;
7602 …awable/RippleDrawable;]Landroid/graphics/drawable/RippleShader;Landroid/graphics/drawable/RippleSh…
7635 HSPLandroid/graphics/drawable/RippleShader;-><init>()V
7636 HSPLandroid/graphics/drawable/RippleShader;->setColor(II)V
7637 HSPLandroid/graphics/drawable/RippleShader;->setNoisePhase(F)V
7638 HSPLandroid/graphics/drawable/RippleShader;->setOrigin(FF)V
7639 HSPLandroid/graphics/drawable/RippleShader;->setProgress(F)V
[all …]
Dpreloaded-classes2450 android.graphics.drawable.RippleShader
/frameworks/base/config/
Dboot-image-profile.txt6447 …d/graphics/BitmapShader;,Landroid/graphics/LinearGradient;,Landroid/graphics/drawable/RippleShader;
6777 …pShader;,Landroid/graphics/LinearGradient;,Landroid/graphics/drawable/RippleShader;]Llibcore/util/…
7507 …t;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;ILandroid/graphics/drawable/RippleShader;)V
7513 …le/RippleAnimationSession$AnimationProperties;->getShader()Landroid/graphics/drawable/RippleShader;
7605 …awable/RippleDrawable;]Landroid/graphics/drawable/RippleShader;Landroid/graphics/drawable/RippleSh…
7638 HSPLandroid/graphics/drawable/RippleShader;-><init>()V
7639 HSPLandroid/graphics/drawable/RippleShader;->setColor(II)V
7640 HSPLandroid/graphics/drawable/RippleShader;->setNoisePhase(F)V
7641 HSPLandroid/graphics/drawable/RippleShader;->setOrigin(FF)V
7642 HSPLandroid/graphics/drawable/RippleShader;->setProgress(F)V
[all …]
Dpreloaded-classes2454 android.graphics.drawable.RippleShader