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

  /frameworks/base/core/java/android/animation/
FloatKeyframeSet.java 19 import android.animation.Keyframe.FloatKeyframe;
24 * This class holds a collection of FloatKeyframe objects and is called by ValueAnimator to calculate
39 public FloatKeyframeSet(FloatKeyframe... keyframes) {
52 FloatKeyframe[] newKeyframes = new FloatKeyframe[numKeyframes];
54 newKeyframes[i] = (FloatKeyframe) keyframes.get(i).clone();
70 firstValue = ((FloatKeyframe) mKeyframes.get(0)).getFloatValue();
71 lastValue = ((FloatKeyframe) mKeyframes.get(1)).getFloatValue();
84 final FloatKeyframe prevKeyframe = (FloatKeyframe) mKeyframes.get(0)
    [all...]
Keyframe.java 115 return new FloatKeyframe(fraction, value);
131 return new FloatKeyframe(fraction);
345 static class FloatKeyframe extends Keyframe {
351 FloatKeyframe(float fraction, float value) {
358 FloatKeyframe(float fraction) {
379 public FloatKeyframe clone() {
380 FloatKeyframe kfClone = mHasValue ?
381 new FloatKeyframe(getFraction(), mValue) :
382 new FloatKeyframe(getFraction());
KeyframeSet.java 23 import android.animation.Keyframe.FloatKeyframe;
84 FloatKeyframe keyframes[] = new FloatKeyframe[Math.max(numKeyframes,2)];
86 keyframes[0] = (FloatKeyframe) Keyframe.ofFloat(0f);
87 keyframes[1] = (FloatKeyframe) Keyframe.ofFloat(1f, values[0]);
92 keyframes[0] = (FloatKeyframe) Keyframe.ofFloat(0f, values[0]);
95 (FloatKeyframe) Keyframe.ofFloat((float) i / (numKeyframes - 1), values[i]);
114 if (keyframes[i] instanceof FloatKeyframe) {
123 FloatKeyframe floatKeyframes[] = new FloatKeyframe[numKeyframes]
    [all...]

Completed in 157 milliseconds