android.view.animation
Class GridLayoutAnimationController

java.lang.Object
  extended by android.view.animation.LayoutAnimationController
      extended by android.view.animation.GridLayoutAnimationController

public class GridLayoutAnimationController
extends LayoutAnimationController


Nested Class Summary
static class GridLayoutAnimationController.AnimationParameters
           
 
Field Summary
static int DIRECTION_BOTTOM_TO_TOP
           
static int DIRECTION_HORIZONTAL_MASK
           
static int DIRECTION_LEFT_TO_RIGHT
           
static int DIRECTION_RIGHT_TO_LEFT
           
static int DIRECTION_TOP_TO_BOTTOM
           
static int DIRECTION_VERTICAL_MASK
           
static int PRIORITY_COLUMN
           
static int PRIORITY_NONE
           
static int PRIORITY_ROW
           
 
Fields inherited from class android.view.animation.LayoutAnimationController
mAnimation, mInterpolator, mRandomizer, ORDER_NORMAL, ORDER_RANDOM, ORDER_REVERSE
 
Constructor Summary
GridLayoutAnimationController(Animation animation)
           
GridLayoutAnimationController(Animation animation, float columnDelay, float rowDelay)
           
GridLayoutAnimationController(Context context, AttributeSet attrs)
           
 
Method Summary
 float getColumnDelay()
           
protected  long getDelayForView(View view)
           
 int getDirection()
           
 int getDirectionPriority()
           
 float getRowDelay()
           
 void setColumnDelay(float columnDelay)
           
 void setDirection(int direction)
           
 void setDirectionPriority(int directionPriority)
           
 void setRowDelay(float rowDelay)
           
 boolean willOverlap()
           
 
Methods inherited from class android.view.animation.LayoutAnimationController
getAnimation, getAnimationForView, getDelay, getInterpolator, getOrder, getTransformedIndex, isDone, setAnimation, setAnimation, setDelay, setInterpolator, setInterpolator, setOrder, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIRECTION_LEFT_TO_RIGHT

public static final int DIRECTION_LEFT_TO_RIGHT
See Also:
Constant Field Values

DIRECTION_RIGHT_TO_LEFT

public static final int DIRECTION_RIGHT_TO_LEFT
See Also:
Constant Field Values

DIRECTION_TOP_TO_BOTTOM

public static final int DIRECTION_TOP_TO_BOTTOM
See Also:
Constant Field Values

DIRECTION_BOTTOM_TO_TOP

public static final int DIRECTION_BOTTOM_TO_TOP
See Also:
Constant Field Values

DIRECTION_HORIZONTAL_MASK

public static final int DIRECTION_HORIZONTAL_MASK
See Also:
Constant Field Values

DIRECTION_VERTICAL_MASK

public static final int DIRECTION_VERTICAL_MASK
See Also:
Constant Field Values

PRIORITY_NONE

public static final int PRIORITY_NONE
See Also:
Constant Field Values

PRIORITY_COLUMN

public static final int PRIORITY_COLUMN
See Also:
Constant Field Values

PRIORITY_ROW

public static final int PRIORITY_ROW
See Also:
Constant Field Values
Constructor Detail

GridLayoutAnimationController

public GridLayoutAnimationController(Context context,
                                     AttributeSet attrs)

GridLayoutAnimationController

public GridLayoutAnimationController(Animation animation)

GridLayoutAnimationController

public GridLayoutAnimationController(Animation animation,
                                     float columnDelay,
                                     float rowDelay)
Method Detail

getColumnDelay

public float getColumnDelay()

setColumnDelay

public void setColumnDelay(float columnDelay)

getRowDelay

public float getRowDelay()

setRowDelay

public void setRowDelay(float rowDelay)

getDirection

public int getDirection()

setDirection

public void setDirection(int direction)

getDirectionPriority

public int getDirectionPriority()

setDirectionPriority

public void setDirectionPriority(int directionPriority)

willOverlap

public boolean willOverlap()
Overrides:
willOverlap in class LayoutAnimationController

getDelayForView

protected long getDelayForView(View view)
Overrides:
getDelayForView in class LayoutAnimationController


Copyright © 2008-2012. All Rights Reserved.