Searched refs:distanceStretchedX (Results 1 – 3 of 3) sorted by relevance
202 float distanceStretchedX = in createSkShader() local211 distanceStretchedX - StretchEffect::CONTENT_DISTANCE_STRETCHED; in createSkShader()228 mBuilder->uniform("uDistanceStretchedX").set(&distanceStretchedX, 1); in createSkShader()
200 float distanceStretchedX = width / (1 + abs(normOverScrollDistX)); in getShader() local204 float diffX = distanceStretchedX - width; in getShader()217 mBuilder->uniform("uDistanceStretchedX").set(&distanceStretchedX, 1); in getShader()
349 final float distanceStretchedX = in updateShader() local355 final float diffX = distanceStretchedX - distanceNotStretched; in updateShader()362 mRuntimeShader.setFloatUniform("uDistanceStretchedX", distanceStretchedX); in updateShader()