public void hide(){
  mDismissed=true;
  removeCallbacks(mDelayedShow);
  long diff=System.currentTimeMillis() - mStartTime;
  if (diff >= MIN_SHOW_TIME || mStartTime == -1) {
    setVisibility(View.GONE);
  }
 else {
    if (!mPostedHide) {
      postDelayed(mDelayedHide,MIN_SHOW_TIME - diff);
      mPostedHide=true;
    }
  }
}

public void hide ( ) { mDismissed = true ; removeCallbacks ( mDelayedShow ) ; long diff = System . currentTimeMillis ( ) - mStartTime ; if ( diff >= MIN_SHOW_TIME || mStartTime == - 1 ) { setVisibility ( View . GONE ) ; } else { if ( ! mPostedHide ) { postDelayed ( mDelayedHide , MIN_SHOW_TIME - diff ) ; mPostedHide = true ; } } }
hide the progress view if it is visible . the progress view will not be hidden until it has been shown for at least a minimum show time . if the progress view was not yet visible , cancels showing the progress view .
