public class RadialCountdownDrawable extends BaseWidgetDrawable
Constructor and Description |
---|
RadialCountdownDrawable(android.content.Context context) |
Modifier and Type | Method and Description |
---|---|
void |
draw(android.graphics.Canvas canvas) |
int |
getInitialCountdownMilliseconds()
Deprecated.
|
void |
setInitialCountdown(int initialCountdownMilliseconds) |
void |
updateCountdownProgress(int currentProgressMilliseconds) |
drawTextWithinBounds, getOpacity, setAlpha, setColorFilter
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, unscheduleSelf
public RadialCountdownDrawable(@NonNull android.content.Context context)
public void draw(android.graphics.Canvas canvas)
draw
in class android.graphics.drawable.Drawable
public void setInitialCountdown(int initialCountdownMilliseconds)
public void updateCountdownProgress(int currentProgressMilliseconds)
@Deprecated public int getInitialCountdownMilliseconds()