Home
last modified time | relevance | path

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

/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()