Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/
DSpringForce.java82 double mNaturalFreq = Math.sqrt(STIFFNESS_MEDIUM); field in SpringForce
139 mNaturalFreq = Math.sqrt(stiffness); in setStiffness()
151 return (float) (mNaturalFreq * mNaturalFreq); in getStiffness()
215 double k = mNaturalFreq * mNaturalFreq; in getAcceleration()
216 double c = 2 * mNaturalFreq * mDampingRatio; in getAcceleration()
249 mGammaPlus = -mDampingRatio * mNaturalFreq in init()
250 + mNaturalFreq * Math.sqrt(mDampingRatio * mDampingRatio - 1); in init()
251 mGammaMinus = -mDampingRatio * mNaturalFreq in init()
252 - mNaturalFreq * Math.sqrt(mDampingRatio * mDampingRatio - 1); in init()
255 mDampedFreq = mNaturalFreq * Math.sqrt(1 - mDampingRatio * mDampingRatio); in init()
[all …]