Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/animation/
DKeyframeSet.java66 int numKeyframes = values.length; in ofInt() local
67 IntKeyframe keyframes[] = new IntKeyframe[Math.max(numKeyframes,2)]; in ofInt()
68 if (numKeyframes == 1) { in ofInt()
73 for (int i = 1; i < numKeyframes; ++i) { in ofInt()
75 (IntKeyframe) Keyframe.ofInt((float) i / (numKeyframes - 1), values[i]); in ofInt()
83 int numKeyframes = values.length; in ofFloat() local
84 FloatKeyframe keyframes[] = new FloatKeyframe[Math.max(numKeyframes,2)]; in ofFloat()
85 if (numKeyframes == 1) { in ofFloat()
93 for (int i = 1; i < numKeyframes; ++i) { in ofFloat()
95 (FloatKeyframe) Keyframe.ofFloat((float) i / (numKeyframes - 1), values[i]); in ofFloat()
[all …]
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()
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()
DPropertyValuesHolder.java615 int numKeyframes = values.length; in setKeyframes() local
616 Keyframe keyframes[] = new Keyframe[Math.max(numKeyframes,2)]; in setKeyframes()
618 for (int i = 0; i < numKeyframes; ++i) { in setKeyframes()