Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/animation/
DKeyframeSet.java51 int numKeyframes = values.length; in ofInt() local
52 IntKeyframe keyframes[] = new IntKeyframe[Math.max(numKeyframes,2)]; in ofInt()
53 if (numKeyframes == 1) { in ofInt()
58 for (int i = 1; i < numKeyframes; ++i) { in ofInt()
59 … keyframes[i] = (IntKeyframe) Keyframe.ofInt((float) i / (numKeyframes - 1), values[i]); in ofInt()
66 int numKeyframes = values.length; in ofFloat() local
67 FloatKeyframe keyframes[] = new FloatKeyframe[Math.max(numKeyframes,2)]; in ofFloat()
68 if (numKeyframes == 1) { in ofFloat()
73 for (int i = 1; i < numKeyframes; ++i) { in ofFloat()
74 … keyframes[i] = (FloatKeyframe) Keyframe.ofFloat((float) i / (numKeyframes - 1), values[i]); in ofFloat()
[all …]
DFloatKeyframeSet.java51 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.java336 int numKeyframes = values.length; in setKeyframes() local
337 Keyframe keyframes[] = new Keyframe[Math.max(numKeyframes,2)]; in setKeyframes()
339 for (int i = 0; i < numKeyframes; ++i) { in setKeyframes()