Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/animation/
DKeyframeSet.java59 int numKeyframes = values.length; in ofInt() local
60 IntKeyframe keyframes[] = new IntKeyframe[Math.max(numKeyframes,2)]; in ofInt()
61 if (numKeyframes == 1) { in ofInt()
66 for (int i = 1; i < numKeyframes; ++i) { in ofInt()
68 (IntKeyframe) Keyframe.ofInt((float) i / (numKeyframes - 1), values[i]); in ofInt()
76 int numKeyframes = values.length; in ofFloat() local
77 FloatKeyframe keyframes[] = new FloatKeyframe[Math.max(numKeyframes,2)]; in ofFloat()
78 if (numKeyframes == 1) { in ofFloat()
86 for (int i = 1; i < numKeyframes; ++i) { in ofFloat()
88 (FloatKeyframe) Keyframe.ofFloat((float) i / (numKeyframes - 1), values[i]); in ofFloat()
[all …]
DFloatKeyframeSet.java46 final int numKeyframes = mKeyframes.size(); in clone() local
47 FloatKeyframe[] newKeyframes = new FloatKeyframe[numKeyframes]; in clone()
48 for (int i = 0; i < numKeyframes; ++i) { in clone()
DIntKeyframeSet.java46 int numKeyframes = mKeyframes.size(); in clone() local
47 IntKeyframe[] newKeyframes = new IntKeyframe[numKeyframes]; in clone()
48 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()