public interface
Interpolator
Implements Timeinterpolator
Android.view.animation.Interpolator
Known Indirect subclasses
Acceleratedecelerateinterpolator,Accelerateinterpolator,Anticipateinterpolator,Anticipateovershootinterpolator,Bounceinterpolator,Cycleinterpolator,Decelerateinterpolator,Linearinterpolator,Overshootinterpolator
The Interpolator property is an XML property of the animation class, so alpha, scale, rotate, translate, and set inherit this property. Interpolator is translated as a interpolator, in fact, I can not literally understand why this translation, in fact, he is a specific animation how to change the east, and PS in the action is a bit similar: Take a picture, apply an action, the picture will be specified changes.
Its implementation class corresponds to the attributes of the XML file ID as follows
The meanings are as follows:
- Acceleratedecelerateinterpolator at the beginning of the animation with the introduction of the local rate change slower, in the middle of the time to accelerate
- Accelerateinterpolator at the beginning of the animation the rate change is slow, and then start to accelerate
- Anticipateinterpolator starts back and then moves forward.
- Anticipateovershootinterpolator starts back and then dumps a certain value and returns the last value.
- Bounceinterpolator Animation at the end of the play
- Cycleinterpolator Animation Loop plays a specific number of times, rate changes along the sine curve
- Decelerateinterpolator in the beginning of the animation and then slowly
- Linearinterpolator Change at constant rate
- Overshootinterpolator forward a certain value before returning to its original position .
Android.view.animation (2)-Interpolator interpolator