Home
last modified time | relevance | path

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

/frameworks/support/dynamic-animation/src/main/java/androidx/dynamicanimation/animation/
DSpringForce.java100 private double mGammaMinus; field in SpringForce
260 mGammaMinus = -mDampingRatio * mNaturalFreq in init()
284 double coeffA = lastDisplacement - (mGammaMinus * lastDisplacement - lastVelocity) in updateValues()
285 / (mGammaMinus - mGammaPlus); in updateValues()
286 double coeffB = (mGammaMinus * lastDisplacement - lastVelocity) in updateValues()
287 / (mGammaMinus - mGammaPlus); in updateValues()
288 displacement = coeffA * Math.pow(Math.E, mGammaMinus * deltaT) in updateValues()
290 currentVelocity = coeffA * mGammaMinus * Math.pow(Math.E, mGammaMinus * deltaT) in updateValues()