Searched refs:lastDisplacement (Results 1 – 1 of 1) sorted by relevance
216 public float getAcceleration(float lastDisplacement, float lastVelocity) { in getAcceleration() argument218 lastDisplacement -= getFinalPosition(); in getAcceleration()223 return (float) (-k * lastDisplacement - c * lastVelocity); in getAcceleration()274 DynamicAnimation.MassState updateValues(double lastDisplacement, double lastVelocity, in updateValues() argument279 lastDisplacement -= mFinalPosition; in updateValues()284 double coeffA = lastDisplacement - (mGammaMinus * lastDisplacement - lastVelocity) in updateValues()286 double coeffB = (mGammaMinus * lastDisplacement - lastVelocity) in updateValues()294 double coeffA = lastDisplacement; in updateValues()295 double coeffB = lastVelocity + mNaturalFreq * lastDisplacement; in updateValues()301 double cosCoeff = lastDisplacement; in updateValues()[all …]