public class RandomLinearByteValueAnimator extends Object implements ValueAnimator<Byte>
ValueAnimator that continuously animates between
 randomly selected values in a range. Once the stop value 
 has been reached, the animator chooses a new random target
 value. 
 
 Each animation between values is linear and has a fixed
 duration.| Constructor and Description | 
|---|
| RandomLinearByteValueAnimator(byte min,
                             byte max,
                             int duration)Construct a  RandomLinearByteValueAnimatorwith the given
 range and duration for each sub-animation. | 
| RandomLinearByteValueAnimator(byte min,
                             byte max,
                             int duration,
                             byte initial)Construct a  RandomLinearByteValueAnimatorwith the given
 range, duration for each sub-animation and fixed initial value. | 
| RandomLinearByteValueAnimator(int startWait,
                             int stopWait,
                             byte min,
                             byte max,
                             int duration)Construct a  RandomLinearByteValueAnimatorwith the given
 range and duration for each sub-animation. | 
| RandomLinearByteValueAnimator(int startWait,
                             int stopWait,
                             byte min,
                             byte max,
                             int duration,
                             byte initial)Construct a  RandomLinearByteValueAnimatorwith the given
 range, duration for each sub-animation and fixed initial value. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | hasFinished()Has the animator finished animating the value. | 
| Byte | nextValue()Get the next value. | 
| void | reset()Reset the animator back to its initial condition. | 
| protected void | setNextAnimator(byte v1) | 
public RandomLinearByteValueAnimator(byte min, byte max, int duration)
RandomLinearByteValueAnimator with the given
 range and duration for each sub-animation.min - minimum allowed valuemax - maximum allowed valueduration - duration between valuespublic RandomLinearByteValueAnimator(byte min, byte max, int duration, byte initial)
RandomLinearByteValueAnimator with the given
 range, duration for each sub-animation and fixed initial value.min - minimum allowed valuemax - maximum allowed valueduration - duration between valuesinitial - initial starting valuepublic RandomLinearByteValueAnimator(int startWait, int stopWait, byte min, byte max, int duration)
RandomLinearByteValueAnimator with the given
 range and duration for each sub-animation.
 
 The sub-animations will start after startWait ticks, and 
 finish stopWait ticks after startWait+duration.startWait - amount of time in ticks to wait before starting animation.stopWait - amount of time in ticks to wait after finishing animation.min - minimum allowed valuemax - maximum allowed valueduration - duration between valuespublic RandomLinearByteValueAnimator(int startWait, int stopWait, byte min, byte max, int duration, byte initial)
RandomLinearByteValueAnimator with the given
 range, duration for each sub-animation and fixed initial value.
 
 The sub-animations will start after startWait ticks, and 
 finish stopWait ticks after startWait+duration.startWait - amount of time in ticks to wait before starting animation.stopWait - amount of time in ticks to wait after finishing animation.min - minimum allowed valuemax - maximum allowed valueduration - duration between valuesinitial - initial starting valuepublic Byte nextValue()
ValueAnimatornextValue in interface ValueAnimator<Byte>public boolean hasFinished()
ValueAnimatorhasFinished in interface ValueAnimator<Byte>public void reset()
ValueAnimatorreset in interface ValueAnimator<Byte>protected void setNextAnimator(byte v1)