text: public synchronized void setIndeterminate(boolean indeterminate) {if ((!mOnlyIndeterminate || !mIndeterminate) && indeterminate != mIndeterminate) {mIndeterminate = indeterminate;if (indeterminate) {mCurrentDrawable = mIndeterminateDrawable;startAnimation();} else {mCurrentDrawable = mProgressDrawable;stopAnimation();}}}