Package icyllis.modernui.animation

# Class BounceInterpolator

java.lang.Object
icyllis.modernui.animation.BounceInterpolator

All Implemented Interfaces:
  `TimeInterpolator`

public class BounceInterpolator extends Object implements TimeInterpolator

- ## Field Summary

  ### Fields inherited from interface icyllis.modernui.animation.TimeInterpolator

  `ACCELERATE, ACCELERATE_DECELERATE, ANTICIPATE, ANTICIPATE_OVERSHOOT, BOUNCE, DECELERATE, DECELERATE_CUBIC, DECELERATE_QUINTIC, LINEAR, OVERSHOOT, SINE, VISCOUS_FLUID`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `float`
  `getInterpolation(float t)`
  Get interpolation value.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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.