Searched refs:setDampingRatio (Results 1 – 17 of 17) sorted by relevance
135 anim.setSpring(new SpringForce(1000).setDampingRatio(1.2f)); in testFloatValueHolder()209 anim1.getSpring().setStiffness(SpringForce.STIFFNESS_HIGH).setDampingRatio(1f); in testDampingRatioOverAndCriticallyDamped()210 anim2.getSpring().setStiffness(SpringForce.STIFFNESS_HIGH).setDampingRatio(1.5f); in testDampingRatioOverAndCriticallyDamped()211 anim3.getSpring().setStiffness(SpringForce.STIFFNESS_HIGH).setDampingRatio(2.0f); in testDampingRatioOverAndCriticallyDamped()273 anim1.getSpring().setStiffness(SpringForce.STIFFNESS_MEDIUM).setDampingRatio(0.3f); in testDampingRatioUnderDamped()274 anim2.getSpring().setStiffness(SpringForce.STIFFNESS_MEDIUM).setDampingRatio(0.5f); in testDampingRatioUnderDamped()275 anim3.getSpring().setStiffness(SpringForce.STIFFNESS_MEDIUM).setDampingRatio(1f); in testDampingRatioUnderDamped()333 springs[j].setDampingRatio(dampingRatios[i]); in testStiffness()383 spring.setDampingRatio(-5f); in testInvalidDampingRatio()443 spring.setDampingRatio(1.0f); in testGetDampingRatio()[all …]
87 anim1X.getSpring().setStiffness(mStiffness).setDampingRatio(mDampingRatio); in onCreate()88 anim1Y.getSpring().setStiffness(mStiffness).setDampingRatio(mDampingRatio); in onCreate()89 anim2X.getSpring().setStiffness(mStiffness).setDampingRatio(mDampingRatio); in onCreate()90 anim2Y.getSpring().setStiffness(mStiffness).setDampingRatio(mDampingRatio); in onCreate()
93 anim.getSpring().setDampingRatio(mDampingRatio).setStiffness(mStiffness); in onCreate()
170 public SpringForce setDampingRatio(@FloatRange(from = 0.0) float dampingRatio) { in setDampingRatio() method in SpringForce
89 method public android.support.animation.SpringForce setDampingRatio(float);
89 method public androidx.dynamicanimation.animation.SpringForce setDampingRatio(float);
298 .setDampingRatio(SpringForce.DAMPING_RATIO_LOW_BOUNCY) in Link()
88 method public android.support.animation.SpringForce setDampingRatio(float);
58 method public android.support.animation.SpringForce setDampingRatio(float);
86 method public android.support.animation.SpringForce setDampingRatio(float);