code: public void startAutoCycle(long delay,long duration,boolean autoRecover){
          if(mCycleTimer != null) mCycleTimer.cancel();
          if(mCycleTask != null) mCycleTask.cancel();
          if(mResumingTask != null) mResumingTask.cancel();
          if(mResumingTimer != null) mResumingTimer.cancel();
          mSliderDuration = duration;
          mCycleTimer = new Timer();
          mAutoRecover = autoRecover;
          mCycleTask = new TimerTask() {
              @Override
              public void run() {
                  mh.sendEmptyMessage(0);
              }
          };
          mCycleTimer.schedule(mCycleTask,delay,mSliderDuration);
          mCycling = true;
          mAutoCycle = true;
      }
docs: start auto cycle.
  @param delay delay time
  @param duration animation duration time.
  @param autoRecover if recover after user touches the slider.