Android.view.animation (2)-Interpolator interpolator

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.