Searched refs:mDampingRatio (Results 1 – 3 of 3) sorted by relevance
84 double mDampingRatio = DAMPING_RATIO_MEDIUM_BOUNCY; field in SpringForce173 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 …]
238 return mSpring.mDampingRatio > 0; in canSkipToEnd()
666 private float mDampingRatio = -1;902 mDampingRatio = dampingRatio;1015 mDampingRatio >= 0 ? mDampingRatio : defaultSpringForce.getDampingRatio(),1158 mDampingRatio >= 01159 ? mDampingRatio1169 mDampingRatio >= 01170 ? mDampingRatio1197 mDampingRatio = -1;