Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/
DSpringForce.java99 private double mGammaMinus; field in SpringForce
251 mGammaMinus = -mDampingRatio * mNaturalFreq in init()
275 double coeffA = lastDisplacement - (mGammaMinus * lastDisplacement - lastVelocity) in updateValues()
276 / (mGammaMinus - mGammaPlus); in updateValues()
277 double coeffB = (mGammaMinus * lastDisplacement - lastVelocity) in updateValues()
278 / (mGammaMinus - mGammaPlus); in updateValues()
279 displacement = coeffA * Math.pow(Math.E, mGammaMinus * deltaT) in updateValues()
281 currentVelocity = coeffA * mGammaMinus * Math.pow(Math.E, mGammaMinus * deltaT) in updateValues()