Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/
DSpringForce.java84 double mDampingRatio = DAMPING_RATIO_MEDIUM_BOUNCY; field in SpringForce
173 mDampingRatio = dampingRatio; in setDampingRatio()
185 return (float) mDampingRatio; in getDampingRatio()
216 double c = 2 * mNaturalFreq * mDampingRatio; in getAcceleration()
247 if (mDampingRatio > 1) { in init()
249 mGammaPlus = -mDampingRatio * mNaturalFreq in init()
250 + mNaturalFreq * Math.sqrt(mDampingRatio * mDampingRatio - 1); in init()
251 mGammaMinus = -mDampingRatio * mNaturalFreq in init()
252 - mNaturalFreq * Math.sqrt(mDampingRatio * mDampingRatio - 1); in init()
253 } else if (mDampingRatio >= 0 && mDampingRatio < 1) { in init()
[all …]
DSpringAnimation.java238 return mSpring.mDampingRatio > 0; in canSkipToEnd()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DPhysicsAnimationLayout.java666 private float mDampingRatio = -1;
902 mDampingRatio = dampingRatio;
1015 mDampingRatio >= 0 ? mDampingRatio : defaultSpringForce.getDampingRatio(),
1158 mDampingRatio >= 0
1159 ? mDampingRatio
1169 mDampingRatio >= 0
1170 ? mDampingRatio
1197 mDampingRatio = -1;