HERE Android SDK Developer's Guide

AnimationInterpolator

The enumeration AnimationInterpolator is a member of com.here.android.mpa.ar .

Enumeration Summary

public final enumeration AnimationInterpolator

extends java.lang.Enum, java.lang.Object

Animation Interpolator types.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in AnimationInterpolator
Fields

public static final AnimationInterpolator LINEAR

Linear interpolation

public static final AnimationInterpolator ACCELERATE

Accelerate.

public static final AnimationInterpolator DECELERATE

Decelerate.

public static final AnimationInterpolator ACCELERATE_DECELERATE

Accelerate - Decelerate.

public static final AnimationInterpolator OVERSHOOT

Overshoot.

public static final AnimationInterpolator ANTICIPATE

Anticipate.

public static final AnimationInterpolator ANTICIPATE_OVERSHOOT

Anticipate - Overshoot.

public static final AnimationInterpolator BOUNCE

Bounce.

public static final AnimationInterpolator CYCLE

Cycle.

Method Summary

Table 2. Methods in AnimationInterpolator
Methods

public static AnimationInterpolator valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

public static AnimationInterpolator[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.

Enumeration Details

Animation Interpolator types. Function of time. Returned value is determined by the type of the interpolation.

Enum Constant Details

public static final AnimationInterpolator LINEAR

Linear interpolation

public static final AnimationInterpolator ACCELERATE

Accelerate. An interpolator where the rate of change starts out slowly and then accelerates

public static final AnimationInterpolator DECELERATE

Decelerate. An interpolator where the rate of change starts out quickly and then decelerates

public static final AnimationInterpolator ACCELERATE_DECELERATE

Accelerate - Decelerate. An interpolator where the rate of change starts and ends slowly but accelerates through the middle

public static final AnimationInterpolator OVERSHOOT

Overshoot. An interpolator where the change flings forward and overshoots the last value then comes back.

public static final AnimationInterpolator ANTICIPATE

Anticipate. An interpolator where the change starts backward then flings forward.

public static final AnimationInterpolator ANTICIPATE_OVERSHOOT

Anticipate - Overshoot. An interpolator where the change starts backward then flings forward and overshoots the target value and finally goes back to the final value.

public static final AnimationInterpolator BOUNCE

Bounce. An interpolator where the change bounces at the end.

public static final AnimationInterpolator CYCLE

Cycle. Repeats the animation for a specified number of cycles. The rate of change follows a sinusoidal pattern.

Method Details

public static AnimationInterpolator valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

Parameters:

  • name

    A string containing the name of the enumeration member whose value is to be retrieved.

public static AnimationInterpolator[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.