public class RotateDrawable extends Drawable implements Drawable.Callback
Drawable.Callback, Drawable.ConstantState| Constructor and Description |
|---|
RotateDrawable() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Canvas canvas) |
int |
getChangingConfigurations() |
Drawable.ConstantState |
getConstantState() |
Drawable |
getDrawable() |
int |
getIntrinsicHeight() |
int |
getIntrinsicWidth() |
int |
getOpacity() |
boolean |
getPadding(Rect padding) |
void |
inflate(Resources r,
org.xmlpull.v1.XmlPullParser parser,
AttributeSet attrs) |
void |
invalidateDrawable(Drawable who) |
boolean |
isStateful() |
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) |
void |
setAlpha(int alpha) |
void |
setColorFilter(ColorFilter cf) |
boolean |
setVisible(boolean visible,
boolean restart) |
void |
unscheduleDrawable(Drawable who,
Runnable what) |
clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXmlInner, getBounds, getCallback, getCurrent, getLevel, getMinimumHeight, getMinimumWidth, getState, getTransparentRegion, invalidateSelf, isVisible, jumpToCurrentState, resolveOpacity, scheduleSelf, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setDither, setFilterBitmap, setLevel, setState, unscheduleSelfpublic Drawable getDrawable()
public int getChangingConfigurations()
getChangingConfigurations in class Drawablepublic void setColorFilter(ColorFilter cf)
setColorFilter in class Drawablepublic int getOpacity()
getOpacity 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 getPadding(Rect padding)
getPadding in class Drawablepublic boolean setVisible(boolean visible,
boolean restart)
setVisible in class Drawablepublic boolean isStateful()
isStateful in class Drawableprotected boolean onStateChange(int[] state)
onStateChange in class Drawableprotected boolean onLevelChange(int level)
onLevelChange in class Drawableprotected void onBoundsChange(Rect bounds)
onBoundsChange in class Drawablepublic int getIntrinsicWidth()
getIntrinsicWidth in class Drawablepublic int getIntrinsicHeight()
getIntrinsicHeight in class Drawablepublic Drawable.ConstantState getConstantState()
getConstantState in class Drawablepublic void inflate(Resources r, org.xmlpull.v1.XmlPullParser parser, AttributeSet attrs) throws org.xmlpull.v1.XmlPullParserException, IOException
inflate in class Drawableorg.xmlpull.v1.XmlPullParserExceptionIOExceptionCopyright © 2008-2013. All Rights Reserved.