Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/
DSpringForce.java293 double sinCoeff = (1 / mDampedFreq) * (mDampingRatio * mNaturalFreq in updateValues() local
297 + sinCoeff * Math.sin(mDampedFreq * deltaT)); in updateValues()
301 + mDampedFreq * sinCoeff * Math.cos(mDampedFreq * deltaT)); in updateValues()
/frameworks/base/core/java/android/widget/
DEdgeEffect.java779 double sinCoeff = (1 / mDampedFreq) * (DAMPING_RATIO * NATURAL_FREQUENCY in updateSpring() local
783 + sinCoeff * Math.sin(mDampedFreq * deltaT)); in updateSpring()
787 + mDampedFreq * sinCoeff * Math.cos(mDampedFreq * deltaT)); in updateSpring()