code: public void autoFullscreen(float x) {
          if (CURRENT_JZVD != null
                  && (currentState == CURRENT_STATE_PLAYING || currentState == CURRENT_STATE_PAUSE)
                  && currentScreen != SCREEN_WINDOW_FULLSCREEN
                  && currentScreen != SCREEN_WINDOW_TINY) {
              if (x > 0) {
                  JZUtils.setRequestedOrientation(getContext(), ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
              } else {
                  JZUtils.setRequestedOrientation(getContext(), ActivityInfo.SCREEN_ORIENTATION_REVERSE_LANDSCAPE);
              }
              gotoScreenFullscreen();
          }
      }
docs: //重力感应的时候调用的函数，、、这里有重力感应的参数，暂时不能删除