HomeSort by relevance Sort by last modified time
    Searched refs:IntKeyframe (Results 1 - 3 of 3) sorted by null

  /frameworks/base/core/java/android/animation/
IntKeyframeSet.java 19 import android.animation.Keyframe.IntKeyframe;
24 * This class holds a collection of IntKeyframe objects and is called by ValueAnimator to calculate
39 public IntKeyframeSet(IntKeyframe... keyframes) {
52 IntKeyframe[] newKeyframes = new IntKeyframe[numKeyframes];
54 newKeyframes[i] = (IntKeyframe) keyframes.get(i).clone();
70 firstValue = ((IntKeyframe) mKeyframes.get(0)).getIntValue();
71 lastValue = ((IntKeyframe) mKeyframes.get(1)).getIntValue();
84 final IntKeyframe prevKeyframe = (IntKeyframe) mKeyframes.get(0)
    [all...]
Keyframe.java 83 return new IntKeyframe(fraction, value);
99 return new IntKeyframe(fraction);
297 static class IntKeyframe extends Keyframe {
304 IntKeyframe(float fraction, int value) {
311 IntKeyframe(float fraction) {
332 public IntKeyframe clone() {
333 IntKeyframe kfClone = mHasValue ?
334 new IntKeyframe(getFraction(), mValue) :
335 new IntKeyframe(getFraction());
KeyframeSet.java 22 import android.animation.Keyframe.IntKeyframe;
67 IntKeyframe keyframes[] = new IntKeyframe[Math.max(numKeyframes,2)];
69 keyframes[0] = (IntKeyframe) Keyframe.ofInt(0f);
70 keyframes[1] = (IntKeyframe) Keyframe.ofInt(1f, values[0]);
72 keyframes[0] = (IntKeyframe) Keyframe.ofInt(0f, values[0]);
75 (IntKeyframe) Keyframe.ofInt((float) i / (numKeyframes - 1), values[i]);
116 } else if (keyframes[i] instanceof IntKeyframe) {
129 IntKeyframe intKeyframes[] = new IntKeyframe[numKeyframes]
    [all...]

Completed in 120 milliseconds