public class LayoutAnimationController extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LayoutAnimationController.AnimationParameters |
| Modifier and Type | Field and Description |
|---|---|
protected Animation |
mAnimation |
protected Interpolator |
mInterpolator |
protected Random |
mRandomizer |
static int |
ORDER_NORMAL |
static int |
ORDER_RANDOM |
static int |
ORDER_REVERSE |
| Constructor and Description |
|---|
LayoutAnimationController(Animation animation) |
LayoutAnimationController(Animation animation,
float delay) |
LayoutAnimationController(Context context,
AttributeSet attrs) |
| Modifier and Type | Method and Description |
|---|---|
Animation |
getAnimation() |
Animation |
getAnimationForView(View view) |
float |
getDelay() |
protected long |
getDelayForView(View view) |
Interpolator |
getInterpolator() |
int |
getOrder() |
protected int |
getTransformedIndex(LayoutAnimationController.AnimationParameters params) |
boolean |
isDone() |
void |
setAnimation(Animation animation) |
void |
setAnimation(Context context,
int resourceID) |
void |
setDelay(float delay) |
void |
setInterpolator(Context context,
int resourceID) |
void |
setInterpolator(Interpolator interpolator) |
void |
setOrder(int order) |
void |
start() |
boolean |
willOverlap() |
public static final int ORDER_NORMAL
public static final int ORDER_REVERSE
public static final int ORDER_RANDOM
protected Animation mAnimation
protected Random mRandomizer
protected Interpolator mInterpolator
public LayoutAnimationController(Context context, AttributeSet attrs)
public LayoutAnimationController(Animation animation)
public LayoutAnimationController(Animation animation, float delay)
public int getOrder()
public void setOrder(int order)
public void setAnimation(Context context, int resourceID)
public void setAnimation(Animation animation)
public Animation getAnimation()
public void setInterpolator(Context context, int resourceID)
public void setInterpolator(Interpolator interpolator)
public Interpolator getInterpolator()
public float getDelay()
public void setDelay(float delay)
public boolean willOverlap()
public void start()
public boolean isDone()
protected long getDelayForView(View view)
protected int getTransformedIndex(LayoutAnimationController.AnimationParameters params)
Copyright © 2008-2013. All Rights Reserved.