Interpolator for Android animations

Source: Internet
Author: User

1, interpolator interpolation, control whether an animation changes in the process of linear constant change, or accelerate the change, or in accordance with a certain function of the relationship changes.

2. Android offers several interpolation values.

3. Test all the effects provided above

(1) Acceleratedecelerateinterpolator, acceleration and deceleration, the rate of change to the cosine curve

(2) Accelerateinterpolator, the rate has been changed to a power change

(3) Anticipateinterpolator, reverse rebound, and then grow larger

(4) Anticipateovershootinterpolator, two-way rebound, the start of the reverse rebound, the end of the reverse rebound.

(5) Bounceinterpolator, elastic change, end will simulate physical inertia rebound several times end

(6) Cycleinterpolator, cycle change, rate change is sinusoidal

(7) Decelerateinterpolator deceleration after acceleration

(8) Overshootinterpolator reach the end point more than a little distance back

There is also a linear, needless to say.

Interpolator for Android animations

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.