Class BounceInterpolator

java.lang.Object
icyllis.modernui.animation.BounceInterpolator
All Implemented Interfaces:
TimeInterpolator

public class BounceInterpolator extends Object implements TimeInterpolator
  • Method Details

    • getInterpolation

      public float getInterpolation(float t)
      Description copied from interface: TimeInterpolator
      Get interpolation value. 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 - [0.0, 1.0] determined by timeline, 0.0 represents the start and 1.0 represents the end
      Returns:
      the interpolated value. this value can be more than 1.0 for those overshoot their targets, or less than 0 for those undershoot their targets.