Home
last modified time | relevance | path

Searched refs:numKeyframes (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/animation/
DKeyframeSet.java67 int numKeyframes = values.length; in ofInt() local
68 IntKeyframe keyframes[] = new IntKeyframe[Math.max(numKeyframes,2)]; in ofInt()
69 if (numKeyframes == 1) { in ofInt()
74 for (int i = 1; i < numKeyframes; ++i) { in ofInt()
76 (IntKeyframe) Keyframe.ofInt((float) i / (numKeyframes - 1), values[i]); in ofInt()
84 int numKeyframes = values.length; in ofFloat() local
85 FloatKeyframe keyframes[] = new FloatKeyframe[Math.max(numKeyframes,2)]; in ofFloat()
86 if (numKeyframes == 1) { in ofFloat()
94 for (int i = 1; i < numKeyframes; ++i) { in ofFloat()
96 (FloatKeyframe) Keyframe.ofFloat((float) i / (numKeyframes - 1), values[i]); in ofFloat()
[all …]
DFloatKeyframeSet.java51 final int numKeyframes = mKeyframes.size(); in clone() local
52 FloatKeyframe[] newKeyframes = new FloatKeyframe[numKeyframes]; in clone()
53 for (int i = 0; i < numKeyframes; ++i) { in clone()
DIntKeyframeSet.java51 int numKeyframes = mKeyframes.size(); in clone() local
52 IntKeyframe[] newKeyframes = new IntKeyframe[numKeyframes]; in clone()
53 for (int i = 0; i < numKeyframes; ++i) { in clone()
DPropertyValuesHolder.java635 int numKeyframes = values.length; in setKeyframes() local
636 Keyframe keyframes[] = new Keyframe[Math.max(numKeyframes,2)]; in setKeyframes()
638 for (int i = 0; i < numKeyframes; ++i) { in setKeyframes()