예제 #1
0
  @Override
  public void onClick(View v) {
    if (mControllerImpl == null) {
      return;
    }

    int id = v.getId();
    if (id == R.id.rl_play_pause || id == R.id.iv_play_pause) {
      mControllerImpl.onPlayTurn();
    } else if (id == R.id.iv_toggle_expandable || id == R.id.rl_toggle_expandable) {
      mControllerImpl.onOrientationChange();
    }
  }
예제 #2
0
 @Override
 public void onStopTrackingTouch(SeekBar seekBar) {
   mControllerImpl.onProgressChange(SeekBarState.STOP_TRACKING, seekBar.getProgress());
   mUserOperateSeecbar = false;
 }
예제 #3
0
 @Override
 public void onStartTrackingTouch(SeekBar seekBar) {
   mControllerImpl.onProgressChange(SeekBarState.START_TRACKING, 0);
   mUserOperateSeecbar = true;
 }