public class DrawableContainer extends Drawable implements Drawable.Callback
| Modifier and Type | Class and Description |
|---|---|
static class |
DrawableContainer.DrawableContainerState |
Drawable.Callback, Drawable.ConstantState| Constructor and Description |
|---|
DrawableContainer() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Canvas canvas) |
int |
getChangingConfigurations() |
Drawable.ConstantState |
getConstantState() |
Drawable |
getCurrent() |
int |
getIntrinsicHeight() |
int |
getIntrinsicWidth() |
int |
getMinimumHeight() |
int |
getMinimumWidth() |
int |
getOpacity() |
boolean |
getPadding(Rect padding) |
void |
invalidateDrawable(Drawable who) |
boolean |
isStateful() |
void |
jumpToCurrentState() |
Drawable |
mutate() |
protected void |
onBoundsChange(Rect bounds) |
protected boolean |
onLevelChange(int level) |
protected boolean |
onStateChange(int[] state) |
void |
scheduleDrawable(Drawable who,
Runnable what,
long when) |
boolean |
selectDrawable(int idx) |
void |
setAlpha(int alpha) |
void |
setColorFilter(ColorFilter cf) |
protected void |
setConstantState(DrawableContainer.DrawableContainerState state) |
void |
setDither(boolean dither) |
void |
setEnterFadeDuration(int ms) |
void |
setExitFadeDuration(int ms) |
boolean |
setVisible(boolean visible,
boolean restart) |
void |
unscheduleDrawable(Drawable who,
Runnable what) |
clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXmlInner, getBounds, getCallback, getLevel, getState, getTransparentRegion, inflate, invalidateSelf, isVisible, resolveOpacity, scheduleSelf, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setFilterBitmap, setLevel, setState, unscheduleSelfpublic int getChangingConfigurations()
getChangingConfigurations in class Drawablepublic boolean getPadding(Rect padding)
getPadding in class Drawablepublic void setColorFilter(ColorFilter cf)
setColorFilter in class Drawablepublic void setEnterFadeDuration(int ms)
public void setExitFadeDuration(int ms)
protected void onBoundsChange(Rect bounds)
onBoundsChange in class Drawablepublic boolean isStateful()
isStateful in class Drawablepublic void jumpToCurrentState()
jumpToCurrentState in class Drawableprotected boolean onStateChange(int[] state)
onStateChange in class Drawableprotected boolean onLevelChange(int level)
onLevelChange in class Drawablepublic int getIntrinsicWidth()
getIntrinsicWidth in class Drawablepublic int getIntrinsicHeight()
getIntrinsicHeight in class Drawablepublic int getMinimumWidth()
getMinimumWidth in class Drawablepublic int getMinimumHeight()
getMinimumHeight in class Drawablepublic void invalidateDrawable(Drawable who)
invalidateDrawable in interface Drawable.Callbackpublic void scheduleDrawable(Drawable who, Runnable what, long when)
scheduleDrawable in interface Drawable.Callbackpublic void unscheduleDrawable(Drawable who, Runnable what)
unscheduleDrawable in interface Drawable.Callbackpublic boolean setVisible(boolean visible,
boolean restart)
setVisible in class Drawablepublic int getOpacity()
getOpacity in class Drawablepublic boolean selectDrawable(int idx)
public Drawable getCurrent()
getCurrent in class Drawablepublic Drawable.ConstantState getConstantState()
getConstantState in class Drawableprotected void setConstantState(DrawableContainer.DrawableContainerState state)
Copyright © 2008-2013. All Rights Reserved.