Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/skia/filters/
DStretchShaderFactory.cpp203 StretchEffect::CONTENT_DISTANCE_STRETCHED / (1 + abs(normOverScrollDistX)); in createSkShader()
205 StretchEffect::CONTENT_DISTANCE_STRETCHED / (1 + abs(normOverScrollDistY)); in createSkShader()
207 1.f / StretchEffect::CONTENT_DISTANCE_STRETCHED; in createSkShader()
209 1.f / StretchEffect::CONTENT_DISTANCE_STRETCHED; in createSkShader()
211 distanceStretchedX - StretchEffect::CONTENT_DISTANCE_STRETCHED; in createSkShader()
213 distanceStretchedY - StretchEffect::CONTENT_DISTANCE_STRETCHED; in createSkShader()
226 mBuilder->uniform("uStretchAffectedDistX").set(&StretchEffect::CONTENT_DISTANCE_STRETCHED, 1); in createSkShader()
227 mBuilder->uniform("uStretchAffectedDistY").set(&StretchEffect::CONTENT_DISTANCE_STRETCHED, 1); in createSkShader()
/frameworks/native/libs/ui/include/ui/
DStretchEffect.h28 constexpr static const float CONTENT_DISTANCE_STRETCHED = 1.f; member
67 return CONTENT_DISTANCE_STRETCHED / (1.f + abs(vectorX)); in getStretchWidthMultiplier()
71 return CONTENT_DISTANCE_STRETCHED / (1.f + abs(vectorY)); in getStretchHeightMultiplier()