Home
last modified time | relevance | path

Searched refs:getInterpolation (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/animation/src/android/animation/cts/
DInterpolatorTest.java58 assertEquals(0f, interpolator.getInterpolation(0), EPSILON); in testFastOutExtraSlowIn()
59 assertEquals(1f, interpolator.getInterpolation(1), EPSILON); in testFastOutExtraSlowIn()
63 assertEquals(turningPointY, interpolator.getInterpolation(turningPointX), EPSILON); in testFastOutExtraSlowIn()
68 assertTrue(interpolator.getInterpolation(fraction) in testFastOutExtraSlowIn()
75 float value = interpolator.getInterpolation(fraction); in testFastOutExtraSlowIn()
80 assertEquals(turningPointY, interpolator.getInterpolation(turningPointX), EPSILON); in testFastOutExtraSlowIn()
DValueAnimatorTest.java520 public float getInterpolation(float input) { in getInterpolation() method in ValueAnimatorTest.TestInterpolator
535 assertEquals(myInterpolator.getInterpolation(fraction), in testGetAnimatedValue()
553 assertEquals(myInterpolator.getInterpolation(fraction), in testGetAnimatedValue_PropertyName()
/cts/tests/tests/view/src/android/view/animation/cts/
DCycleInterpolatorTest.java213 final float out1 = cycleInterpolator.getInterpolation(0.0f); in testGetInterpolation()
214 final float out2 = cycleInterpolator.getInterpolation(0.125f); in testGetInterpolation()
215 final float out3 = cycleInterpolator.getInterpolation(0.25f); in testGetInterpolation()
216 final float out4 = cycleInterpolator.getInterpolation(0.375f); in testGetInterpolation()
217 final float out5 = cycleInterpolator.getInterpolation(0.5f); in testGetInterpolation()
218 final float out6 = cycleInterpolator.getInterpolation(0.625f); in testGetInterpolation()
219 final float out7 = cycleInterpolator.getInterpolation(0.75f); in testGetInterpolation()
220 final float out8 = cycleInterpolator.getInterpolation(0.875f); in testGetInterpolation()
221 final float out9 = cycleInterpolator.getInterpolation(1.0f); in testGetInterpolation()
243 assertEquals(cycleInterpolator.getInterpolation(0.0f + timeDelta), in testGetInterpolation()
[all …]
DLinearInterpolatorTest.java78 final float delta1 = interpolator.getInterpolation(0.1f) in testGetInterpolation()
79 - interpolator.getInterpolation(0.0f); in testGetInterpolation()
80 final float delta2 = interpolator.getInterpolation(0.2f) in testGetInterpolation()
81 - interpolator.getInterpolation(0.1f); in testGetInterpolation()
82 final float delta3 = interpolator.getInterpolation(0.3f) in testGetInterpolation()
83 - interpolator.getInterpolation(0.2f); in testGetInterpolation()
DAccelerateInterpolatorTest.java174 float delta1 = interpolator1.getInterpolation(input);
175 float delta2 = interpolator2.getInterpolation(input);
183 float alpha1 = interpolator.getInterpolation(0f);
184 float alpha2 = interpolator.getInterpolation(0.25f);
185 float alpha3 = interpolator.getInterpolation(0.5f);
186 float alpha4 = interpolator.getInterpolation(0.75f);
187 float alpha5 = interpolator.getInterpolation(1f);
DAccelerateDecelerateInterpolatorTest.java128 float alpha1 = interpolator.getInterpolation(0f); in testGetInterpolation()
129 float alpha2 = interpolator.getInterpolation(0.25f); in testGetInterpolation()
130 float alpha3 = interpolator.getInterpolation(0.5f); in testGetInterpolation()
131 float alpha4 = interpolator.getInterpolation(0.75f); in testGetInterpolation()
132 float alpha5 = interpolator.getInterpolation(1f); in testGetInterpolation()
DDecelerateInterpolatorTest.java177 float delta1 = interpolator1.getInterpolation(input); in testGetInterpolation()
178 float delta2 = interpolator2.getInterpolation(input); in testGetInterpolation()
/cts/hostsidetests/theme/app/src/android/theme/app/modifiers/
DProgressBarModifier.java33 public float getInterpolation(float input) { in getInterpolation() method in ProgressBarModifier.ZeroInterpolator