Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/skia/filters/
DStretchShaderFactory.cpp201 float normOverScrollDistY = stretchEffect.vectorY; in createSkShader() local
205 StretchEffect::CONTENT_DISTANCE_STRETCHED / (1 + abs(normOverScrollDistY)); in createSkShader()
235 mBuilder->uniform("uOverscrollY").set(&normOverScrollDistY, 1); in createSkShader()
/frameworks/base/libs/hwui/effects/
DStretchEffect.cpp199 float normOverScrollDistY = mStretchDirection.y(); in getShader() local
201 float distanceStretchedY = height / (1 + abs(normOverScrollDistY)); in getShader()
224 mBuilder->uniform("uOverscrollY").set(&normOverScrollDistY, 1); in getShader()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DStretchShaderActivity.java348 final float normOverScrollDistY = mOverscrollY / height; in updateShader() local
354 / (1 + Math.abs(normOverScrollDistY) * mMaxStretchIntensity); in updateShader()
367 mRuntimeShader.setFloatUniform("uOverscrollY", normOverScrollDistY); in updateShader()
377 mStretchDrawable.setOverscrollY(normOverScrollDistY); in updateShader()