private void initControllerView() {
    bottomControlsArea = findViewById(R.id.media_controller_bottom_root);

    gestureControllerView =
        (FensterGestureControllerView) findViewById(R.id.media_controller_gestures_area);
    gestureControllerView.setFensterEventsListener(this);

    mPauseButton = (ImageButton) findViewById(R.id.fen__media_controller_pause);
    mPauseButton.requestFocus();
    mPauseButton.setOnClickListener(mPauseListener);

    mNextButton = (ImageButton) findViewById(R.id.fen__media_controller_next);
    mPrevButton = (ImageButton) findViewById(R.id.fen__media_controller_previous);

    mProgress = (SeekBar) findViewById(R.id.fen__media_controller_progress);
    mProgress.setOnSeekBarChangeListener(mSeekListener);
    mProgress.setMax(MAX_VIDEO_PROGRESS);

    mVolume = (VolumeSeekBar) findViewById(R.id.fen__media_controller_volume);
    mVolume.initialise(this);

    mBrightness = (BrightnessSeekBar) findViewById(R.id.fen__media_controller_brightness);
    mBrightness.initialise(this);

    mEndTime = (TextView) findViewById(R.id.fen__media_controller_time);
    mCurrentTime = (TextView) findViewById(R.id.fen__media_controller_time_current);
    mFormatBuilder = new StringBuilder();
    mFormatter = new Formatter(mFormatBuilder, Locale.getDefault());
  }
 @Override
 public void setEnabled(final boolean enabled) {
   if (mPauseButton != null) {
     mPauseButton.setEnabled(enabled);
   }
   if (mNextButton != null) {
     mNextButton.setEnabled(enabled);
   }
   if (mPrevButton != null) {
     mPrevButton.setEnabled(enabled);
   }
   if (mProgress != null) {
     mProgress.setEnabled(enabled);
   }
   if (mVolume != null) {
     mVolume.setEnabled(enabled);
   }
   if (mBrightness != null) {
     mBrightness.setEnabled(enabled);
   }
   super.setEnabled(enabled);
 }
 private void updateBrightnessProgressBar(float delta) {
   mBrightness.manuallyUpdate((int) delta);
 }