/cts/tests/tests/graphics/src/android/graphics/cts/ |
InterpolatorTest.java | 20 import android.graphics.Interpolator; 21 import android.graphics.Interpolator.Result; 29 @TestTargetClass(Interpolator.class) 38 method = "Interpolator", 43 method = "Interpolator", 48 Interpolator i = new Interpolator(10); 52 i = new Interpolator(15, 20); 71 Interpolator interpolator = new Interpolator(10) local 99 Interpolator interpolator = new Interpolator(10); local 133 Interpolator interpolator = new Interpolator(1); local 190 Interpolator interpolator = new Interpolator(1); local 250 Interpolator interpolator = new Interpolator(1, 3); local 295 Interpolator interpolator = new Interpolator(1); local [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationUtilsTest.java | 33 import android.view.animation.Interpolator; 72 // android:interpolator="@android:anim/accelerate_interpolator" 81 // Load Interpolator from android.R.anim.accelerate_interpolator 82 Interpolator interpolator = AnimationUtils.loadInterpolator(mActivity, local 84 assertTrue(interpolator instanceof AccelerateInterpolator);
|
AccelerateDecelerateInterpolatorTest.java | 36 import android.view.animation.Interpolator; 92 // android:interpolator="@android:anim/accelerate_decelerate_interpolator" 140 Interpolator interpolator = new AccelerateDecelerateInterpolator(); local 142 float alpha1 = interpolator.getInterpolation(0f); 143 float alpha2 = interpolator.getInterpolation(0.25f); 144 float alpha3 = interpolator.getInterpolation(0.5f); 145 float alpha4 = interpolator.getInterpolation(0.75f); 146 float alpha5 = interpolator.getInterpolation(1f);
|
AccelerateInterpolatorTest.java | 36 import android.view.animation.Interpolator; 98 // android:interpolator="@android:anim/accelerate_interpolator" 108 Interpolator interpolator = new AccelerateInterpolator(1.0f); local 109 anim.setInterpolator(interpolator); 143 interpolator = new AccelerateInterpolator(1.5f); 144 anim.setInterpolator(interpolator); 188 Interpolator interpolator1 = new AccelerateInterpolator(1.0f); 190 Interpolator interpolator2 = new AccelerateInterpolator(2.0f); 199 Interpolator interpolator = new AccelerateInterpolator() [all...] |
LinearInterpolatorTest.java | 25 import android.view.animation.Interpolator; 82 LinearInterpolator interpolator = new LinearInterpolator(); local 83 final float delta1 = interpolator.getInterpolation(0.1f) 84 - interpolator.getInterpolation(0.0f); 85 final float delta2 = interpolator.getInterpolation(0.2f) 86 - interpolator.getInterpolation(0.1f); 87 final float delta3 = interpolator.getInterpolation(0.3f) 88 - interpolator.getInterpolation(0.2f); 99 Interpolator interpolator = new LinearInterpolator() local [all...] |
DecelerateInterpolatorTest.java | 36 import android.view.animation.Interpolator; 104 // android:interpolator="@android:anim/decelerate_interpolator" 114 Interpolator interpolator = new DecelerateInterpolator(1.0f); local 115 anim.setInterpolator(interpolator); 149 interpolator = new DecelerateInterpolator(1.5f); 150 anim.setInterpolator(interpolator); 194 Interpolator interpolator1 = new DecelerateInterpolator(1.0f); 196 Interpolator interpolator2 = new DecelerateInterpolator(2.0f);
|
AnimationTest.java | 38 import android.view.animation.Interpolator; 113 notes = "Test {@link Animation#setInterpolator(Interpolator)}", 115 args = {android.view.animation.Interpolator.class} 118 @ToBeFixed(bug = "1561186", explanation = "javadoc of setInterpolator(Interpolator) " + 120 "Interpolator type") 122 // check default interpolator 124 Interpolator interpolator = myAnimation.getInterpolator(); local 125 assertTrue(interpolator instanceof AccelerateDecelerateInterpolator); // issue 1561186. 128 assertSame(interpolator, myAnimation.getInterpolator()) [all...] |
CycleInterpolatorTest.java | 29 import android.view.animation.Interpolator; 89 Interpolator interpolator = new CycleInterpolator(1.0f); local 90 anim.setInterpolator(interpolator); 129 interpolator = new CycleInterpolator(2.0f); 130 anim.setInterpolator(interpolator);
|
/frameworks/base/core/java/android/animation/ |
FloatKeyframeSet.java | 84 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); local 85 if (interpolator != null) { 86 fraction = interpolator.getInterpolation(fraction); 100 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); local 101 if (interpolator != null) { 102 fraction = interpolator.getInterpolation(fraction); 114 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); local 115 if (interpolator != null) { 116 fraction = interpolator.getInterpolation(fraction);
|
IntKeyframeSet.java | 84 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); local 85 if (interpolator != null) { 86 fraction = interpolator.getInterpolation(fraction); 100 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); local 101 if (interpolator != null) { 102 fraction = interpolator.getInterpolation(fraction); 113 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); local 114 if (interpolator != null) { 115 fraction = interpolator.getInterpolation(fraction);
|
KeyframeSet.java | 153 * animation's interpolator) and the evaluator used to calculate in-between values. This 156 * outside the [0-1] bounds, if the animation's interpolator made that happen (e.g., a 175 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); local 176 if (interpolator != null) { 177 fraction = interpolator.getInterpolation(fraction); 186 final TimeInterpolator interpolator = mLastKeyframe.getInterpolator(); local 187 if (interpolator != null) { 188 fraction = interpolator.getInterpolation(fraction); 200 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); local 201 if (interpolator != null) [all...] |
/frameworks/base/core/java/android/view/animation/ |
AnimationUtils.java | 252 * Loads an {@link Interpolator} object from a resource 259 public static Interpolator loadInterpolator(Context context, int id) throws NotFoundException { 280 private static Interpolator createInterpolatorFromXml(Context c, XmlPullParser parser) 283 Interpolator interpolator = null; local 302 interpolator = new LinearInterpolator(c, attrs); 304 interpolator = new AccelerateInterpolator(c, attrs); 306 interpolator = new DecelerateInterpolator(c, attrs); 308 interpolator = new AccelerateDecelerateInterpolator(c, attrs); 310 interpolator = new CycleInterpolator(c, attrs) [all...] |
AnimationSet.java | 117 * should use the interpolator assocciated with this AnimationSet. 118 * Pass false if each animation should use its own interpolator. 351 final Interpolator interpolator = a.mInterpolator; local 352 a.applyTransformation(interpolator != null ? interpolator.getInterpolation(0.0f) 444 final Interpolator interpolator = mInterpolator; local 472 a.setInterpolator(interpolator);
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
Tweener.java | 61 TimeInterpolator interpolator = null; local 74 interpolator = (TimeInterpolator) value; // TODO: multiple interpolators? 109 if (interpolator != null) { 110 anim.setInterpolator(interpolator);
|
/external/skia/src/animator/ |
SkAnimateActive.cpp | 175 SkOperandInterpolator& interpolator = *fInterpolators[index]; local 186 interpolator.timeToValues(time, values.get()); 213 SkOperandInterpolator& interpolator = *fInterpolators[index]; local 224 interpolator.timeToValues(time, values.get()); 358 SkOperandInterpolator& interpolator = *fInterpolators[index]; local 360 int count = interpolator.getValuesCount(); 361 memcpy(interpolator.getValues(), fSaveInterpolators[index], count * sizeof(SkOperand)); 365 SkOperandInterpolator& interpolator = *fInterpolators[index]; local 367 int count = interpolator.getValuesCount(); 370 memcpy(cache, interpolator.getValues(), count * sizeof(SkOperand)) 381 SkOperandInterpolator& interpolator = *fInterpolators[index]; local [all...] |
/prebuilt/sdk/12/ |
android.jar | |
/prebuilt/sdk/14/ |
android.jar | |
/prebuilt/sdk/13/ |
android.jar | |
/prebuilt/sdk/10/ |
android.jar | |
/prebuilt/sdk/11/ |
android.jar | |
/prebuilt/sdk/4/ |
android.jar | |
/prebuilt/sdk/5/ |
android.jar | |
/prebuilt/sdk/6/ |
android.jar | |
/prebuilt/sdk/7/ |
android.jar | |
/prebuilt/sdk/8/ |
android.jar | |