public class LinearTimeBasedByteValueAnimator extends TimeBasedValueAnimator<Byte>
TimeBasedValueAnimatorthat linearly animates a byte value between two values over a given time.
|Constructor and Description|
|Modifier and Type||Method and Description|
Calculates the value of the byte based on the start, end and current percentage.
hasFinished, isComplete, nextValue, reset
public LinearTimeBasedByteValueAnimator(byte start, byte finish, long duration)
LinearTimeBasedByteValueAnimatorwith the given start and finish values, and the given duration in millseconds. The animation starts on the first call to makeNextValue() and completes once duration ticks have been reached.
start- start value
finish- stop value
duration- in milliseconds