Home
last modified time | relevance | path

Searched refs:controlDispatcher (Results 1 – 8 of 8) sorted by relevance

/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DPlayerControlView.java297 private com.google.android.exoplayer2.ControlDispatcher controlDispatcher; field in PlayerControlView
380 controlDispatcher = in PlayerControlView()
588 public void setControlDispatcher(ControlDispatcher controlDispatcher) { in setControlDispatcher() argument
589 if (this.controlDispatcher != controlDispatcher) { in setControlDispatcher()
590 this.controlDispatcher = controlDispatcher; in setControlDispatcher()
602 if (controlDispatcher instanceof DefaultControlDispatcher) { in setRewindIncrementMs()
603 ((DefaultControlDispatcher) controlDispatcher).setRewindIncrementMs(rewindMs); in setRewindIncrementMs()
615 if (controlDispatcher instanceof DefaultControlDispatcher) { in setFastForwardIncrementMs()
616 ((DefaultControlDispatcher) controlDispatcher).setFastForwardIncrementMs(fastForwardMs); in setFastForwardIncrementMs()
667 controlDispatcher.dispatchSetRepeatMode(player, Player.REPEAT_MODE_OFF); in setRepeatToggleModes()
[all …]
DPlayerNotificationManager.java378 private ControlDispatcher controlDispatcher; field in PlayerNotificationManager
608 controlDispatcher = new DefaultControlDispatcher(); in PlayerNotificationManager()
694 public final void setControlDispatcher(ControlDispatcher controlDispatcher) { in setControlDispatcher() argument
695 if (this.controlDispatcher != controlDispatcher) { in setControlDispatcher()
696 this.controlDispatcher = controlDispatcher; in setControlDispatcher()
723 if (controlDispatcher instanceof DefaultControlDispatcher) { in setFastForwardIncrementMs()
724 ((DefaultControlDispatcher) controlDispatcher).setFastForwardIncrementMs(fastForwardMs); in setFastForwardIncrementMs()
736 if (controlDispatcher instanceof DefaultControlDispatcher) { in setRewindIncrementMs()
737 ((DefaultControlDispatcher) controlDispatcher).setRewindIncrementMs(rewindMs); in setRewindIncrementMs()
1137 enableRewind = controlDispatcher.isRewindEnabled(); in getActions()
[all …]
DPlayerView.java995 public void setControlDispatcher(ControlDispatcher controlDispatcher) { in setControlDispatcher() argument
997 controller.setControlDispatcher(controlDispatcher); in setControlDispatcher()
/external/exoplayer/tree/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/
DMediaSessionConnector.java168 ControlDispatcher controlDispatcher, in onCommand() argument
283 void onSkipToPrevious(Player player, ControlDispatcher controlDispatcher); in onSkipToPrevious() argument
291 void onSkipToQueueItem(Player player, ControlDispatcher controlDispatcher, long id); in onSkipToQueueItem() argument
299 void onSkipToNext(Player player, ControlDispatcher controlDispatcher); in onSkipToNext() argument
358 Player player, ControlDispatcher controlDispatcher, Intent mediaButtonEvent); in onMediaButtonEvent() argument
376 Player player, ControlDispatcher controlDispatcher, String action, @Nullable Bundle extras); in onCustomAction() argument
416 private ControlDispatcher controlDispatcher; field in MediaSessionConnector
444 controlDispatcher = new DefaultControlDispatcher(); in MediaSessionConnector()
494 public void setControlDispatcher(ControlDispatcher controlDispatcher) { in setControlDispatcher() argument
495 if (this.controlDispatcher != controlDispatcher) { in setControlDispatcher()
[all …]
DTimelineQueueNavigator.java137 public void onSkipToPrevious(Player player, ControlDispatcher controlDispatcher) { in onSkipToPrevious() argument
138 controlDispatcher.dispatchPrevious(player); in onSkipToPrevious()
142 public void onSkipToQueueItem(Player player, ControlDispatcher controlDispatcher, long id) { in onSkipToQueueItem() argument
149 controlDispatcher.dispatchSeekTo(player, windowIndex, C.TIME_UNSET); in onSkipToQueueItem()
154 public void onSkipToNext(Player player, ControlDispatcher controlDispatcher) { in onSkipToNext() argument
155 controlDispatcher.dispatchNext(player); in onSkipToNext()
163 ControlDispatcher controlDispatcher, in onCommand() argument
DRepeatModeActionProvider.java69 Player player, ControlDispatcher controlDispatcher, String action, @Nullable Bundle extras) { in onCustomAction() argument
73 controlDispatcher.dispatchSetRepeatMode(player, proposedMode); in onCustomAction()
DTimelineQueueEditor.java192 ControlDispatcher controlDispatcher, in onCommand() argument
/external/exoplayer/tree/extensions/leanback/src/main/java/com/google/android/exoplayer2/ext/leanback/
DLeanbackPlayerAdapter.java56 private ControlDispatcher controlDispatcher; field in LeanbackPlayerAdapter
77 controlDispatcher = new DefaultControlDispatcher(); in LeanbackPlayerAdapter()
95 public void setControlDispatcher(@Nullable ControlDispatcher controlDispatcher) { in setControlDispatcher() argument
96 this.controlDispatcher = controlDispatcher == null ? new DefaultControlDispatcher() in setControlDispatcher()
97 : controlDispatcher; in setControlDispatcher()
177 controlDispatcher.dispatchSeekTo(player, player.getCurrentWindowIndex(), C.TIME_UNSET); in play()
179 if (controlDispatcher.dispatchSetPlayWhenReady(player, true)) { in play()
186 if (controlDispatcher.dispatchSetPlayWhenReady(player, false)) { in pause()
193 controlDispatcher.dispatchSeekTo(player, player.getCurrentWindowIndex(), positionMs); in seekTo()