Home
last modified time | relevance | path

Searched refs:keyframes (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/animation/
DKeyframeSet.java45 public KeyframeSet(Keyframe... keyframes) { in KeyframeSet() argument
46 mNumKeyframes = keyframes.length; in KeyframeSet()
48 mKeyframes = Arrays.asList(keyframes); in KeyframeSet()
49 mFirstKeyframe = keyframes[0]; in KeyframeSet()
50 mLastKeyframe = keyframes[mNumKeyframes - 1]; in KeyframeSet()
60 IntKeyframe keyframes[] = new IntKeyframe[Math.max(numKeyframes,2)]; in ofInt() local
62 keyframes[0] = (IntKeyframe) Keyframe.ofInt(0f); in ofInt()
63 keyframes[1] = (IntKeyframe) Keyframe.ofInt(1f, values[0]); in ofInt()
65 keyframes[0] = (IntKeyframe) Keyframe.ofInt(0f, values[0]); in ofInt()
67 keyframes[i] = in ofInt()
[all …]
DPropertyValuesHolder.java218 Keyframes keyframes = KeyframeSet.ofPath(path); in ofMultiInt() local
220 return new MultiIntValuesHolder(propertyName, converter, null, keyframes); in ofMultiInt()
337 Keyframes keyframes = KeyframeSet.ofPath(path); in ofMultiFloat() local
339 return new MultiFloatValuesHolder(propertyName, converter, null, keyframes); in ofMultiFloat()
566 static PropertyValuesHolder ofKeyframes(String propertyName, Keyframes keyframes) { in ofKeyframes() argument
567 if (keyframes instanceof Keyframes.IntKeyframes) { in ofKeyframes()
568 return new IntPropertyValuesHolder(propertyName, (Keyframes.IntKeyframes) keyframes); in ofKeyframes()
569 } else if (keyframes instanceof Keyframes.FloatKeyframes) { in ofKeyframes()
571 (Keyframes.FloatKeyframes) keyframes); in ofKeyframes()
574 pvh.mKeyframes = keyframes; in ofKeyframes()
[all …]
DObjectAnimator.java268 PathKeyframes keyframes = KeyframeSet.ofPath(path); in ofInt() local
270 keyframes.createXIntKeyframes()); in ofInt()
272 keyframes.createYIntKeyframes()); in ofInt()
310 PathKeyframes keyframes = KeyframeSet.ofPath(path); in ofInt() local
312 keyframes.createXIntKeyframes()); in ofInt()
314 keyframes.createYIntKeyframes()); in ofInt()
467 PathKeyframes keyframes = KeyframeSet.ofPath(path); in ofFloat() local
469 keyframes.createXFloatKeyframes()); in ofFloat()
471 keyframes.createYFloatKeyframes()); in ofFloat()
510 PathKeyframes keyframes = KeyframeSet.ofPath(path); in ofFloat() local
[all …]
DFloatKeyframeSet.java34 public FloatKeyframeSet(FloatKeyframe... keyframes) { in FloatKeyframeSet() argument
35 super(keyframes); in FloatKeyframeSet()
45 final List<Keyframe> keyframes = mKeyframes; in clone() local
49 newKeyframes[i] = (FloatKeyframe) keyframes.get(i).clone(); in clone()
DIntKeyframeSet.java34 public IntKeyframeSet(IntKeyframe... keyframes) { in IntKeyframeSet() argument
35 super(keyframes); in IntKeyframeSet()
45 List<Keyframe> keyframes = mKeyframes; in clone() local
49 newKeyframes[i] = (IntKeyframe) keyframes.get(i).clone(); in clone()
DAnimatorInflater.java815 private static void dumpKeyframes(Object[] keyframes, String header) { in dumpKeyframes() argument
816 if (keyframes == null || keyframes.length == 0) { in dumpKeyframes()
820 int count = keyframes.length; in dumpKeyframes()
822 Keyframe keyframe = (Keyframe) keyframes[i]; in dumpKeyframes()
835 ArrayList<Keyframe> keyframes = null; in loadPvh() local
847 if (keyframes == null) { in loadPvh()
848 keyframes = new ArrayList<Keyframe>(); in loadPvh()
850 keyframes.add(keyframe); in loadPvh()
857 if (keyframes != null && (count = keyframes.size()) > 0) { in loadPvh()
863 Keyframe firstKeyframe = keyframes.get(0); in loadPvh()
[all …]