public class

FloorBounceAnimation

extends TranslateAnimation
java.lang.Object
   ↳ android.view.animation.Animation
     ↳ android.view.animation.TranslateAnimation
       ↳ com.droidux.pack.gallery.anim.FloorBounceAnimation

Class Overview

An animation that controls the distance from the floor. For use with components that implements reflection. You can specify the type of the dimension used, e.g. ABSOLUTE, RELATIVE_TO_PARENT, RELATIVE_TO_SELF.

See Also

Summary

[Expand]
Inherited Constants
From class android.view.animation.Animation
Public Constructors
FloorBounceAnimation(float height)
Constructor to use when building a FloorAnimation from code.
FloorBounceAnimation(float height, int dimensionType)
Constructor to use when building a FloorAnimation from code.
[Expand]
Inherited Methods
From class android.view.animation.TranslateAnimation
From class android.view.animation.Animation
From class java.lang.Object

Public Constructors

public FloorBounceAnimation (float height)

Since: API Level 2.5

Constructor to use when building a FloorAnimation from code.

Parameters
height The maximum height from the floor before bouncing back.

public FloorBounceAnimation (float height, int dimensionType)

Since: API Level 2.5

Constructor to use when building a FloorAnimation from code.

Parameters
height The maximum height from the floor before bouncing back.
dimensionType ABSOLUTE, RELATIVE_TO_PARENT, RELATIVE_TO_SELF.