Lines Matching defs:AnimationDrawable
38 * An AnimationDrawable defined in XML consists of a single <code><animation-list></code> element,
57 * // set its background to our AnimationDrawable XML resource.
61 * // Get the background, which has been compiled to an AnimationDrawable object.
62 * AnimationDrawable frameAnimation = (AnimationDrawable) img.getBackground();
70 * <p>For more information about animating with {@code AnimationDrawable}, read the
81 public class AnimationDrawable extends DrawableContainer implements Runnable, Animatable {
86 public AnimationDrawable() {
106 * method of your activity, because the {@link android.graphics.drawable.AnimationDrawable} is
238 com.android.internal.R.styleable.AnimationDrawable);
315 AnimationState(AnimationState orig, AnimationDrawable owner,
330 return new AnimationDrawable(this, null);
335 return new AnimationDrawable(this, res);
354 private AnimationDrawable(AnimationState state, Resources res) {