Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/skia/filters/
DStretchShaderFactory.cpp204 float distanceStretchedY = in createSkShader() local
213 distanceStretchedY - StretchEffect::CONTENT_DISTANCE_STRETCHED; in createSkShader()
229 mBuilder->uniform("uDistanceStretchedY").set(&distanceStretchedY, 1); in createSkShader()
/frameworks/base/libs/hwui/effects/
DStretchEffect.cpp201 float distanceStretchedY = height / (1 + abs(normOverScrollDistY)); in getShader() local
205 float diffY = distanceStretchedY - height; in getShader()
218 mBuilder->uniform("uDistanceStretchedY").set(&distanceStretchedY, 1); in getShader()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DStretchShaderActivity.java352 final float distanceStretchedY = in updateShader() local
356 final float diffY = distanceStretchedY - distanceNotStretched; in updateShader()
363 mRuntimeShader.setFloatUniform("uDistanceStretchedY", distanceStretchedY); in updateShader()