public class ProgressDrawable
extends android.graphics.drawable.Drawable
implements android.graphics.drawable.Animatable
| 构造器和说明 |
|---|
ProgressDrawable() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
draw(android.graphics.Canvas canvas) |
int |
getOpacity() |
int |
height() |
boolean |
isRunning() |
void |
setAlpha(int alpha) |
void |
setColor(int color) |
void |
setColorFilter(android.graphics.ColorFilter cf) |
void |
start() |
void |
stop() |
int |
width() |
applyTheme, canApplyTheme, clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXml, createFromXmlInner, createFromXmlInner, getAlpha, getBounds, getCallback, getChangingConfigurations, getColorFilter, getConstantState, getCurrent, getDirtyBounds, getHotspotBounds, getIntrinsicHeight, getIntrinsicWidth, getLayoutDirection, getLevel, getMinimumHeight, getMinimumWidth, getOutline, getPadding, getState, getTransparentRegion, inflate, inflate, invalidateSelf, isAutoMirrored, isFilterBitmap, isStateful, isVisible, jumpToCurrentState, mutate, onBoundsChange, onLayoutDirectionChanged, onLevelChange, onStateChange, resolveOpacity, scheduleSelf, setAutoMirrored, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setDither, setFilterBitmap, setHotspot, setHotspotBounds, setLayoutDirection, setLevel, setState, setTint, setTintList, setTintMode, setVisible, unscheduleSelfpublic void setColor(int color)
public void draw(@NonNull
android.graphics.Canvas canvas)
draw 在类中 android.graphics.drawable.Drawablepublic void setAlpha(int alpha)
setAlpha 在类中 android.graphics.drawable.Drawablepublic void setColorFilter(android.graphics.ColorFilter cf)
setColorFilter 在类中 android.graphics.drawable.Drawablepublic int getOpacity()
getOpacity 在类中 android.graphics.drawable.Drawablepublic void start()
start 在接口中 android.graphics.drawable.Animatablepublic void stop()
stop 在接口中 android.graphics.drawable.Animatablepublic boolean isRunning()
isRunning 在接口中 android.graphics.drawable.Animatablepublic int width()
public int height()