Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
DFlingAnimationUtils.java201 float velocityFactor = mSpeedUpFactor == 0.0f in getProperties() local
204 mY2 / mLinearOutSlowInX2, velocityFactor); in getProperties()
206 Interpolator slowInInterpolator = getInterpolator(startGradient, velocityFactor); in getProperties()
228 private Interpolator getInterpolator(float startGradient, float velocityFactor) { in getInterpolator() argument
229 if (Float.isNaN(velocityFactor)) { in getInterpolator()
234 || velocityFactor != mCachedVelocityFactor) { in getInterpolator()
235 float speedup = mSpeedUpFactor * (1.0f - velocityFactor); in getInterpolator()
247 mCachedVelocityFactor = velocityFactor; in getInterpolator()