-
- All Implemented Interfaces:
public final class ProgressDrawable extends Drawable
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanisEverChangingprivate BooleanisRotateprivate IntegerprogressColor
-
Constructor Summary
Constructors Constructor Description ProgressDrawable(Context context, Integer color)
-
Method Summary
Modifier and Type Method Description final BooleanisEverChanging()final UnitsetEverChanging(Boolean isEverChanging)final BooleanisRotate()final UnitsetRotate(Boolean isRotate)final IntegergetProgressColor()final UnitsetProgressColor(Integer progressColor)Unitdraw(Canvas canvas)UnitsetAlpha(Integer alpha)IntegergetOpacity()UnitsetColorFilter(ColorFilter colorFilter)BooleansetVisible(Boolean visible, Boolean restart)final UnitsetProgress(Float progress)-
Methods inherited from class android.graphics.drawable.Drawable
applyTheme, canApplyTheme, clearColorFilter, copyBounds, copyBounds, getAlpha, getBounds, getCallback, getChangingConfigurations, getColorFilter, getConstantState, getCurrent, getDirtyBounds, getHotspotBounds, getIntrinsicHeight, getIntrinsicWidth, getLayoutDirection, getLevel, getMinimumHeight, getMinimumWidth, getOpticalInsets, getOutline, getPadding, getState, getTransparentRegion, hasFocusStateSpecified, inflate, inflate, invalidateSelf, isAutoMirrored, isFilterBitmap, isProjected, isStateful, isVisible, jumpToCurrentState, mutate, onLayoutDirectionChanged, scheduleSelf, setAutoMirrored, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setDither, setFilterBitmap, setHotspot, setHotspotBounds, setLayoutDirection, setLevel, setState, setTint, setTintBlendMode, setTintList, setTintMode, unscheduleSelf -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
isEverChanging
final Boolean isEverChanging()
-
setEverChanging
final Unit setEverChanging(Boolean isEverChanging)
-
getProgressColor
final Integer getProgressColor()
-
setProgressColor
final Unit setProgressColor(Integer progressColor)
-
getOpacity
Integer getOpacity()
-
setColorFilter
Unit setColorFilter(ColorFilter colorFilter)
-
setVisible
Boolean setVisible(Boolean visible, Boolean restart)
-
setProgress
final Unit setProgress(Float progress)
-
-
-
-