public class ProxyDrawable
extends android.graphics.drawable.Drawable
| Constructor and Description |
|---|
ProxyDrawable(android.graphics.drawable.Drawable target) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(android.graphics.Canvas canvas) |
int |
getIntrinsicHeight() |
int |
getIntrinsicWidth() |
int |
getOpacity() |
android.graphics.drawable.Drawable |
getProxy() |
android.graphics.drawable.Drawable |
mutate() |
void |
setAlpha(int alpha) |
void |
setColorFilter(android.graphics.ColorFilter colorFilter) |
void |
setDither(boolean dither) |
void |
setFilterBitmap(boolean filter) |
void |
setProxy(android.graphics.drawable.Drawable proxy) |
applyTheme, 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 android.graphics.drawable.Drawable getProxy()
public void setProxy(android.graphics.drawable.Drawable proxy)
public void draw(android.graphics.Canvas canvas)
draw in class android.graphics.drawable.Drawablepublic int getIntrinsicWidth()
getIntrinsicWidth in class android.graphics.drawable.Drawablepublic int getIntrinsicHeight()
getIntrinsicHeight in class android.graphics.drawable.Drawablepublic int getOpacity()
getOpacity in class android.graphics.drawable.Drawablepublic void setFilterBitmap(boolean filter)
setFilterBitmap in class android.graphics.drawable.Drawablepublic void setDither(boolean dither)
setDither in class android.graphics.drawable.Drawablepublic void setColorFilter(android.graphics.ColorFilter colorFilter)
setColorFilter in class android.graphics.drawable.Drawablepublic void setAlpha(int alpha)
setAlpha in class android.graphics.drawable.Drawablepublic android.graphics.drawable.Drawable mutate()
mutate in class android.graphics.drawable.Drawable