code: public void show() {
      // Reset the start time.
      mStartTime = -1;
      mDismissed = false;
      removeCallbacks(mDelayedHide);
      if (!mPostedShow) {
        postDelayed(mDelayedShow, MIN_DELAY);
        mPostedShow = true;
      }
    }
docs: Show the progress view after waiting for a minimum delay. If
  during that time, hide() is called, the view is never made visible.