library/src/main/java/com/github/clans/fab/FloatingActionButton.java
public synchronized void setIndeterminate(boolean indeterminate) {
        if (!indeterminate) {
            mCurrentProgress = 0.0f;
        }

        mProgressBarEnabled = indeterminate;
        mShouldUpdateButtonPosition = true;
        mProgressIndeterminate = indeterminate;
        mLastTimeAnimated = SystemClock.uptimeMillis();
        setupProgressBounds();
//        saveButtonOriginalPosition();
        updateBackground();
    }
public synchronized void setIndeterminate(boolean indeterminate) {
        if (!indeterminate) {
            mCurrentProgress = 0.0f;
        }

        mProgressBarEnabled = indeterminate;
        mShouldUpdateButtonPosition = true;
        mProgressIndeterminate = indeterminate;
        mLastTimeAnimated = SystemClock.uptimeMillis();
        setupProgressBounds();
//        saveButtonOriginalPosition();
        updateBackground();
    }
<p>Change the indeterminate mode for the progress bar. In indeterminate
mode, the progress is ignored and the progress bar shows an infinite
animation instead.</p>

@param indeterminate true to enable the indeterminate mode