IT. Expert System.

Android Reference

AnticipateOvershootInterpolator


android.view.animation

Class AnticipateOvershootInterpolator

  • All Implemented Interfaces:
    TimeInterpolator, Interpolator


    public class AnticipateOvershootInterpolator
    extends Object
    implements Interpolator
    An interpolator where the change starts backward then flings forward and overshoots the target value and finally goes back to the final value.
    • Constructor Detail

      • AnticipateOvershootInterpolator

        public AnticipateOvershootInterpolator()
      • AnticipateOvershootInterpolator

        public AnticipateOvershootInterpolator(float tension)
        Parameters:
        tension - Amount of anticipation/overshoot. When tension equals 0.0f, there is no anticipation/overshoot and the interpolator becomes a simple acceleration/deceleration interpolator.
      • AnticipateOvershootInterpolator

        public AnticipateOvershootInterpolator(float tension,
                                       float extraTension)
        Parameters:
        tension - Amount of anticipation/overshoot. When tension equals 0.0f, there is no anticipation/overshoot and the interpolator becomes a simple acceleration/deceleration interpolator.
        extraTension - Amount by which to multiply the tension. For instance, to get the same overshoot as an OvershootInterpolator with a tension of 2.0f, you would use an extraTension of 1.5f.
      • AnticipateOvershootInterpolator

        public AnticipateOvershootInterpolator(Context context,
                                       AttributeSet attrs)
    • Method Detail

      • getInterpolation

        public float getInterpolation(float t)
        Description copied from interface: TimeInterpolator
        Maps a value representing the elapsed fraction of an animation to a value that represents the interpolated fraction. This interpolated value is then multiplied by the change in value of an animation to derive the animated value at the current elapsed animation time.
        Specified by:
        getInterpolation in interface TimeInterpolator
        Parameters:
        t - A value between 0 and 1.0 indicating our current point in the animation where 0 represents the start and 1.0 represents the end
        Returns:
        The interpolation value. This value can be more than 1.0 for interpolators which overshoot their targets, or less than 0 for interpolators that undershoot their targets.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 594 / 158676842. Delta: 0.04832 с