public abstract class ProgressDrawable
extends android.graphics.drawable.Drawable
Constructor and Description |
---|
ProgressDrawable() |
Modifier and Type | Method and Description |
---|---|
float |
getBarPadding() |
float |
getBarWidth() |
int |
getOpacity() |
float |
getProgress() |
ProgressBar.Style |
getStyle() |
long |
getSweepDelay() |
long |
getSweepDuration() |
void |
setAlpha(int alpha) |
void |
setBarPadding(float barPadding) |
void |
setBarWidth(float width) |
void |
setColorFilter(android.graphics.ColorFilter cf) |
void |
setProgress(float progress) |
boolean |
setState(int[] stateSet) |
void |
setStyle(ProgressBar.Style style) |
void |
setSweepDelay(long sweepDelay) |
void |
setSweepDuration(long sweepDuration) |
void |
setTint(android.content.res.ColorStateList list) |
void |
setTint(int tintColor) |
void |
setTintMode(android.graphics.PorterDuff.Mode tintMode) |
applyTheme, canApplyTheme, clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXml, createFromXmlInner, createFromXmlInner, draw, 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, setTintList, setVisible, unscheduleSelf
public void setAlpha(int alpha)
setAlpha
in class android.graphics.drawable.Drawable
public void setColorFilter(android.graphics.ColorFilter cf)
setColorFilter
in class android.graphics.drawable.Drawable
public int getOpacity()
getOpacity
in class android.graphics.drawable.Drawable
public boolean setState(@NonNull int[] stateSet)
setState
in class android.graphics.drawable.Drawable
public void setProgress(float progress)
public float getProgress()
public long getSweepDuration()
public void setSweepDuration(long sweepDuration)
public long getSweepDelay()
public void setSweepDelay(long sweepDelay)
public float getBarWidth()
public void setBarWidth(float width)
public ProgressBar.Style getStyle()
public void setStyle(ProgressBar.Style style)
public float getBarPadding()
public void setBarPadding(float barPadding)
public void setTint(android.content.res.ColorStateList list)
public void setTint(int tintColor)
setTint
in class android.graphics.drawable.Drawable
public void setTintMode(@NonNull android.graphics.PorterDuff.Mode tintMode)
setTintMode
in class android.graphics.drawable.Drawable