Home
last modified time | relevance | path

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

/frameworks/support/dynamic-animation/src/androidTest/java/androidx/dynamicanimation/tests/
DSpringTests.java135 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 …]
/frameworks/support/samples/SupportAnimationDemos/src/main/java/com/example/android/support/animation/
DMainActivity.java87 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()
DSpringActivity.java93 anim.getSpring().setDampingRatio(mDampingRatio).setStiffness(mStiffness); in onCreate()
/frameworks/support/dynamic-animation/src/main/java/androidx/dynamicanimation/animation/
DSpringForce.java170 public SpringForce setDampingRatio(@FloatRange(from = 0.0) float dampingRatio) { in setDampingRatio() method in SpringForce
/frameworks/support/dynamic-animation/api_legacy/
D26.0.0.txt89 method public android.support.animation.SpringForce setDampingRatio(float);
Dcurrent.txt89 method public android.support.animation.SpringForce setDampingRatio(float);
D28.0.0-alpha1.txt89 method public android.support.animation.SpringForce setDampingRatio(float);
D27.1.0.txt89 method public android.support.animation.SpringForce setDampingRatio(float);
D26.1.0.txt89 method public android.support.animation.SpringForce setDampingRatio(float);
D27.0.0.txt89 method public android.support.animation.SpringForce setDampingRatio(float);
/frameworks/support/dynamic-animation/api/
Dcurrent.txt89 method public androidx.dynamicanimation.animation.SpringForce setDampingRatio(float);
/frameworks/base/packages/EasterEgg/src/com/android/egg/octo/
DOctopusDrawable.java298 .setDampingRatio(SpringForce.DAMPING_RATIO_LOW_BOUNCY) in Link()
/frameworks/support/api/
D25.4.0.txt88 method public android.support.animation.SpringForce setDampingRatio(float);
D25.3.0.txt58 method public android.support.animation.SpringForce setDampingRatio(float);
D26.0.0-beta1.txt86 method public android.support.animation.SpringForce setDampingRatio(float);
D26.0.0-beta2.txt86 method public android.support.animation.SpringForce setDampingRatio(float);
D26.1.0.txt89 method public android.support.animation.SpringForce setDampingRatio(float);