Lines Matching defs:values
29 * values between those keyframes for a given animation. The class internal to the animation
64 public static KeyframeSet ofInt(int... values) {
65 int numKeyframes = values.length;
69 keyframes[1] = (IntKeyframe) Keyframe.ofInt(1f, values[0]);
71 keyframes[0] = (IntKeyframe) Keyframe.ofInt(0f, values[0]);
74 (IntKeyframe) Keyframe.ofInt((float) i / (numKeyframes - 1), values[i]);
80 public static KeyframeSet ofFloat(float... values) {
82 int numKeyframes = values.length;
86 keyframes[1] = (FloatKeyframe) Keyframe.ofFloat(1f, values[0]);
87 if (Float.isNaN(values[0])) {
91 keyframes[0] = (FloatKeyframe) Keyframe.ofFloat(0f, values[0]);
94 (FloatKeyframe) Keyframe.ofFloat((float) i / (numKeyframes - 1), values[i]);
95 if (Float.isNaN(values[i])) {
138 public static KeyframeSet ofObject(Object... values) {
139 int numKeyframes = values.length;
143 keyframes[1] = (ObjectKeyframe) Keyframe.ofObject(1f, values[0]);
145 keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f, values[0]);
147 keyframes[i] = (ObjectKeyframe) Keyframe.ofObject((float) i / (numKeyframes - 1), values[i]);
162 * Sets the TypeEvaluator to be used when calculating animated values. This object
167 * @param evaluator The TypeEvaluator to be used to calculate animated values.
192 * animation's interpolator) and the evaluator used to calculate in-between values. This