Searched refs:normOverScrollDistX (Results 1 – 3 of 3) sorted by relevance
200 float normOverScrollDistX = stretchEffect.vectorX; in createSkShader() local203 StretchEffect::CONTENT_DISTANCE_STRETCHED / (1 + abs(normOverScrollDistX)); in createSkShader()234 mBuilder->uniform("uOverscrollX").set(&normOverScrollDistX, 1); in createSkShader()
198 float normOverScrollDistX = mStretchDirection.x(); in getShader() local200 float distanceStretchedX = width / (1 + abs(normOverScrollDistX)); in getShader()223 mBuilder->uniform("uOverscrollX").set(&normOverScrollDistX, 1); in getShader()
347 final float normOverScrollDistX = mOverscrollX / width; in updateShader() local351 / (1 + Math.abs(normOverScrollDistX) * mMaxStretchIntensity); in updateShader()366 mRuntimeShader.setFloatUniform("uOverscrollX", normOverScrollDistX); in updateShader()376 mStretchDrawable.setOverscrollX(normOverScrollDistX); in updateShader()