|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.graphics.drawable.Drawable
android.graphics.drawable.DrawableContainer
android.graphics.drawable.LevelListDrawable
public class LevelListDrawable
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class android.graphics.drawable.DrawableContainer |
|---|
DrawableContainer.DrawableContainerState |
| Nested classes/interfaces inherited from class android.graphics.drawable.Drawable |
|---|
Drawable.Callback, Drawable.ConstantState |
| Constructor Summary | |
|---|---|
LevelListDrawable()
|
|
| Method Summary | |
|---|---|
void |
addLevel(int low,
int high,
Drawable drawable)
|
void |
inflate(Resources r,
org.xmlpull.v1.XmlPullParser parser,
AttributeSet attrs)
|
Drawable |
mutate()
|
protected boolean |
onLevelChange(int level)
|
| Methods inherited from class android.graphics.drawable.DrawableContainer |
|---|
draw, getChangingConfigurations, getConstantState, getCurrent, getIntrinsicHeight, getIntrinsicWidth, getMinimumHeight, getMinimumWidth, getOpacity, getPadding, invalidateDrawable, isStateful, onBoundsChange, onStateChange, scheduleDrawable, selectDrawable, setAlpha, setColorFilter, setConstantState, setDither, setVisible, unscheduleDrawable |
| Methods inherited from class android.graphics.drawable.Drawable |
|---|
clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXmlInner, getBounds, getLevel, getState, getTransparentRegion, invalidateSelf, isVisible, resolveOpacity, scheduleSelf, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setFilterBitmap, setLevel, setState, unscheduleSelf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LevelListDrawable()
| Method Detail |
|---|
public void addLevel(int low,
int high,
Drawable drawable)
protected boolean onLevelChange(int level)
onLevelChange in class DrawableContainer
public void inflate(Resources r,
org.xmlpull.v1.XmlPullParser parser,
AttributeSet attrs)
throws org.xmlpull.v1.XmlPullParserException,
java.io.IOException
inflate in class Drawableorg.xmlpull.v1.XmlPullParserException
java.io.IOExceptionpublic Drawable mutate()
mutate in class DrawableContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||