Searched refs:lastVelocity (Results 1 – 1 of 1) sorted by relevance
216 public float getAcceleration(float lastDisplacement, float lastVelocity) { in getAcceleration() argument223 return (float) (-k * lastDisplacement - c * lastVelocity); in getAcceleration()274 DynamicAnimation.MassState updateValues(double lastDisplacement, double lastVelocity, in updateValues() argument284 double coeffA = lastDisplacement - (mGammaMinus * lastDisplacement - lastVelocity) in updateValues()286 double coeffB = (mGammaMinus * lastDisplacement - lastVelocity) in updateValues()295 double coeffB = lastVelocity + mNaturalFreq * lastDisplacement; in updateValues()303 * lastDisplacement + lastVelocity); in updateValues()