Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/
DSpringForce.java211 public float getAcceleration(float lastDisplacement, float lastVelocity) { in getAcceleration() argument
218 return (float) (-k * lastDisplacement - c * lastVelocity); in getAcceleration()
265 DynamicAnimation.MassState updateValues(double lastDisplacement, double lastVelocity, in updateValues() argument
275 double coeffA = lastDisplacement - (mGammaMinus * lastDisplacement - lastVelocity) in updateValues()
277 double coeffB = (mGammaMinus * lastDisplacement - lastVelocity) in updateValues()
286 double coeffB = lastVelocity + mNaturalFreq * lastDisplacement; in updateValues()
294 * lastDisplacement + lastVelocity); in updateValues()