Searched refs:normOverScrollDistY (Results 1 – 3 of 3) sorted by relevance
201 float normOverScrollDistY = stretchEffect.vectorY; in createSkShader() local205 StretchEffect::CONTENT_DISTANCE_STRETCHED / (1 + abs(normOverScrollDistY)); in createSkShader()235 mBuilder->uniform("uOverscrollY").set(&normOverScrollDistY, 1); in createSkShader()
199 float normOverScrollDistY = mStretchDirection.y(); in getShader() local201 float distanceStretchedY = height / (1 + abs(normOverScrollDistY)); in getShader()224 mBuilder->uniform("uOverscrollY").set(&normOverScrollDistY, 1); in getShader()
348 final float normOverScrollDistY = mOverscrollY / height; in updateShader() local354 / (1 + Math.abs(normOverScrollDistY) * mMaxStretchIntensity); in updateShader()367 mRuntimeShader.setFloatUniform("uOverscrollY", normOverScrollDistY); in updateShader()377 mStretchDrawable.setOverscrollY(normOverScrollDistY); in updateShader()