Methods
| Modifier and Type |
Method and Description |
void |
clearColorFilter() |
Rect |
copyBounds() |
void |
copyBounds(Rect bounds) |
static Drawable |
createFromPath(String pathName) |
static Drawable |
createFromResourceStream(Resources res,
TypedValue value,
InputStream is,
String srcName) |
static Drawable |
createFromResourceStream(Resources res,
TypedValue value,
InputStream is,
String srcName,
BitmapFactory.Options opts) |
static Drawable |
createFromStream(InputStream is,
String srcName) |
static Drawable |
createFromXml(Resources r,
org.xmlpull.v1.XmlPullParser parser) |
static Drawable |
createFromXmlInner(Resources r,
org.xmlpull.v1.XmlPullParser parser,
AttributeSet attrs) |
abstract void |
draw(Canvas canvas) |
Rect |
getBounds() |
Drawable.Callback |
getCallback() |
int |
getChangingConfigurations() |
Drawable.ConstantState |
getConstantState() |
Drawable |
getCurrent() |
int |
getIntrinsicHeight() |
int |
getIntrinsicWidth() |
int |
getLevel() |
int |
getMinimumHeight() |
int |
getMinimumWidth() |
abstract int |
getOpacity() |
boolean |
getPadding(Rect padding) |
int[] |
getState() |
Region |
getTransparentRegion() |
void |
inflate(Resources r,
org.xmlpull.v1.XmlPullParser parser,
AttributeSet attrs) |
void |
invalidateSelf() |
boolean |
isStateful() |
boolean |
isVisible() |
void |
jumpToCurrentState() |
Drawable |
mutate() |
protected void |
onBoundsChange(Rect bounds) |
protected boolean |
onLevelChange(int level) |
protected boolean |
onStateChange(int[] state) |
static int |
resolveOpacity(int op1,
int op2) |
void |
scheduleSelf(Runnable what,
long when) |
abstract void |
setAlpha(int alpha) |
void |
setBounds(int left,
int top,
int right,
int bottom) |
void |
setBounds(Rect bounds) |
void |
setCallback(Drawable.Callback cb) |
void |
setChangingConfigurations(int configs) |
abstract void |
setColorFilter(ColorFilter cf) |
void |
setColorFilter(int color,
PorterDuff.Mode mode) |
void |
setDither(boolean dither) |
void |
setFilterBitmap(boolean filter) |
boolean |
setLevel(int level) |
boolean |
setState(int[] stateSet) |
boolean |
setVisible(boolean visible,
boolean restart) |
void |
unscheduleSelf(Runnable what) |