Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/animation/
DKeyframeSet.java23 import android.animation.Keyframe.IntKeyframe;
24 import android.animation.Keyframe.FloatKeyframe;
25 import android.animation.Keyframe.ObjectKeyframe;
38 Keyframe mFirstKeyframe;
39 Keyframe mLastKeyframe;
41 List<Keyframe> mKeyframes; // only used when there are not 2 keyframes
45 public KeyframeSet(Keyframe... keyframes) { in KeyframeSet()
62 public List<Keyframe> getKeyframes() { in getKeyframes()
70 keyframes[0] = (IntKeyframe) Keyframe.ofInt(0f); in ofInt()
71 keyframes[1] = (IntKeyframe) Keyframe.ofInt(1f, values[0]); in ofInt()
[all …]
DKeyframe.java36 public abstract class Keyframe implements Cloneable { class
82 public static Keyframe ofInt(float fraction, int value) { in ofInt()
98 public static Keyframe ofInt(float fraction) { in ofInt()
114 public static Keyframe ofFloat(float fraction, float value) { in ofFloat()
130 public static Keyframe ofFloat(float fraction) { in ofFloat()
146 public static Keyframe ofObject(float fraction, Object value) { in ofObject()
162 public static Keyframe ofObject(float fraction) { in ofObject()
257 public abstract Keyframe clone(); in clone()
262 static class ObjectKeyframe extends Keyframe {
297 static class IntKeyframe extends Keyframe {
[all …]
DPathKeyframes.java43 private static final ArrayList<Keyframe> EMPTY_KEYFRAMES = new ArrayList<Keyframe>();
60 public ArrayList<Keyframe> getKeyframes() { in getKeyframes()
220 public ArrayList<Keyframe> getKeyframes() {
DPropertyValuesHolder.java263 TypeConverter<T, int[]> converter, TypeEvaluator<T> evaluator, Keyframe... values) { in ofMultiInt()
380 TypeConverter<T, float[]> converter, TypeEvaluator<T> evaluator, Keyframe... values) { in ofMultiFloat()
522 public static PropertyValuesHolder ofKeyframe(String propertyName, Keyframe... values) { in ofKeyframe()
543 public static PropertyValuesHolder ofKeyframe(Property property, Keyframe... values) { in ofKeyframe()
616 public void setKeyframes(Keyframe... values) { in setKeyframes()
618 Keyframe keyframes[] = new Keyframe[Math.max(numKeyframes,2)]; in setKeyframes()
619 mValueType = ((Keyframe)values[0]).getType(); in setKeyframes()
621 keyframes[i] = (Keyframe)values[i]; in setKeyframes()
792 List<Keyframe> keyframes = mKeyframes.getKeyframes(); in setupSetterAndGetter()
795 Keyframe kf = keyframes.get(i); in setupSetterAndGetter()
[all …]
DKeyframes.java66 List<Keyframe> getKeyframes(); in getKeyframes()
DFloatKeyframeSet.java19 import android.animation.Keyframe.FloatKeyframe;
51 final List<Keyframe> keyframes = mKeyframes; in clone()
DIntKeyframeSet.java19 import android.animation.Keyframe.IntKeyframe;
51 List<Keyframe> keyframes = mKeyframes; in clone()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
DUtils.java19 import android.animation.Keyframe;
127 Keyframe k0 = Keyframe.ofFloat(0f, 1f); in getPulseAnimator()
128 Keyframe k1 = Keyframe.ofFloat(0.275f, decreaseRatio); in getPulseAnimator()
129 Keyframe k2 = Keyframe.ofFloat(0.69f, increaseRatio); in getPulseAnimator()
130 Keyframe k3 = Keyframe.ofFloat(1f, 1f); in getPulseAnimator()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialSelectorView.java19 import android.animation.Keyframe;
330 Keyframe kf0, kf1, kf2; in getDisappearAnimator()
334 kf0 = Keyframe.ofFloat(0f, 1); in getDisappearAnimator()
335 kf1 = Keyframe.ofFloat(midwayPoint, mTransitionMidRadiusMultiplier); in getDisappearAnimator()
336 kf2 = Keyframe.ofFloat(1f, mTransitionEndRadiusMultiplier); in getDisappearAnimator()
340 kf0 = Keyframe.ofFloat(0f, 1f); in getDisappearAnimator()
341 kf1 = Keyframe.ofFloat(1f, 0f); in getDisappearAnimator()
357 Keyframe kf0, kf1, kf2, kf3; in getReappearAnimator()
371 kf0 = Keyframe.ofFloat(0f, mTransitionEndRadiusMultiplier); in getReappearAnimator()
372 kf1 = Keyframe.ofFloat(delayPoint, mTransitionEndRadiusMultiplier); in getReappearAnimator()
[all …]
DRadialTextsView.java19 import android.animation.Keyframe;
290 Keyframe kf0, kf1, kf2, kf3; in renderAnimations()
295 kf0 = Keyframe.ofFloat(0f, 1); in renderAnimations()
296 kf1 = Keyframe.ofFloat(midwayPoint, mTransitionMidRadiusMultiplier); in renderAnimations()
297 kf2 = Keyframe.ofFloat(1f, mTransitionEndRadiusMultiplier); in renderAnimations()
301 kf0 = Keyframe.ofFloat(0f, 1f); in renderAnimations()
302 kf1 = Keyframe.ofFloat(1f, 0f); in renderAnimations()
318 kf0 = Keyframe.ofFloat(0f, mTransitionEndRadiusMultiplier); in renderAnimations()
319 kf1 = Keyframe.ofFloat(delayPoint, mTransitionEndRadiusMultiplier); in renderAnimations()
320 kf2 = Keyframe.ofFloat(midwayPoint, mTransitionMidRadiusMultiplier); in renderAnimations()
[all …]
/frameworks/base/core/java/android/widget/
DRadialTimePickerView.java21 import android.animation.Keyframe;
997 Keyframe kf0, kf1, kf2; in getRadiusDisappearAnimator()
1001 kf0 = Keyframe.ofFloat(0f, 1); in getRadiusDisappearAnimator()
1002 kf1 = Keyframe.ofFloat(midwayPoint, midRadiusMultiplier); in getRadiusDisappearAnimator()
1003 kf2 = Keyframe.ofFloat(1f, endRadiusMultiplier); in getRadiusDisappearAnimator()
1016 Keyframe kf0, kf1, kf2, kf3; in getRadiusReappearAnimator()
1028 kf0 = Keyframe.ofFloat(0f, endRadiusMultiplier); in getRadiusReappearAnimator()
1029 kf1 = Keyframe.ofFloat(delayPoint, endRadiusMultiplier); in getRadiusReappearAnimator()
1030 kf2 = Keyframe.ofFloat(midwayPoint, midRadiusMultiplier); in getRadiusReappearAnimator()
1031 kf3 = Keyframe.ofFloat(1f, 1); in getRadiusReappearAnimator()
[all …]
/frameworks/base/docs/html/guide/topics/graphics/
Dprop-animation.jd799 <p>A {@link android.animation.Keyframe} object consists of a time/value pair that lets you define
804 <p>To instantiate a {@link android.animation.Keyframe} object, you must use one of the factory
805 methods, {@link android.animation.Keyframe#ofInt ofInt()}, {@link
806 android.animation.Keyframe#ofFloat ofFloat()}, or {@link android.animation.Keyframe#ofObject
807 ofObject()} to obtain the appropriate type of {@link android.animation.Keyframe}. You then call
813 Keyframe kf0 = Keyframe.ofFloat(0f, 0f);
814 Keyframe kf1 = Keyframe.ofFloat(.5f, 360f);
815 Keyframe kf2 = Keyframe.ofFloat(1f, 0f);
/frameworks/base/
Dpreloaded-classes13 [Landroid.animation.Keyframe$FloatKeyframe;
14 [Landroid.animation.Keyframe$IntKeyframe;
188 android.animation.Keyframe
189 android.animation.Keyframe$FloatKeyframe
190 android.animation.Keyframe$IntKeyframe
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt697 …ation.TypeConverter<T, float[]>, android.animation.TypeEvaluator<T>, android.animation.Keyframe...)
704 …imation.TypeConverter<T, int[]>, android.animation.TypeEvaluator<T>, android.animation.Keyframe...)
/frameworks/base/api/
Dsystem-current.txt3010 public abstract class Keyframe implements java.lang.Cloneable {
3011 ctor public Keyframe();
3012 method public abstract android.animation.Keyframe clone();
3018 method public static android.animation.Keyframe ofFloat(float, float);
3019 method public static android.animation.Keyframe ofFloat(float);
3020 method public static android.animation.Keyframe ofInt(float, int);
3021 method public static android.animation.Keyframe ofInt(float);
3022 method public static android.animation.Keyframe ofObject(float, java.lang.Object);
3023 method public static android.animation.Keyframe ofObject(float);
3113 …android.animation.PropertyValuesHolder ofKeyframe(java.lang.String, android.animation.Keyframe...);
[all …]
Dcurrent.txt2933 public abstract class Keyframe implements java.lang.Cloneable {
2934 ctor public Keyframe();
2935 method public abstract android.animation.Keyframe clone();
2941 method public static android.animation.Keyframe ofFloat(float, float);
2942 method public static android.animation.Keyframe ofFloat(float);
2943 method public static android.animation.Keyframe ofInt(float, int);
2944 method public static android.animation.Keyframe ofInt(float);
2945 method public static android.animation.Keyframe ofObject(float, java.lang.Object);
2946 method public static android.animation.Keyframe ofObject(float);
3036 …android.animation.PropertyValuesHolder ofKeyframe(java.lang.String, android.animation.Keyframe...);
[all …]
/frameworks/base/docs/html/
Dsitemap.txt620 http://developer.android.com/reference/android/animation/Keyframe.html