Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/animation/
DKeyframeSet.java22 import android.animation.Keyframe.IntKeyframe;
23 import android.animation.Keyframe.FloatKeyframe;
24 import android.animation.Keyframe.ObjectKeyframe;
37 Keyframe mFirstKeyframe;
38 Keyframe mLastKeyframe;
40 List<Keyframe> mKeyframes; // only used when there are not 2 keyframes
44 public KeyframeSet(Keyframe... keyframes) { in KeyframeSet()
61 public List<Keyframe> getKeyframes() { in getKeyframes()
69 keyframes[0] = (IntKeyframe) Keyframe.ofInt(0f); in ofInt()
70 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 …]
DAnimatorInflater.java800 a = theme.obtainStyledAttributes(attrs, R.styleable.Keyframe, 0, 0); in inferValueTypeOfKeyframe()
802 a = res.obtainAttributes(attrs, R.styleable.Keyframe); in inferValueTypeOfKeyframe()
844 Keyframe keyframe = (Keyframe) keyframes[i]; in dumpKeyframes()
857 ArrayList<Keyframe> keyframes = null; in loadPvh()
867 Keyframe keyframe = loadKeyframe(res, theme, Xml.asAttributeSet(parser), valueType); in loadPvh()
870 keyframes = new ArrayList<Keyframe>(); in loadPvh()
885 Keyframe firstKeyframe = keyframes.get(0); in loadPvh()
886 Keyframe lastKeyframe = keyframes.get(count - 1); in loadPvh()
905 Keyframe[] keyframeArray = new Keyframe[count]; in loadPvh()
908 Keyframe keyframe = keyframeArray[i]; in loadPvh()
[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.java261 TypeConverter<T, int[]> converter, TypeEvaluator<T> evaluator, Keyframe... values) { in ofMultiInt()
378 TypeConverter<T, float[]> converter, TypeEvaluator<T> evaluator, Keyframe... values) { in ofMultiFloat()
520 public static PropertyValuesHolder ofKeyframe(String propertyName, Keyframe... values) { in ofKeyframe()
541 public static PropertyValuesHolder ofKeyframe(Property property, Keyframe... values) { in ofKeyframe()
614 public void setKeyframes(Keyframe... values) { in setKeyframes()
616 Keyframe keyframes[] = new Keyframe[Math.max(numKeyframes,2)]; in setKeyframes()
617 mValueType = ((Keyframe)values[0]).getType(); in setKeyframes()
619 keyframes[i] = (Keyframe)values[i]; in setKeyframes()
790 List<Keyframe> keyframes = mKeyframes.getKeyframes(); in setupSetterAndGetter()
793 Keyframe kf = keyframes.get(i); in setupSetterAndGetter()
[all …]
DKeyframes.java65 List<Keyframe> getKeyframes(); in getKeyframes()
DIntKeyframeSet.java19 import android.animation.Keyframe.IntKeyframe;
50 List<Keyframe> keyframes = mKeyframes; in clone()
DFloatKeyframeSet.java19 import android.animation.Keyframe.FloatKeyframe;
50 final 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;
861 final Keyframe kf0, kf1, kf2; in getFadeInAnimator()
862 kf0 = Keyframe.ofInt(0f, startAlpha); in getFadeInAnimator()
863 kf1 = Keyframe.ofInt(delayPoint, startAlpha); in getFadeInAnimator()
864 kf2 = Keyframe.ofInt(1f, endAlpha); in getFadeInAnimator()
/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-classes10 [Landroid.animation.Keyframe$FloatKeyframe;
11 [Landroid.animation.Keyframe$IntKeyframe;
12 [Landroid.animation.Keyframe$ObjectKeyframe;
260 android.animation.Keyframe
261 android.animation.Keyframe$FloatKeyframe
262 android.animation.Keyframe$IntKeyframe
263 android.animation.Keyframe$ObjectKeyframe
/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/
Dcurrent.txt2944 public abstract class Keyframe implements java.lang.Cloneable {
2945 ctor public Keyframe();
2946 method public abstract android.animation.Keyframe clone();
2952 method public static android.animation.Keyframe ofFloat(float, float);
2953 method public static android.animation.Keyframe ofFloat(float);
2954 method public static android.animation.Keyframe ofInt(float, int);
2955 method public static android.animation.Keyframe ofInt(float);
2956 method public static android.animation.Keyframe ofObject(float, java.lang.Object);
2957 method public static android.animation.Keyframe ofObject(float);
3047 …android.animation.PropertyValuesHolder ofKeyframe(java.lang.String, android.animation.Keyframe...);
[all …]
Dsystem-current.txt3043 public abstract class Keyframe implements java.lang.Cloneable {
3044 ctor public Keyframe();
3045 method public abstract android.animation.Keyframe clone();
3051 method public static android.animation.Keyframe ofFloat(float, float);
3052 method public static android.animation.Keyframe ofFloat(float);
3053 method public static android.animation.Keyframe ofInt(float, int);
3054 method public static android.animation.Keyframe ofInt(float);
3055 method public static android.animation.Keyframe ofObject(float, java.lang.Object);
3056 method public static android.animation.Keyframe ofObject(float);
3146 …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