ProgressBar

Class of android.widget · ProgressBar.java · Android's reference

public class ProgressBar extends View

ProgressBar ← View

A bar of progress between a minimum and a maximum, or an indeterminate one with no value.

Extended in the framework by

Constructors

public ProgressBar(Context context) source
public ProgressBar(Context context, AttributeSet attrs) source
public ProgressBar(Context context, AttributeSet attrs, int defStyleAttr) source
public ProgressBar(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) source

Methods

public synchronized boolean isIndeterminate() source
public synchronized void setIndeterminate(boolean indeterminate) source
public Drawable getIndeterminateDrawable() source
public void setIndeterminateDrawable(Drawable d) source
public Drawable getProgressDrawable() source
public void setProgressDrawable(Drawable d) source
public void setProgressTintList(ColorStateList tint) source
public ColorStateList getProgressTintList() source
public void setProgressTintMode(android.graphics.PorterDuff.Mode mode) source
public android.graphics.PorterDuff.Mode getProgressTintMode() source
public void setProgressBackgroundTintList(ColorStateList tint) source

the track's tint and mode: the progress drawable's background layer, which a LayerDrawable names

public ColorStateList getProgressBackgroundTintList() source
public void setProgressBackgroundTintMode(android.graphics.PorterDuff.Mode mode) source
public android.graphics.PorterDuff.Mode getProgressBackgroundTintMode() source
public void setSecondaryProgressTintList(ColorStateList tint) source
public ColorStateList getSecondaryProgressTintList() source
public void setIndeterminateTintMode(android.graphics.PorterDuff.Mode mode) source
public android.graphics.PorterDuff.Mode getIndeterminateTintMode() source
public void setIndeterminateTintList(ColorStateList tint) source
public ColorStateList getIndeterminateTintList() source
public synchronized void setProgress(int progress) source
public void setProgress(int progress, boolean animate) source
public synchronized void setSecondaryProgress(int secondaryProgress) source
public synchronized int getProgress() source
public synchronized int getSecondaryProgress() source
public synchronized int getMin() source
public synchronized int getMax() source
public synchronized void setMin(int min) source
public synchronized void setMax(int max) source
public final synchronized void incrementProgressBy(int diff) source
public final synchronized void incrementSecondaryProgressBy(int diff) source
protected void onAttachedToWindow() source
protected void onDetachedFromWindow() source
protected boolean verifyDrawable(Drawable who) source
protected void drawableStateChanged() source
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) source
protected synchronized void onDraw(Canvas canvas) source
public CharSequence getAccessibilityClassName() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.