public class PendingDrawable
extends android.graphics.drawable.Drawable
| Constructor and Description |
|---|
PendingDrawable() |
PendingDrawable(android.graphics.drawable.Drawable placeholder) |
PendingDrawable(PendingDrawable mutate) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(android.graphics.Canvas canvas) |
boolean |
equals(java.lang.Object o) |
int |
getIntrinsicHeight() |
int |
getIntrinsicWidth() |
int |
getOpacity() |
int |
hashCode() |
boolean |
isPending() |
PendingDrawable |
mutate() |
void |
set(android.graphics.drawable.Drawable drawable) |
void |
setAlpha(int alpha) |
void |
setBitmap(android.graphics.Bitmap bmp) |
void |
setColorFilter(android.graphics.ColorFilter colorFilter) |
applyTheme, canApplyTheme, clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXml, createFromXmlInner, createFromXmlInner, getAlpha, getBounds, getCallback, getChangingConfigurations, getColorFilter, getConstantState, getCurrent, getDirtyBounds, getHotspotBounds, getLayoutDirection, getLevel, getMinimumHeight, getMinimumWidth, getOpticalInsets, getOutline, getPadding, getState, getTransparentRegion, inflate, inflate, invalidateSelf, isAutoMirrored, isFilterBitmap, isProjected, isStateful, isVisible, jumpToCurrentState, onBoundsChange, onLayoutDirectionChanged, onLevelChange, onStateChange, resolveOpacity, scheduleSelf, setAutoMirrored, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setDither, setFilterBitmap, setHotspot, setHotspotBounds, setLayoutDirection, setLevel, setState, setTint, setTintBlendMode, setTintList, setTintMode, setVisible, unscheduleSelfpublic PendingDrawable()
public PendingDrawable(android.graphics.drawable.Drawable placeholder)
public PendingDrawable(PendingDrawable mutate)
public boolean isPending()
public void set(android.graphics.drawable.Drawable drawable)
public void setBitmap(android.graphics.Bitmap bmp)
public void setAlpha(int alpha)
setAlpha in class android.graphics.drawable.Drawablepublic void setColorFilter(android.graphics.ColorFilter colorFilter)
setColorFilter in class android.graphics.drawable.Drawablepublic int getOpacity()
getOpacity in class android.graphics.drawable.Drawablepublic int getIntrinsicWidth()
getIntrinsicWidth in class android.graphics.drawable.Drawablepublic int getIntrinsicHeight()
getIntrinsicHeight in class android.graphics.drawable.Drawablepublic PendingDrawable mutate()
mutate in class android.graphics.drawable.Drawablepublic void draw(android.graphics.Canvas canvas)
draw in class android.graphics.drawable.Drawablepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object