Lines Matching refs:values

36      * Reset the Interpolator to have the specified number of values and an
38 * values for each keyFrame must be assigned using setKeyFrame().
45 * Reset the Interpolator to have the specified number of values and
46 * keyFrames. After this call the values for each keyFrame must be assigned
65 * values (with an implicity blend array of [0, 0, 1, 1] giving linear
66 * transition to the next set of key values).
71 * @param values Array of values associated with theis key frame
73 public void setKeyFrame(int index, int msec, float[] values) {
74 setKeyFrame(index, msec, values, null);
79 * values and blend array.
84 * @param values Array of values associated with theis key frame
85 * @param blend (may be null) Optional array of 4 blend values
87 public void setKeyFrame(int index, int msec, float[] values, float[] blend) {
91 if (values.length < mValueCount) {
97 nativeSetKeyFrame(native_instance, index, msec, values, blend);
118 * Calls timeToValues(msec, values) with the msec set to now (by calling
121 public Result timeToValues(float[] values) {
122 return timeToValues((int)SystemClock.uptimeMillis(), values);
126 * Given a millisecond time value (msec), return the interpolated values and
129 * key time (FREEZE_END). In any event, computed values are always returned.
133 * @param values Where to write the computed values (may be NULL).
134 * @return how the values were computed (even if values == null)
136 public Result timeToValues(int msec, float[] values) {
137 if (values != null && values.length < mValueCount) {
140 switch (nativeTimeToValues(native_instance, msec, values)) {
160 private static native void nativeSetKeyFrame(long native_instance, int index, int msec, float[] values, float[] blend);
162 private static native int nativeTimeToValues(long native_instance, int msec, float[] values);