Home
last modified time | relevance | path

Searched refs:setUniform (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DRippleShader.java137 setUniform("in_hasMask", shader == null ? 0 : 1); in setShader()
141 setUniform("in_maxRadius", radius * 2.3f); in setRadius()
145 setUniform("in_origin", new float[] {x, y}); in setOrigin()
149 setUniform("in_touch", new float[] {x, y}); in setTouch()
153 setUniform("in_progress", progress); in setProgress()
160 setUniform("in_noisePhase", phase * 0.001f); in setNoisePhase()
166 setUniform("in_turbulencePhase", turbulencePhase); in setNoisePhase()
168 setUniform("in_tCircle1", new float[]{ in setNoisePhase()
172 setUniform("in_tCircle2", new float[]{ in setNoisePhase()
176 setUniform("in_tCircle3", new float[]{ in setNoisePhase()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/charging/
DRippleShader.kt125 setUniform("in_maxRadius", value)
134 setUniform("in_origin", floatArrayOf(value.x, value.y))
143 setUniform("in_progress", value)
144 setUniform("in_radius",
146 setUniform("in_blur", MathUtils.lerp(1.25f, 0.5f, value))
152 setUniform("in_fadeSparkle", Math.min(fadeIn, 1 - fadeOutNoise))
153 setUniform("in_fadeCircle", 1 - fadeCircle)
154 setUniform("in_fadeRing", Math.min(fadeIn, 1 - fadeOutRipple))
163 setUniform("in_time", value)
173 setUniform("in_color", floatArrayOf(color.red(),
[all …]
/frameworks/base/graphics/java/android/graphics/
DRuntimeShader.java66 public void setUniform(@NonNull String uniformName, float value) { in setUniform() method in RuntimeShader
67 setUniform(uniformName, new float[] {value}); in setUniform()
79 public void setUniform(@NonNull String uniformName, float value1, float value2) { in setUniform() method in RuntimeShader
80 setUniform(uniformName, new float[] {value1, value2}); in setUniform()
91 public void setUniform(@NonNull String uniformName, float[] values) { in setUniform() method in RuntimeShader
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DStretchShaderActivity.java360 mRuntimeShader.setUniform("uMaxStretchIntensity", mMaxStretchIntensity); in updateShader()
361 mRuntimeShader.setUniform("uStretchAffectedDist", mStretchAffectedDistance); in updateShader()
362 mRuntimeShader.setUniform("uDistanceStretchedX", distanceStretchedX); in updateShader()
363 mRuntimeShader.setUniform("uDistanceStretchedY", distanceStretchedY); in updateShader()
364 mRuntimeShader.setUniform("uDistDiffX", diffX); in updateShader()
365 mRuntimeShader.setUniform("uDistDiffY", diffY); in updateShader()
366 mRuntimeShader.setUniform("uOverscrollX", normOverScrollDistX); in updateShader()
367 mRuntimeShader.setUniform("uOverscrollY", normOverScrollDistY); in updateShader()
368 mRuntimeShader.setUniform("uScrollX", uScrollX); in updateShader()
369 mRuntimeShader.setUniform("uScrollY", uScrollY); in updateShader()
[all …]
DColorFiltersMutateActivity.java87 mRuntimeShader.setUniform("param1", mShaderParam1); in BitmapsView()
180 mRuntimeShader.setUniform("param1", mShaderParam1); in setShaderParam1()
DRippleActivity.java113 mRuntimeShader.setUniform("in_maxRadius", MAX_RADIUS); in RippleView()
/frameworks/base/libs/hwui/pipeline/skia/
DAnimatedDrawables.h77 setUniform(effectBuilder, "in_radius", params.radius); in draw()
78 setUniform(effectBuilder, "in_progress", params.progress); in draw()
79 setUniform(effectBuilder, "in_turbulencePhase", params.turbulencePhase); in draw()
80 setUniform(effectBuilder, "in_noisePhase", params.turbulencePhase->value * 0.001); in draw()
124 static void setUniform(SkRuntimeShaderBuilder& effectBuilder, const char* name, in setUniform() function
132 static void setUniform(SkRuntimeShaderBuilder& effectBuilder, const char* name, float value) { in setUniform() function
/frameworks/rs/driver/
DrsdShader.h128 void setUniform(const android::renderscript::Context *rsc,
DrsdShader.cpp361 void RsdShader::setUniform(const Context *rsc, const Element *field, const float *fd, in setUniform() function in RsdShader
568 setUniform(rsc, f, fd, slot, arraySize); in setupUserConstants()
/frameworks/base/boot/
Dboot-image-profile.txt7106 HSPLandroid/graphics/RuntimeShader;->setUniform(Ljava/lang/String;F)V+]Landroid/graphics/RuntimeSha…
7107 HSPLandroid/graphics/RuntimeShader;->setUniform(Ljava/lang/String;[F)V+]Landroid/graphics/RuntimeSh…
/frameworks/base/config/
Dboot-image-profile.txt7102 HSPLandroid/graphics/RuntimeShader;->setUniform(Ljava/lang/String;F)V+]Landroid/graphics/RuntimeSha…
7103 HSPLandroid/graphics/RuntimeShader;->setUniform(Ljava/lang/String;[F)V+]Landroid/graphics/RuntimeSh…