Home
last modified time | relevance | path

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

/frameworks/support/dynamic-animation/src/androidTest/java/androidx/dynamicanimation/tests/
DSpringTests.java48 import androidx.dynamicanimation.animation.SpringForce;
135 anim.setSpring(new SpringForce(1000).setDampingRatio(1.2f)); in testFloatValueHolder()
162 SpringForce spring = new SpringForce(); in testGetFinalPosition()
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()
320 SpringForce[] springs = new SpringForce[stiffness.length]; in testStiffness()
[all …]
/frameworks/support/dynamic-animation/src/main/java/androidx/dynamicanimation/animation/
DSpringAnimation.java60 private SpringForce mSpring = null;
107 mSpring = new SpringForce(finalPosition); in SpringAnimation()
115 public SpringForce getSpring() { in getSpring()
127 public SpringAnimation setSpring(SpringForce force) { in setSpring()
156 mSpring = new SpringForce(finalPosition); in animateToFinalPosition()
DSpringForce.java36 public final class SpringForce implements Force { class
113 public SpringForce() { in SpringForce() method in SpringForce
122 public SpringForce(float finalPosition) { in SpringForce() method in SpringForce
135 public SpringForce setStiffness( in setStiffness()
170 public SpringForce setDampingRatio(@FloatRange(from = 0.0) float dampingRatio) { in setDampingRatio()
195 public SpringForce setFinalPosition(float finalPosition) { in setFinalPosition()
/frameworks/support/dynamic-animation/api_legacy/
D26.0.0.txt78 method public android.support.animation.SpringForce getSpring();
79 … public android.support.animation.SpringAnimation setSpring(android.support.animation.SpringForce);
83 public final class SpringForce {
84 ctor public SpringForce();
85 ctor public SpringForce(float);
89 method public android.support.animation.SpringForce setDampingRatio(float);
90 method public android.support.animation.SpringForce setFinalPosition(float);
91 method public android.support.animation.SpringForce setStiffness(float);
Dcurrent.txt78 method public android.support.animation.SpringForce getSpring();
79 … public android.support.animation.SpringAnimation setSpring(android.support.animation.SpringForce);
83 public final class SpringForce {
84 ctor public SpringForce();
85 ctor public SpringForce(float);
89 method public android.support.animation.SpringForce setDampingRatio(float);
90 method public android.support.animation.SpringForce setFinalPosition(float);
91 method public android.support.animation.SpringForce setStiffness(float);
D28.0.0-alpha1.txt78 method public android.support.animation.SpringForce getSpring();
79 … public android.support.animation.SpringAnimation setSpring(android.support.animation.SpringForce);
83 public final class SpringForce {
84 ctor public SpringForce();
85 ctor public SpringForce(float);
89 method public android.support.animation.SpringForce setDampingRatio(float);
90 method public android.support.animation.SpringForce setFinalPosition(float);
91 method public android.support.animation.SpringForce setStiffness(float);
D27.1.0.txt78 method public android.support.animation.SpringForce getSpring();
79 … public android.support.animation.SpringAnimation setSpring(android.support.animation.SpringForce);
83 public final class SpringForce {
84 ctor public SpringForce();
85 ctor public SpringForce(float);
89 method public android.support.animation.SpringForce setDampingRatio(float);
90 method public android.support.animation.SpringForce setFinalPosition(float);
91 method public android.support.animation.SpringForce setStiffness(float);
D26.1.0.txt78 method public android.support.animation.SpringForce getSpring();
79 … public android.support.animation.SpringAnimation setSpring(android.support.animation.SpringForce);
83 public final class SpringForce {
84 ctor public SpringForce();
85 ctor public SpringForce(float);
89 method public android.support.animation.SpringForce setDampingRatio(float);
90 method public android.support.animation.SpringForce setFinalPosition(float);
91 method public android.support.animation.SpringForce setStiffness(float);
D27.0.0.txt78 method public android.support.animation.SpringForce getSpring();
79 … public android.support.animation.SpringAnimation setSpring(android.support.animation.SpringForce);
83 public final class SpringForce {
84 ctor public SpringForce();
85 ctor public SpringForce(float);
89 method public android.support.animation.SpringForce setDampingRatio(float);
90 method public android.support.animation.SpringForce setFinalPosition(float);
91 method public android.support.animation.SpringForce setStiffness(float);
/frameworks/support/dynamic-animation/api/
Dcurrent.txt78 method public androidx.dynamicanimation.animation.SpringForce getSpring();
79 …amicanimation.animation.SpringAnimation setSpring(androidx.dynamicanimation.animation.SpringForce);
83 public final class SpringForce {
84 ctor public SpringForce();
85 ctor public SpringForce(float);
89 method public androidx.dynamicanimation.animation.SpringForce setDampingRatio(float);
90 method public androidx.dynamicanimation.animation.SpringForce setFinalPosition(float);
91 method public androidx.dynamicanimation.animation.SpringForce setStiffness(float);
/frameworks/base/packages/EasterEgg/src/com/android/egg/octo/
DOctopusDrawable.java30 import android.support.animation.SpringForce;
297 anims[i].setSpring(new SpringForce() in Link()
298 .setDampingRatio(SpringForce.DAMPING_RATIO_LOW_BOUNCY) in Link()
300 index == 0 ? SpringForce.STIFFNESS_LOW in Link()
301 : index == 1 ? SpringForce.STIFFNESS_VERY_LOW in Link()
302 : SpringForce.STIFFNESS_VERY_LOW/2) in Link()
/frameworks/support/api/
D25.4.0.txt77 method public android.support.animation.SpringForce getSpring();
78 … public android.support.animation.SpringAnimation setSpring(android.support.animation.SpringForce);
82 public final class SpringForce {
83 ctor public SpringForce();
84 ctor public SpringForce(float);
88 method public android.support.animation.SpringForce setDampingRatio(float);
89 method public android.support.animation.SpringForce setFinalPosition(float);
90 method public android.support.animation.SpringForce setStiffness(float);
D25.3.0.txt47 method public android.support.animation.SpringForce getSpring();
48 … public android.support.animation.SpringAnimation setSpring(android.support.animation.SpringForce);
52 public final class SpringForce {
53 ctor public SpringForce();
54 ctor public SpringForce(float);
58 method public android.support.animation.SpringForce setDampingRatio(float);
59 method public android.support.animation.SpringForce setFinalPosition(float);
60 method public android.support.animation.SpringForce setStiffness(float);
D26.0.0-beta1.txt75 method public android.support.animation.SpringForce getSpring();
76 … public android.support.animation.SpringAnimation setSpring(android.support.animation.SpringForce);
80 public final class SpringForce {
81 ctor public SpringForce();
82 ctor public SpringForce(float);
86 method public android.support.animation.SpringForce setDampingRatio(float);
87 method public android.support.animation.SpringForce setFinalPosition(float);
88 method public android.support.animation.SpringForce setStiffness(float);
D26.0.0-beta2.txt75 method public android.support.animation.SpringForce getSpring();
76 … public android.support.animation.SpringAnimation setSpring(android.support.animation.SpringForce);
80 public final class SpringForce {
81 ctor public SpringForce();
82 ctor public SpringForce(float);
86 method public android.support.animation.SpringForce setDampingRatio(float);
87 method public android.support.animation.SpringForce setFinalPosition(float);
88 method public android.support.animation.SpringForce setStiffness(float);
D26.1.0.txt78 method public android.support.animation.SpringForce getSpring();
79 … public android.support.animation.SpringAnimation setSpring(android.support.animation.SpringForce);
83 public final class SpringForce {
84 ctor public SpringForce();
85 ctor public SpringForce(float);
89 method public android.support.animation.SpringForce setDampingRatio(float);
90 method public android.support.animation.SpringForce setFinalPosition(float);
91 method public android.support.animation.SpringForce setStiffness(float);
/frameworks/support/jetifier/jetifier/core/src/main/resources/
Ddefault.generated.config2579 "android/support/animation/SpringForce": "androidx/dynamicanimation/animation/SpringForce",