/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | AbstractConcatenatedTimeline.java | 78 int windowIndex, @Player.RepeatMode int repeatMode, boolean shuffleModeEnabled) { in getNextWindowIndex() argument 81 repeatMode = repeatMode == Player.REPEAT_MODE_ONE ? Player.REPEAT_MODE_ALL : repeatMode; in getNextWindowIndex() 91 repeatMode == Player.REPEAT_MODE_ALL ? Player.REPEAT_MODE_OFF : repeatMode, in getNextWindowIndex() 106 if (repeatMode == Player.REPEAT_MODE_ALL) { in getNextWindowIndex() 114 int windowIndex, @Player.RepeatMode int repeatMode, boolean shuffleModeEnabled) { in getPreviousWindowIndex() argument 117 repeatMode = repeatMode == Player.REPEAT_MODE_ONE ? Player.REPEAT_MODE_ALL : repeatMode; in getPreviousWindowIndex() 127 repeatMode == Player.REPEAT_MODE_ALL ? Player.REPEAT_MODE_OFF : repeatMode, in getPreviousWindowIndex() 143 if (repeatMode == Player.REPEAT_MODE_ALL) { in getPreviousWindowIndex()
|
D | Timeline.java | 702 public int getNextWindowIndex(int windowIndex, @Player.RepeatMode int repeatMode, in getNextWindowIndex() argument 704 switch (repeatMode) { in getNextWindowIndex() 727 public int getPreviousWindowIndex(int windowIndex, @Player.RepeatMode int repeatMode, in getPreviousWindowIndex() argument 729 switch (repeatMode) { in getPreviousWindowIndex() 813 @Player.RepeatMode int repeatMode, boolean shuffleModeEnabled) { in getNextPeriodIndex() argument 816 int nextWindowIndex = getNextWindowIndex(windowIndex, repeatMode, shuffleModeEnabled); in getNextPeriodIndex() 837 @Player.RepeatMode int repeatMode, boolean shuffleModeEnabled) { in isLastPeriod() argument 838 return getNextPeriodIndex(periodIndex, period, window, repeatMode, shuffleModeEnabled) in isLastPeriod()
|
D | MediaPeriodQueue.java | 46 private @RepeatMode int repeatMode; field in MediaPeriodQueue 69 public boolean updateRepeatMode(Timeline timeline, @RepeatMode int repeatMode) { in updateRepeatMode() argument 70 this.repeatMode = repeatMode; in updateRepeatMode() 507 currentPeriodIndex, period, window, repeatMode, shuffleModeEnabled); in updateForPlaybackModeChange() 573 currentPeriodIndex, period, window, repeatMode, shuffleModeEnabled); in getFollowingMediaPeriodInfo() 801 && timeline.isLastPeriod(periodIndex, period, window, repeatMode, shuffleModeEnabled) in isLastInTimeline()
|
D | ExoPlayerImplInternal.java | 127 @Player.RepeatMode private int repeatMode; field in ExoPlayerImplInternal 146 @Player.RepeatMode int repeatMode, in ExoPlayerImplInternal() argument 156 this.repeatMode = repeatMode; in ExoPlayerImplInternal() 216 public void setRepeatMode(@Player.RepeatMode int repeatMode) { in setRepeatMode() argument 217 handler.obtainMessage(MSG_SET_REPEAT_MODE, repeatMode, 0).sendToTarget(); in setRepeatMode() 681 private void setRepeatModeInternal(@Player.RepeatMode int repeatMode) in setRepeatModeInternal() argument 683 this.repeatMode = repeatMode; in setRepeatModeInternal() 684 if (!queue.updateRepeatMode(playbackInfo.timeline, repeatMode)) { in setRepeatModeInternal() 913 repeatMode, in seekToInternal() 1275 repeatMode, in sendMessageInternal() [all …]
|
D | ExoPlayerImpl.java | 78 @RepeatMode private int repeatMode; field in ExoPlayerImpl 134 repeatMode = Player.REPEAT_MODE_OFF; in ExoPlayerImpl() 166 repeatMode, in ExoPlayerImpl() 527 public void setRepeatMode(@RepeatMode int repeatMode) { in setRepeatMode() argument 528 if (this.repeatMode != repeatMode) { in setRepeatMode() 529 this.repeatMode = repeatMode; in setRepeatMode() 530 internalPlayer.setRepeatMode(repeatMode); in setRepeatMode() 531 notifyListeners(listener -> listener.onRepeatModeChanged(repeatMode)); in setRepeatMode() 537 return repeatMode; in getRepeatMode() 1156 repeatMode, in maskTimelineAndWindowIndex()
|
D | BasePlayer.java | 225 @RepeatMode int repeatMode = getRepeatMode(); in getRepeatModeForNavigation() local 226 return repeatMode == REPEAT_MODE_ONE ? REPEAT_MODE_OFF : repeatMode; in getRepeatModeForNavigation()
|
D | DefaultControlDispatcher.java | 116 public boolean dispatchSetRepeatMode(Player player, @Player.RepeatMode int repeatMode) { in dispatchSetRepeatMode() argument 117 player.setRepeatMode(repeatMode); in dispatchSetRepeatMode()
|
D | ControlDispatcher.java | 88 boolean dispatchSetRepeatMode(Player player, @RepeatMode int repeatMode); in dispatchSetRepeatMode() argument
|
D | Player.java | 536 default void onRepeatModeChanged(@RepeatMode int repeatMode) {} in onRepeatModeChanged() argument 1021 void setRepeatMode(@RepeatMode int repeatMode); in setRepeatMode() argument
|
D | SimpleExoPlayer.java | 1501 public void setRepeatMode(@RepeatMode int repeatMode) { in setRepeatMode() argument 1503 player.setRepeatMode(repeatMode); in setRepeatMode()
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | TimelineAsserts.java | 80 @Player.RepeatMode int repeatMode, in assertPreviousWindowIndices() argument 84 assertThat(timeline.getPreviousWindowIndex(i, repeatMode, shuffleModeEnabled)) in assertPreviousWindowIndices() 95 @Player.RepeatMode int repeatMode, in assertNextWindowIndices() argument 99 assertThat(timeline.getNextWindowIndex(i, repeatMode, shuffleModeEnabled)) in assertNextWindowIndices() 149 for (int repeatMode : REPEAT_MODES) { in assertPeriodCounts() 151 assertThat(timeline.getNextPeriodIndex(i, period, window, repeatMode, false)) in assertPeriodCounts() 154 int nextWindow = timeline.getNextWindowIndex(expectedWindowIndex, repeatMode, false); in assertPeriodCounts() 157 assertThat(timeline.getNextPeriodIndex(i, period, window, repeatMode, false)) in assertPeriodCounts()
|
D | Action.java | 492 @Player.RepeatMode private final int repeatMode; field in Action.SetRepeatMode 498 public SetRepeatMode(String tag, @Player.RepeatMode int repeatMode) { in SetRepeatMode() argument 499 super(tag, "SetRepeatMode:" + repeatMode); in SetRepeatMode() 500 this.repeatMode = repeatMode; in SetRepeatMode() 506 player.setRepeatMode(repeatMode); in doActionImpl()
|
D | ActionSchedule.java | 433 public Builder setRepeatMode(@Player.RepeatMode int repeatMode) { in setRepeatMode() argument 434 return apply(new SetRepeatMode(tag, repeatMode)); in setRepeatMode()
|
D | StubExoPlayer.java | 282 public void setRepeatMode(@RepeatMode int repeatMode) { in setRepeatMode() argument
|
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/ |
D | CastPlayer.java | 104 private final StateHolder<Integer> repeatMode; field in CastPlayer 143 repeatMode = new StateHolder<>(REPEAT_MODE_OFF); in CastPlayer() 165 new MediaQueueItem[] {item}, /* startWindowIndex= */ 0, positionMs, repeatMode.value); in loadItem() 175 MediaQueueItem[] items, int startIndex, long positionMs, @RepeatMode int repeatMode) { in loadItems() argument 176 return setMediaItemsInternal(items, startIndex, positionMs, repeatMode); in loadItems() 310 toMediaQueueItems(mediaItems), startWindowIndex, startPositionMs, repeatMode.value); in setMediaItems() 517 public void setRepeatMode(@RepeatMode int repeatMode) { in setRepeatMode() argument 524 setRepeatModeAndNotifyIfChanged(repeatMode); in setRepeatMode() 527 remoteMediaClient.queueSetRepeatMode(getCastRepeatMode(repeatMode), /* jsonObject= */ null); in setRepeatMode() 528 this.repeatMode.pendingResultCallback = in setRepeatMode() [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ |
D | ForwardingTimeline.java | 38 public int getNextWindowIndex(int windowIndex, @Player.RepeatMode int repeatMode, in getNextWindowIndex() argument 40 return timeline.getNextWindowIndex(windowIndex, repeatMode, shuffleModeEnabled); in getNextWindowIndex() 44 public int getPreviousWindowIndex(int windowIndex, @Player.RepeatMode int repeatMode, in getPreviousWindowIndex() argument 46 return timeline.getPreviousWindowIndex(windowIndex, repeatMode, shuffleModeEnabled); in getPreviousWindowIndex()
|
D | LoopingMediaSource.java | 211 public int getNextWindowIndex(int windowIndex, @Player.RepeatMode int repeatMode, in getNextWindowIndex() argument 213 int childNextWindowIndex = timeline.getNextWindowIndex(windowIndex, repeatMode, in getNextWindowIndex() 220 public int getPreviousWindowIndex(int windowIndex, @Player.RepeatMode int repeatMode, in getPreviousWindowIndex() argument 222 int childPreviousWindowIndex = timeline.getPreviousWindowIndex(windowIndex, repeatMode, in getPreviousWindowIndex()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/ |
D | RepeatModeUtil.java | 82 public static boolean isRepeatModeEnabled(@Player.RepeatMode int repeatMode, int enabledModes) { in isRepeatModeEnabled() argument 83 switch (repeatMode) { in isRepeatModeEnabled()
|
D | EventLogger.java | 128 public void onRepeatModeChanged(EventTime eventTime, @Player.RepeatMode int repeatMode) { in onRepeatModeChanged() argument 129 logd(eventTime, "repeatMode", getRepeatModeString(repeatMode)); in onRepeatModeChanged() 610 private static String getRepeatModeString(@Player.RepeatMode int repeatMode) { in getRepeatModeString() argument 611 switch (repeatMode) { in getRepeatModeString()
|
/external/exoplayer/tree/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/ |
D | MediaSessionConnector.java | 782 @Player.RepeatMode int repeatMode = player.getRepeatMode(); in invalidateMediaSessionPlaybackState() local 784 repeatMode == Player.REPEAT_MODE_ONE in invalidateMediaSessionPlaybackState() 786 : repeatMode == Player.REPEAT_MODE_ALL in invalidateMediaSessionPlaybackState() 1107 public void onRepeatModeChanged(@Player.RepeatMode int repeatMode) { in onRepeatModeChanged() argument 1213 @RepeatModeUtil.RepeatToggleModes int repeatMode; in onSetRepeatMode() local 1217 repeatMode = Player.REPEAT_MODE_ALL; in onSetRepeatMode() 1220 repeatMode = Player.REPEAT_MODE_ONE; in onSetRepeatMode() 1225 repeatMode = Player.REPEAT_MODE_OFF; in onSetRepeatMode() 1228 controlDispatcher.dispatchSetRepeatMode(player, repeatMode); in onSetRepeatMode()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/ |
D | AnalyticsListener.java | 223 default void onRepeatModeChanged(EventTime eventTime, @Player.RepeatMode int repeatMode) {} in onRepeatModeChanged() argument
|
D | AnalyticsCollector.java | 500 public final void onRepeatModeChanged(@Player.RepeatMode int repeatMode) { in onRepeatModeChanged() argument 503 listener.onRepeatModeChanged(eventTime, repeatMode); in onRepeatModeChanged()
|
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | PlayerNotificationManager.java | 1345 public void onRepeatModeChanged(@Player.RepeatMode int repeatMode) { in onRepeatModeChanged() argument
|
D | PlayerControlView.java | 1240 public void onRepeatModeChanged(int repeatMode) { in onRepeatModeChanged() argument
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/analytics/ |
D | AnalyticsCollectorTest.java | 1340 public void onRepeatModeChanged(EventTime eventTime, int repeatMode) { in onRepeatModeChanged() argument
|