code: public synchronized void setSecondaryProgress(int secondaryProgress) {
          if (mIndeterminate) {
              return;
          }
  
          if (secondaryProgress < 0) {
              secondaryProgress = 0;
          }
  
          if (secondaryProgress > mMax) {
              secondaryProgress = mMax;
          }
  
          if (secondaryProgress != mSecondaryProgress) {
              mSecondaryProgress = secondaryProgress;
              refreshProgress(android.R.id.secondaryProgress, mSecondaryProgress, false);
          }
      }
docs: <p>
  Set the current secondary progress to the specified value. Does not do
  anything if the progress bar is in indeterminate mode.
  </p>
  
  @param secondaryProgress the new secondary progress, between 0 and {@link #getMax()}
  @see #setIndeterminate(boolean)
  @see #isIndeterminate()
  @see #getSecondaryProgress()
  @see #incrementSecondaryProgressBy(int)