Home
last modified time | relevance | path

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

/frameworks/support/dynamic-animation/src/main/java/androidx/dynamicanimation/animation/
DSpringForce.java83 double mNaturalFreq = Math.sqrt(STIFFNESS_MEDIUM); field in SpringForce
140 mNaturalFreq = Math.sqrt(stiffness); in setStiffness()
152 return (float) (mNaturalFreq * mNaturalFreq); in getStiffness()
220 double k = mNaturalFreq * mNaturalFreq; in getAcceleration()
221 double c = 2 * mNaturalFreq * mDampingRatio; in getAcceleration()
258 mGammaPlus = -mDampingRatio * mNaturalFreq in init()
259 + mNaturalFreq * Math.sqrt(mDampingRatio * mDampingRatio - 1); in init()
260 mGammaMinus = -mDampingRatio * mNaturalFreq in init()
261 - mNaturalFreq * Math.sqrt(mDampingRatio * mDampingRatio - 1); in init()
264 mDampedFreq = mNaturalFreq * Math.sqrt(1 - mDampingRatio * mDampingRatio); in init()
[all …]