Home | History | Annotate | Download | only in animation

Lines Matching refs:Animation

17 package android.view.animation;
28 * A layout animation controller is used to animated a grid layout's children.
31 * in the view group to compute the animation delay, this class uses both the
34 * In addition, the animation direction can be controlled. The default direction
36 * also set the animation priority to columns or rows. The default priority is
39 * Information used to compute the animation delay of each child are stored
41 * {@link android.view.animation.GridLayoutAnimationController.AnimationParameters},
105 * Creates a new grid layout animation controller from external resources.
110 * layout animation controller
118 Animation.Description d = Animation.Description.parseValue(
121 d = Animation.Description.parseValue(
134 * Creates a new layout animation controller with a delay of 50%
135 * for both rows and columns and the specified animation.
137 * @param animation the animation to use on each child of the view group
139 public GridLayoutAnimationController(Animation animation) {
140 this(animation, 0.5f, 0.5f);
144 * Creates a new layout animation controller with the specified delays
145 * and the specified animation.
147 * @param animation the animation to use on each child of the view group
148 * @param columnDelay the delay by which each column animation must be offset
149 * @param rowDelay the delay by which each row animation must be offset
151 public GridLayoutAnimationController(Animation animation, float columnDelay, float rowDelay) {
152 super(animation);
158 * Returns the delay by which the children's animation are offset from one
160 * animation duration.
162 * @return a fraction of the animation duration
173 * Sets the delay, as a fraction of the animation duration, by which the
176 * @param columnDelay a fraction of the animation duration
187 * Returns the delay by which the children's animation are offset from one
189 * animation duration.
191 * @return a fraction of the animation duration
202 * Sets the delay, as a fraction of the animation duration, by which the
205 * @param rowDelay a fraction of the animation duration
216 * Returns the direction of the animation. {@link #DIRECTION_HORIZONTAL_MASK}
220 * @return the direction of the animation
235 * Sets the direction of the animation. The direction is expressed as an
239 * @param direction the direction of the animation
254 * Returns the direction priority for the animation. The priority can
258 * @return the priority of the animation direction
270 * Specifies the direction priority of the animation. For instance,
271 * {@link #PRIORITY_COLUMN} will give priority to columns: the animation
274 * @param directionPriority the direction priority of the animation
398 * the view group animated by the grid layout animation controller. These
400 * animation.