Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/skia/filters/
DStretchShaderFactory.cpp200 float normOverScrollDistX = stretchEffect.vectorX; in createSkShader() local
203 StretchEffect::CONTENT_DISTANCE_STRETCHED / (1 + abs(normOverScrollDistX)); in createSkShader()
234 mBuilder->uniform("uOverscrollX").set(&normOverScrollDistX, 1); in createSkShader()
/frameworks/base/libs/hwui/effects/
DStretchEffect.cpp198 float normOverScrollDistX = mStretchDirection.x(); in getShader() local
200 float distanceStretchedX = width / (1 + abs(normOverScrollDistX)); in getShader()
223 mBuilder->uniform("uOverscrollX").set(&normOverScrollDistX, 1); in getShader()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DStretchShaderActivity.java347 final float normOverScrollDistX = mOverscrollX / width; in updateShader() local
351 / (1 + Math.abs(normOverScrollDistX) * mMaxStretchIntensity); in updateShader()
366 mRuntimeShader.setFloatUniform("uOverscrollX", normOverScrollDistX); in updateShader()
376 mStretchDrawable.setOverscrollX(normOverScrollDistX); in updateShader()