Home
last modified time | relevance | path

Searched refs:setFloatUniform (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DRippleShader.java135 setFloatUniform("in_hasMask", shader == null ? 0 : 1); in setShader()
139 setFloatUniform("in_maxRadius", radius * 2.3f); in setRadius()
143 setFloatUniform("in_origin", x, y); in setOrigin()
147 setFloatUniform("in_touch", x, y); in setTouch()
151 setFloatUniform("in_progress", progress); in setProgress()
158 setFloatUniform("in_noisePhase", phase * 0.001f); in setNoisePhase()
164 setFloatUniform("in_turbulencePhase", turbulencePhase); in setNoisePhase()
166 setFloatUniform("in_tCircle1", in setNoisePhase()
169 setFloatUniform("in_tCircle2", in setNoisePhase()
172 setFloatUniform("in_tCircle3", in setNoisePhase()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DDwellRippleShader.kt100 setFloatUniform("in_origin", value.x.toFloat(), value.y.toFloat())
109 setFloatUniform("in_radius",
111 setFloatUniform("in_blur", MathUtils.lerp(1f, 0.7f, value))
120 setFloatUniform("in_distortion_strength", value)
129 setFloatUniform("in_time", field)
130 setFloatUniform("in_phase1", field * 3f + 0.367f)
131 setFloatUniform("in_phase2", field * 7.2f * 1.531f)
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/rain/
DRainEffect.kt66 rainConfig.rainShowerShader.setFloatUniform("time", elapsedTime) in <lambda>()
67 rainConfig.glassRainShader.setFloatUniform("time", elapsedTime * 0.7f) in <lambda>()
87 rainConfig.rainShowerShader.setFloatUniform("intensity", intensity) in <lambda>()
88 rainConfig.glassRainShader.setFloatUniform("intensity", intensity * 0.6f) in <lambda>()
89 rainConfig.colorGradingShader.setFloatUniform( in <lambda>()
94 rainConfig.outlineShader.setFloatUniform("thickness", thickness) in <lambda>()
108 rainConfig.rainShowerShader.setFloatUniform( in <lambda>()
113 rainConfig.rainShowerShader.setFloatUniform( in <lambda>()
126 rainConfig.rainShowerShader.setFloatUniform( in <lambda>()
131 rainConfig.rainShowerShader.setFloatUniform( in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/turbulencenoise/
DTurbulenceNoiseShader.kt197 setFloatUniform("in_gridNum", gridNumber) in setGridCount()
206 setFloatUniform("in_pixelDensity", pixelDensity) in setPixelDensity()
237 setFloatUniform("in_opacity", opacity) in setOpacity()
242 setFloatUniform("in_size", width, height) in setSize()
243 setFloatUniform("in_aspectRatio", width / max(height, 0.001f)) in setSize()
264 setFloatUniform("in_lumaMatteBlendFactor", lumaMatteBlendFactor) in setLumaMatteFactors()
265 setFloatUniform("in_lumaMatteOverallBrightness", lumaMatteOverallBrightness) in setLumaMatteFactors()
276 setFloatUniform("in_inverseLuma", if (inverse) -1f else 1f) in setInverseNoiseLuminosity()
292 setFloatUniform("in_noiseMove", noiseOffsetX, noiseOffsetY, noiseOffsetZ) in setNoiseMove()
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/fog/
DFogEffect.kt70 fogConfig.shader.setFloatUniform("time", timeFgd0, timeFgd1, timeBgd0, timeBgd1) in resize()
88 fogConfig.shader.setFloatUniform("intensity", intensity) in setIntensity()
89 fogConfig.colorGradingShader.setFloatUniform( in setIntensity()
103 fogConfig.shader.setFloatUniform( in adjustCropping()
108 fogConfig.shader.setFloatUniform( in adjustCropping()
120 fogConfig.shader.setFloatUniform( in adjustCropping()
125 fogConfig.shader.setFloatUniform( in adjustCropping()
130 fogConfig.shader.setFloatUniform("screenSize", surfaceSize.width, surfaceSize.height) in adjustCropping()
131 fogConfig.shader.setFloatUniform( in adjustCropping()
153 fogConfig.shader.setFloatUniform( in updateTextureUniforms()
[all …]
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/ripple/
DRippleShader.kt197 setFloatUniform("in_center", x, y) in setCenter()
222 setFloatUniform("in_fadeSparkle", getFade(sparkleRingFadeParams, value))
223 setFloatUniform("in_fadeRing", getFade(baseRingFadeParams, value))
224 setFloatUniform("in_fadeFill", getFade(centerFillFadeParams, value))
234 setFloatUniform("in_size", rippleSize.currentWidth, rippleSize.currentHeight)
235 setFloatUniform("in_thickness", rippleSize.currentHeight * 0.5f)
237 setFloatUniform(
241 setFloatUniform("in_blur", lerp(1.25f, 0.5f, value))
248 setFloatUniform("in_time", value)
266 setFloatUniform("in_sparkle_strength", value)
[all …]
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/snow/
DSnowEffect.kt66 snowConfig.shader.setFloatUniform("time", elapsedTime) in <lambda>()
90 snowConfig.shader.setFloatUniform("intensity", intensity) in <lambda>()
91 snowConfig.colorGradingShader.setFloatUniform( in <lambda>()
95 snowConfig.accumulatedSnowShader.setFloatUniform( in <lambda>()
111 snowConfig.shader.setFloatUniform( in <lambda>()
116 snowConfig.shader.setFloatUniform( in <lambda>()
128 snowConfig.shader.setFloatUniform( in <lambda>()
133 snowConfig.shader.setFloatUniform( in <lambda>()
138 snowConfig.shader.setFloatUniform("screenSize", surfaceSize.width, surfaceSize.height) in <lambda>()
139 snowConfig.shader.setFloatUniform( in <lambda>()
[all …]
/frameworks/base/graphics/java/android/graphics/
DRuntimeShader.java333 public void setFloatUniform(@NonNull String uniformName, float value) { in setFloatUniform() method in RuntimeShader
334 setFloatUniform(uniformName, value, 0.0f, 0.0f, 0.0f, 1); in setFloatUniform()
344 public void setFloatUniform(@NonNull String uniformName, float value1, float value2) { in setFloatUniform() method in RuntimeShader
345 setFloatUniform(uniformName, value1, value2, 0.0f, 0.0f, 2); in setFloatUniform()
356 public void setFloatUniform(@NonNull String uniformName, float value1, float value2, in setFloatUniform() method in RuntimeShader
358 setFloatUniform(uniformName, value1, value2, value3, 0.0f, 3); in setFloatUniform()
369 public void setFloatUniform(@NonNull String uniformName, float value1, float value2, in setFloatUniform() method in RuntimeShader
371 setFloatUniform(uniformName, value1, value2, value3, value4, 4); in setFloatUniform()
382 public void setFloatUniform(@NonNull String uniformName, @NonNull float[] values) { in setFloatUniform() method in RuntimeShader
386 private void setFloatUniform(@NonNull String uniformName, float value1, float value2, in setFloatUniform() method in RuntimeShader
DMesh.java187 public void setFloatUniform(@NonNull String uniformName, float value) { in setFloatUniform() method in Mesh
188 setFloatUniform(uniformName, value, 0.0f, 0.0f, 0.0f, 1); in setFloatUniform()
200 public void setFloatUniform(@NonNull String uniformName, float value1, float value2) { in setFloatUniform() method in Mesh
201 setFloatUniform(uniformName, value1, value2, 0.0f, 0.0f, 2); in setFloatUniform()
215 public void setFloatUniform( in setFloatUniform() method in Mesh
217 setFloatUniform(uniformName, value1, value2, value3, 0.0f, 3); in setFloatUniform()
231 public void setFloatUniform( in setFloatUniform() method in Mesh
233 setFloatUniform(uniformName, value1, value2, value3, value4, 4); in setFloatUniform()
245 public void setFloatUniform(@NonNull String uniformName, @NonNull float[] values) { in setFloatUniform() method in Mesh
249 private void setFloatUniform( in setFloatUniform() method in Mesh
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DStretchShaderActivity.java360 mRuntimeShader.setFloatUniform("uMaxStretchIntensity", mMaxStretchIntensity); in updateShader()
361 mRuntimeShader.setFloatUniform("uStretchAffectedDist", mStretchAffectedDistance); in updateShader()
362 mRuntimeShader.setFloatUniform("uDistanceStretchedX", distanceStretchedX); in updateShader()
363 mRuntimeShader.setFloatUniform("uDistanceStretchedY", distanceStretchedY); in updateShader()
364 mRuntimeShader.setFloatUniform("uDistDiffX", diffX); in updateShader()
365 mRuntimeShader.setFloatUniform("uDistDiffY", diffY); in updateShader()
366 mRuntimeShader.setFloatUniform("uOverscrollX", normOverScrollDistX); in updateShader()
367 mRuntimeShader.setFloatUniform("uOverscrollY", normOverScrollDistY); in updateShader()
368 mRuntimeShader.setFloatUniform("uScrollX", uScrollX); in updateShader()
369 mRuntimeShader.setFloatUniform("uScrollY", uScrollY); in updateShader()
[all …]
DRenderEffectViewActivity.kt70 mDropsShader.setFloatUniform("elapsedSeconds", in <lambda>()
72 mDropsShader.setFloatUniform("viewDimensions", viewWidth, viewHeight) in <lambda>()
DColorFiltersMutateActivity.java87 mRuntimeShader.setFloatUniform("param1", mShaderParam1); in BitmapsView()
180 mRuntimeShader.setFloatUniform("param1", mShaderParam1); in setShaderParam1()
DBitmapTransitionView.kt97 mShader.setFloatUniform("progress", mCurrentProgress) in <lambda>()
DMeshLargeActivity.java115 mesh.setFloatUniform("test", 1.0f, 2.0f); in onDraw()
DRippleActivity.java113 mRuntimeShader.setFloatUniform("in_maxRadius", MAX_RADIUS); in RippleView()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/glowboxeffect/
DGlowBoxShader.kt44 setFloatUniform("in_center", x, y) in setCenter()
48 setFloatUniform("in_size", width, height) in setSize()
52 setFloatUniform("in_blur", blurAmount) in setBlur()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/shaders/
DSparkleShader.kt76 setFloatUniform("in_time", time) in setTime()
95 setFloatUniform("in_pixelate", pixelateAmount) in setPixelateAmount()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/player/platform/
DAndroidPaintContext.java428 shader.setFloatUniform(name, val); in applyPaint()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt16383 method public void setFloatUniform(@NonNull String, float);
16384 method public void setFloatUniform(@NonNull String, float, float);
16385 method public void setFloatUniform(@NonNull String, float, float, float);
16386 method public void setFloatUniform(@NonNull String, float, float, float, float);
16387 method public void setFloatUniform(@NonNull String, @NonNull float[]);
17177 method public void setFloatUniform(@NonNull String, float);
17178 method public void setFloatUniform(@NonNull String, float, float);
17179 method public void setFloatUniform(@NonNull String, float, float, float);
17180 method public void setFloatUniform(@NonNull String, float, float, float, float);
17181 method public void setFloatUniform(@NonNull String, @NonNull float[]);
/frameworks/base/boot/
Dboot-image-profile.txt6762 HSPLandroid/graphics/RuntimeShader;->setFloatUniform(Ljava/lang/String;FF)V
6763 HSPLandroid/graphics/RuntimeShader;->setFloatUniform(Ljava/lang/String;FFFFI)V
/frameworks/base/config/
Dboot-image-profile.txt6765 HSPLandroid/graphics/RuntimeShader;->setFloatUniform(Ljava/lang/String;FF)V
6766 HSPLandroid/graphics/RuntimeShader;->setFloatUniform(Ljava/lang/String;FFFFI)V