Home
last modified time | relevance | path

Searched refs:componentListener (Results 1 – 7 of 7) sorted by relevance

/external/exoplayer/tree/extensions/leanback/src/main/java/com/google/android/exoplayer2/ext/leanback/
DLeanbackPlayerAdapter.java52 private final ComponentListener componentListener; field in LeanbackPlayerAdapter
76 componentListener = new ComponentListener(); in LeanbackPlayerAdapter()
116 surfaceHolderGlueHost.setSurfaceHolderCallback(componentListener); in onAttachedToHost()
119 player.addListener(componentListener); in onAttachedToHost()
122 videoComponent.addVideoListener(componentListener); in onAttachedToHost()
128 player.removeListener(componentListener); in onDetachedFromHost()
131 videoComponent.removeVideoListener(componentListener); in onDetachedFromHost()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ads/
DAdsMediaSource.java134 @Nullable private ComponentListener componentListener; field in AdsMediaSource
193 ComponentListener componentListener = new ComponentListener(); in prepareSourceInternal() local
194 this.componentListener = componentListener; in prepareSourceInternal()
196 mainHandler.post(() -> adsLoader.start(componentListener, adViewProvider)); in prepareSourceInternal()
250 Assertions.checkNotNull(componentListener).release(); in releaseSourceInternal()
251 componentListener = null; in releaseSourceInternal()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DPlayerControlView.java262 private final ComponentListener componentListener; field in PlayerControlView
379 componentListener = new ComponentListener(); in PlayerControlView()
410 timeBar.addListener(componentListener); in PlayerControlView()
414 playButton.setOnClickListener(componentListener); in PlayerControlView()
418 pauseButton.setOnClickListener(componentListener); in PlayerControlView()
422 previousButton.setOnClickListener(componentListener); in PlayerControlView()
426 nextButton.setOnClickListener(componentListener); in PlayerControlView()
430 rewindButton.setOnClickListener(componentListener); in PlayerControlView()
434 fastForwardButton.setOnClickListener(componentListener); in PlayerControlView()
438 repeatToggleButton.setOnClickListener(componentListener); in PlayerControlView()
[all …]
DTrackSelectionView.java61 private final ComponentListener componentListener; field in TrackSelectionView
106 componentListener = new ComponentListener(); in TrackSelectionView()
118 disableView.setOnClickListener(componentListener); in TrackSelectionView()
131 defaultView.setOnClickListener(componentListener); in TrackSelectionView()
278 trackView.setOnClickListener(componentListener); in updateViews()
DPlayerView.java296 private final ComponentListener componentListener; field in PlayerView
339 componentListener = new ComponentListener(); in PlayerView()
432 sphericalGLSurfaceView.setSingleTapListener(componentListener); in PlayerView()
508 controller.addVisibilityListener(/* listener= */ componentListener); in PlayerView()
564 oldPlayer.removeListener(componentListener); in setPlayer()
567 oldVideoComponent.removeVideoListener(componentListener); in setPlayer()
580 oldTextComponent.removeTextOutput(componentListener); in setPlayer()
606 newVideoComponent.addVideoListener(componentListener); in setPlayer()
610 newTextComponent.addTextOutput(componentListener); in setPlayer()
612 player.addListener(componentListener); in setPlayer()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DSimpleExoPlayer.java344 private final ComponentListener componentListener; field in SimpleExoPlayer
435 componentListener = new ComponentListener(); in SimpleExoPlayer()
447 componentListener, in SimpleExoPlayer()
448 componentListener, in SimpleExoPlayer()
449 componentListener, in SimpleExoPlayer()
450 componentListener); in SimpleExoPlayer()
473 player.addListener(componentListener); in SimpleExoPlayer()
481 new AudioBecomingNoisyManager(context, eventHandler, componentListener); in SimpleExoPlayer()
482 audioFocusManager = new AudioFocusManager(context, eventHandler, componentListener); in SimpleExoPlayer()
483 streamVolumeManager = new StreamVolumeManager(context, eventHandler, componentListener); in SimpleExoPlayer()
[all …]
/external/exoplayer/tree/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/
DMediaSessionConnector.java412 private final ComponentListener componentListener; field in MediaSessionConnector
441 componentListener = new ComponentListener(); in MediaSessionConnector()
452 mediaSession.setCallback(componentListener, new Handler(looper)); in MediaSessionConnector()
465 this.player.removeListener(componentListener); in setPlayer()
469 player.addListener(componentListener); in setPlayer()