Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/skia/filters/
DStretchShaderFactory.cpp202 float distanceStretchedX = in createSkShader() local
211 distanceStretchedX - StretchEffect::CONTENT_DISTANCE_STRETCHED; in createSkShader()
228 mBuilder->uniform("uDistanceStretchedX").set(&distanceStretchedX, 1); in createSkShader()
/frameworks/base/libs/hwui/effects/
DStretchEffect.cpp200 float distanceStretchedX = width / (1 + abs(normOverScrollDistX)); in getShader() local
204 float diffX = distanceStretchedX - width; in getShader()
217 mBuilder->uniform("uDistanceStretchedX").set(&distanceStretchedX, 1); in getShader()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DStretchShaderActivity.java349 final float distanceStretchedX = in updateShader() local
355 final float diffX = distanceStretchedX - distanceNotStretched; in updateShader()
362 mRuntimeShader.setFloatUniform("uDistanceStretchedX", distanceStretchedX); in updateShader()