Searched refs:lastVelocity (Results 1 – 1 of 1) sorted by relevance
211 public float getAcceleration(float lastDisplacement, float lastVelocity) { in getAcceleration() argument218 return (float) (-k * lastDisplacement - c * lastVelocity); in getAcceleration()265 DynamicAnimation.MassState updateValues(double lastDisplacement, double lastVelocity, in updateValues() argument275 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()