public class AnimateDrawable extends ProxyDrawable
| Constructor and Description |
|---|
AnimateDrawable(android.graphics.drawable.Drawable target) |
AnimateDrawable(android.graphics.drawable.Drawable target,
android.view.animation.Animation animation) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(android.graphics.Canvas canvas) |
android.view.animation.Animation |
getAnimation() |
boolean |
hasEnded() |
boolean |
hasStarted() |
void |
setAnimation(android.view.animation.Animation anim) |
getIntrinsicHeight, getIntrinsicWidth, getOpacity, getProxy, mutate, setAlpha, setColorFilter, setDither, setFilterBitmap, setProxyapplyTheme, canApplyTheme, clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXml, createFromXmlInner, createFromXmlInner, getAlpha, getBounds, getCallback, getChangingConfigurations, getColorFilter, getConstantState, getCurrent, getDirtyBounds, getLevel, getMinimumHeight, getMinimumWidth, getOutline, getPadding, getState, getTransparentRegion, inflate, inflate, invalidateSelf, isAutoMirrored, isStateful, isVisible, jumpToCurrentState, onBoundsChange, onLevelChange, onStateChange, resolveOpacity, scheduleSelf, setAutoMirrored, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setHotspot, setHotspotBounds, setLevel, setState, setTint, setTintList, setTintMode, setVisible, unscheduleSelfpublic AnimateDrawable(android.graphics.drawable.Drawable target)
public AnimateDrawable(android.graphics.drawable.Drawable target,
android.view.animation.Animation animation)
public android.view.animation.Animation getAnimation()
public void setAnimation(android.view.animation.Animation anim)
public boolean hasStarted()
public boolean hasEnded()
public void draw(android.graphics.Canvas canvas)
draw in class ProxyDrawable