Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/
DSpringForce.java100 private double mDampedFreq; field in SpringForce
255 mDampedFreq = mNaturalFreq * Math.sqrt(1 - mDampingRatio * mDampingRatio); in init()
293 double sinCoeff = (1 / mDampedFreq) * (mDampingRatio * mNaturalFreq in updateValues()
296 * (cosCoeff * Math.cos(mDampedFreq * deltaT) in updateValues()
297 + sinCoeff * Math.sin(mDampedFreq * deltaT)); in updateValues()
300 * (-mDampedFreq * cosCoeff * Math.sin(mDampedFreq * deltaT) in updateValues()
301 + mDampedFreq * sinCoeff * Math.cos(mDampedFreq * deltaT)); in updateValues()
/frameworks/base/core/java/android/widget/
DEdgeEffect.java775 final double mDampedFreq = NATURAL_FREQUENCY * Math.sqrt(1 - DAMPING_RATIO * DAMPING_RATIO); in updateSpring() local
779 double sinCoeff = (1 / mDampedFreq) * (DAMPING_RATIO * NATURAL_FREQUENCY in updateSpring()
782 * (cosCoeff * Math.cos(mDampedFreq * deltaT) in updateSpring()
783 + sinCoeff * Math.sin(mDampedFreq * deltaT)); in updateSpring()
786 * (-mDampedFreq * cosCoeff * Math.sin(mDampedFreq * deltaT) in updateSpring()
787 + mDampedFreq * sinCoeff * Math.cos(mDampedFreq * deltaT)); in updateSpring()