Interpolator.TimeToValues Method

Definition

Overloads

TimeToValues(Single[])

Given a millisecond time value (msec), return the interpolated values and return whether the specified time was within the range of key times (NORMAL), was before the first key time (FREEZE_START) or after the last key time (FREEZE_END).

TimeToValues(Int32, Single[])

Given a millisecond time value (msec), return the interpolated values and return whether the specified time was within the range of key times (NORMAL), was before the first key time (FREEZE_START) or after the last key time (FREEZE_END).

TimeToValues(Single[])

Given a millisecond time value (msec), return the interpolated values and return whether the specified time was within the range of key times (NORMAL), was before the first key time (FREEZE_START) or after the last key time (FREEZE_END).

[Android.Runtime.Register("timeToValues", "([F)Landroid/graphics/Interpolator$Result;", "GetTimeToValues_arrayFHandler")]
public virtual Android.Graphics.Interpolator.Result? TimeToValues (float[]? values);
[<Android.Runtime.Register("timeToValues", "([F)Landroid/graphics/Interpolator$Result;", "GetTimeToValues_arrayFHandler")>]
abstract member TimeToValues : single[] -> Android.Graphics.Interpolator.Result
override this.TimeToValues : single[] -> Android.Graphics.Interpolator.Result

Parameters

values
Single[]

Where to write the computed values (may be NULL).

Returns

how the values were computed (even if values == null)

Attributes

Remarks

Java documentation for android.graphics.Interpolator.timeToValues(int, float[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

TimeToValues(Int32, Single[])

Given a millisecond time value (msec), return the interpolated values and return whether the specified time was within the range of key times (NORMAL), was before the first key time (FREEZE_START) or after the last key time (FREEZE_END).

[Android.Runtime.Register("timeToValues", "(I[F)Landroid/graphics/Interpolator$Result;", "GetTimeToValues_IarrayFHandler")]
public virtual Android.Graphics.Interpolator.Result? TimeToValues (int msec, float[]? values);
[<Android.Runtime.Register("timeToValues", "(I[F)Landroid/graphics/Interpolator$Result;", "GetTimeToValues_IarrayFHandler")>]
abstract member TimeToValues : int * single[] -> Android.Graphics.Interpolator.Result
override this.TimeToValues : int * single[] -> Android.Graphics.Interpolator.Result

Parameters

msec
Int32

The time (in milliseconds) used to sample into the Interpolator. Based on the SystemClock.uptimeMillis() clock

values
Single[]

Where to write the computed values (may be NULL).

Returns

how the values were computed (even if values == null)

Attributes

Remarks

Java documentation for android.graphics.Interpolator.timeToValues(int, float[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to