Home
last modified time | relevance | path

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

/aosp12/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DStretchShaderActivity.java50 private float mMaxStretchIntensity = MAX_STRETCH_INTENSITY; field in StretchShaderActivity
186 int stretchProgress = (int) (mMaxStretchIntensity * 100); in onCreate()
187 stretchIntensityText.setText("StretchIntensity: " + mMaxStretchIntensity); in onCreate()
195 mMaxStretchIntensity = progress / 100f; in onCreate()
196 stretchIntensityText.setText("StretchIntensity: " + mMaxStretchIntensity); in onCreate()
351 / (1 + Math.abs(normOverScrollDistX) * mMaxStretchIntensity); in updateShader()
354 / (1 + Math.abs(normOverScrollDistY) * mMaxStretchIntensity); in updateShader()
360 mRuntimeShader.setUniform("uMaxStretchIntensity", mMaxStretchIntensity); in updateShader()