Lines Matching defs:values
31 * values between those keyframes for a given animation. The class internal to the animation
66 public static KeyframeSet ofInt(int... values) {
67 int numKeyframes = values.length;
71 keyframes[1] = (IntKeyframe) Keyframe.ofInt(1f, values[0]);
73 keyframes[0] = (IntKeyframe) Keyframe.ofInt(0f, values[0]);
76 (IntKeyframe) Keyframe.ofInt((float) i / (numKeyframes - 1), values[i]);
82 public static KeyframeSet ofFloat(float... values) {
84 int numKeyframes = values.length;
88 keyframes[1] = (FloatKeyframe) Keyframe.ofFloat(1f, values[0]);
89 if (Float.isNaN(values[0])) {
93 keyframes[0] = (FloatKeyframe) Keyframe.ofFloat(0f, values[0]);
96 (FloatKeyframe) Keyframe.ofFloat((float) i / (numKeyframes - 1), values[i]);
97 if (Float.isNaN(values[i])) {
140 public static KeyframeSet ofObject(Object... values) {
141 int numKeyframes = values.length;
145 keyframes[1] = (ObjectKeyframe) Keyframe.ofObject(1f, values[0]);
147 keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f, values[0]);
149 keyframes[i] = (ObjectKeyframe) Keyframe.ofObject((float) i / (numKeyframes - 1), values[i]);
164 * Sets the TypeEvaluator to be used when calculating animated values. This object
169 * @param evaluator The TypeEvaluator to be used to calculate animated values.
194 * animation's interpolator) and the evaluator used to calculate in-between values. This