示例#1
0
  @Override
  public void screenTouched(MotionEvent aEvent) {
    super.screenTouched(aEvent);

    if (toggleFullscreenOverActionBar(aEvent.getY())) {
      setupDisplay();
    }
  }
示例#2
0
  @Override
  public void screenTouched(MotionEvent aEvent) {
    super.screenTouched(aEvent);

    if (!onScreenInput) {
      if (!touchedOverActionBar(aEvent.getY())) {
        uiFullscreen = true;
        setupDisplay();
      }
    } else if (toggleFullscreenOverActionBar(aEvent.getY())) {
      setupDisplay();
    }
  }