docs: public void startRotate(boolean clockwise, AnimationSpeed speed) {
          Animation rotate;
  
          //set up the rotation animation
          if (clockwise) {
              rotate = new RotateAnimation(0, 360, Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f);
          }
          else {
              rotate = new RotateAnimation(360, 0, Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f);
          }
  
          //set up some extra variables
          rotate.setRepeatCount(Animation.INFINITE);
          rotate.setInterpolator(new LinearInterpolator());
          rotate.setStartOffset(0);
          rotate.setRepeatMode(Animation.RESTART);
          rotate.setDuration(speed.getRotateDuration());
          startAnimation(rotate);
      }