private void showController(boolean showIndefinitely) { if (!useController) { return; } controller.setShowTimeoutMs(showIndefinitely ? 0 : controllerShowTimeoutMs); controller.show(); }
} else /* currentPlayer == castPlayer */ { localPlayerView.setVisibility(View.GONE); castControlView.show();
private void showController(boolean showIndefinitely) { if (!useController) { return; } controller.setShowTimeoutMs(showIndefinitely ? 0 : controllerShowTimeoutMs); controller.show(); }
public void toggleControls() { if (controlView.isVisible()) { controlView.hide(); } else { controlView.show(); } }