Home
last modified time | relevance | path

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

/frameworks/support/dynamic-animation/src/main/java/androidx/dynamicanimation/animation/
DSpringForce.java101 private double mDampedFreq; field in SpringForce
264 mDampedFreq = mNaturalFreq * Math.sqrt(1 - mDampingRatio * mDampingRatio); in init()
302 double sinCoeff = (1 / mDampedFreq) * (mDampingRatio * mNaturalFreq in updateValues()
305 * (cosCoeff * Math.cos(mDampedFreq * deltaT) in updateValues()
306 + sinCoeff * Math.sin(mDampedFreq * deltaT)); in updateValues()
309 * (-mDampedFreq * cosCoeff * Math.sin(mDampedFreq * deltaT) in updateValues()
310 + mDampedFreq * sinCoeff * Math.cos(mDampedFreq * deltaT)); in updateValues()