/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 82 shuffleModeEnabled = false; in getNextWindowIndex() 92 shuffleModeEnabled); in getNextWindowIndex() 97 int nextChildIndex = getNextChildIndex(childIndex, shuffleModeEnabled); in getNextWindowIndex() 99 nextChildIndex = getNextChildIndex(nextChildIndex, shuffleModeEnabled); in getNextWindowIndex() 103 + getTimelineByChildIndex(nextChildIndex).getFirstWindowIndex(shuffleModeEnabled); in getNextWindowIndex() 107 return getFirstWindowIndex(shuffleModeEnabled); in getNextWindowIndex() 114 int windowIndex, @Player.RepeatMode int repeatMode, boolean shuffleModeEnabled) { in getPreviousWindowIndex() argument 118 shuffleModeEnabled = false; in getPreviousWindowIndex() 128 shuffleModeEnabled); in getPreviousWindowIndex() [all …]
|
D | Timeline.java | 703 boolean shuffleModeEnabled) { in getNextWindowIndex() argument 706 return windowIndex == getLastWindowIndex(shuffleModeEnabled) ? C.INDEX_UNSET in getNextWindowIndex() 711 return windowIndex == getLastWindowIndex(shuffleModeEnabled) in getNextWindowIndex() 712 ? getFirstWindowIndex(shuffleModeEnabled) : windowIndex + 1; in getNextWindowIndex() 728 boolean shuffleModeEnabled) { in getPreviousWindowIndex() argument 731 return windowIndex == getFirstWindowIndex(shuffleModeEnabled) ? C.INDEX_UNSET in getPreviousWindowIndex() 736 return windowIndex == getFirstWindowIndex(shuffleModeEnabled) in getPreviousWindowIndex() 737 ? getLastWindowIndex(shuffleModeEnabled) : windowIndex - 1; in getPreviousWindowIndex() 751 public int getLastWindowIndex(boolean shuffleModeEnabled) { in getLastWindowIndex() argument 763 public int getFirstWindowIndex(boolean shuffleModeEnabled) { in getFirstWindowIndex() argument [all …]
|
D | ExoPlayerImplInternal.java | 128 private boolean shuffleModeEnabled; field in ExoPlayerImplInternal 147 boolean shuffleModeEnabled, in ExoPlayerImplInternal() argument 157 this.shuffleModeEnabled = shuffleModeEnabled; in ExoPlayerImplInternal() 220 public void setShuffleModeEnabled(boolean shuffleModeEnabled) { in setShuffleModeEnabled() argument 221 handler.obtainMessage(MSG_SET_SHUFFLE_ENABLED, shuffleModeEnabled ? 1 : 0, 0).sendToTarget(); in setShuffleModeEnabled() 690 private void setShuffleModeEnabledInternal(boolean shuffleModeEnabled) in setShuffleModeEnabledInternal() argument 692 this.shuffleModeEnabled = shuffleModeEnabled; in setShuffleModeEnabledInternal() 693 if (!queue.updateShuffleModeEnabled(playbackInfo.timeline, shuffleModeEnabled)) { in setShuffleModeEnabledInternal() 914 shuffleModeEnabled, in seekToInternal() 1243 int firstWindowIndex = timeline.getFirstWindowIndex(shuffleModeEnabled); in getDummyFirstMediaPeriodPosition() [all …]
|
D | ExoPlayerImpl.java | 79 private boolean shuffleModeEnabled; field in ExoPlayerImpl 167 shuffleModeEnabled, in ExoPlayerImpl() 541 public void setShuffleModeEnabled(boolean shuffleModeEnabled) { in setShuffleModeEnabled() argument 542 if (this.shuffleModeEnabled != shuffleModeEnabled) { in setShuffleModeEnabled() 543 this.shuffleModeEnabled = shuffleModeEnabled; in setShuffleModeEnabled() 544 internalPlayer.setShuffleModeEnabled(shuffleModeEnabled); in setShuffleModeEnabled() 545 notifyListeners(listener -> listener.onShuffleModeEnabledChanged(shuffleModeEnabled)); in setShuffleModeEnabled() 551 return shuffleModeEnabled; in getShuffleModeEnabled() 995 startWindowIndex = timeline.getFirstWindowIndex(shuffleModeEnabled); in setMediaSourcesInternal() 1157 shuffleModeEnabled, in maskTimelineAndWindowIndex() [all …]
|
D | MediaPeriodQueue.java | 47 private boolean shuffleModeEnabled; field in MediaPeriodQueue 82 public boolean updateShuffleModeEnabled(Timeline timeline, boolean shuffleModeEnabled) { in updateShuffleModeEnabled() argument 83 this.shuffleModeEnabled = shuffleModeEnabled; in updateShuffleModeEnabled() 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 | DefaultControlDispatcher.java | 122 public boolean dispatchSetShuffleModeEnabled(Player player, boolean shuffleModeEnabled) { in dispatchSetShuffleModeEnabled() argument 123 player.setShuffleModeEnabled(shuffleModeEnabled); in dispatchSetShuffleModeEnabled()
|
D | ControlDispatcher.java | 97 boolean dispatchSetShuffleModeEnabled(Player player, boolean shuffleModeEnabled); in dispatchSetShuffleModeEnabled() argument
|
D | Player.java | 543 default void onShuffleModeEnabledChanged(boolean shuffleModeEnabled) {} in onShuffleModeEnabledChanged() argument 1035 void setShuffleModeEnabled(boolean shuffleModeEnabled); in setShuffleModeEnabled() argument
|
D | SimpleExoPlayer.java | 1507 public void setShuffleModeEnabled(boolean shuffleModeEnabled) { in setShuffleModeEnabled() argument 1509 player.setShuffleModeEnabled(shuffleModeEnabled); in setShuffleModeEnabled()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ |
D | ForwardingTimeline.java | 39 boolean shuffleModeEnabled) { in getNextWindowIndex() argument 40 return timeline.getNextWindowIndex(windowIndex, repeatMode, shuffleModeEnabled); in getNextWindowIndex() 45 boolean shuffleModeEnabled) { in getPreviousWindowIndex() argument 46 return timeline.getPreviousWindowIndex(windowIndex, repeatMode, shuffleModeEnabled); in getPreviousWindowIndex() 50 public int getLastWindowIndex(boolean shuffleModeEnabled) { in getLastWindowIndex() argument 51 return timeline.getLastWindowIndex(shuffleModeEnabled); in getLastWindowIndex() 55 public int getFirstWindowIndex(boolean shuffleModeEnabled) { in getFirstWindowIndex() argument 56 return timeline.getFirstWindowIndex(shuffleModeEnabled); in getFirstWindowIndex()
|
D | LoopingMediaSource.java | 212 boolean shuffleModeEnabled) { in getNextWindowIndex() argument 214 shuffleModeEnabled); in getNextWindowIndex() 215 return childNextWindowIndex == C.INDEX_UNSET ? getFirstWindowIndex(shuffleModeEnabled) in getNextWindowIndex() 221 boolean shuffleModeEnabled) { in getPreviousWindowIndex() argument 223 shuffleModeEnabled); in getPreviousWindowIndex() 224 return childPreviousWindowIndex == C.INDEX_UNSET ? getLastWindowIndex(shuffleModeEnabled) in getPreviousWindowIndex()
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | TimelineAsserts.java | 81 boolean shuffleModeEnabled, in assertPreviousWindowIndices() argument 84 assertThat(timeline.getPreviousWindowIndex(i, repeatMode, shuffleModeEnabled)) in assertPreviousWindowIndices() 96 boolean shuffleModeEnabled, in assertNextWindowIndices() argument 99 assertThat(timeline.getNextWindowIndex(i, repeatMode, shuffleModeEnabled)) in assertNextWindowIndices()
|
D | Action.java | 534 private final boolean shuffleModeEnabled; field in Action.SetShuffleModeEnabled 540 public SetShuffleModeEnabled(String tag, boolean shuffleModeEnabled) { in SetShuffleModeEnabled() argument 541 super(tag, "SetShuffleModeEnabled:" + shuffleModeEnabled); in SetShuffleModeEnabled() 542 this.shuffleModeEnabled = shuffleModeEnabled; in SetShuffleModeEnabled() 548 player.setShuffleModeEnabled(shuffleModeEnabled); in doActionImpl()
|
D | ActionSchedule.java | 452 public Builder setShuffleModeEnabled(boolean shuffleModeEnabled) { in setShuffleModeEnabled() argument 453 return apply(new SetShuffleModeEnabled(tag, shuffleModeEnabled)); in setShuffleModeEnabled()
|
D | StubExoPlayer.java | 297 public void setShuffleModeEnabled(boolean shuffleModeEnabled) { in setShuffleModeEnabled() argument
|
/external/exoplayer/tree/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/ |
D | TimelineQueueNavigator.java | 191 boolean shuffleModeEnabled = player.getShuffleModeEnabled(); in publishFloatingQueueWindow() 198 lastWindowIndex, Player.REPEAT_MODE_OFF, shuffleModeEnabled); in publishFloatingQueueWindow() 208 firstWindowIndex, Player.REPEAT_MODE_OFF, shuffleModeEnabled); in publishFloatingQueueWindow()
|
D | MediaSessionConnector.java | 1112 public void onShuffleModeEnabledChanged(boolean shuffleModeEnabled) { in onShuffleModeEnabledChanged() argument 1194 boolean shuffleModeEnabled; in onSetShuffleMode() 1198 shuffleModeEnabled = true; in onSetShuffleMode() 1203 shuffleModeEnabled = false; in onSetShuffleMode() 1206 controlDispatcher.dispatchSetShuffleModeEnabled(player, shuffleModeEnabled); in onSetShuffleMode()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/ |
D | AnalyticsListener.java | 231 default void onShuffleModeChanged(EventTime eventTime, boolean shuffleModeEnabled) {} in onShuffleModeChanged() argument
|
D | AnalyticsCollector.java | 508 public final void onShuffleModeEnabledChanged(boolean shuffleModeEnabled) { in onShuffleModeEnabledChanged() argument 511 listener.onShuffleModeChanged(eventTime, shuffleModeEnabled); in onShuffleModeEnabledChanged()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/ |
D | EventLogger.java | 133 public void onShuffleModeChanged(EventTime eventTime, boolean shuffleModeEnabled) { in onShuffleModeChanged() argument 134 logd(eventTime, "shuffleModeEnabled", Boolean.toString(shuffleModeEnabled)); in onShuffleModeChanged()
|
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | PlayerNotificationManager.java | 1350 public void onShuffleModeEnabledChanged(boolean shuffleModeEnabled) { in onShuffleModeEnabledChanged() argument
|
D | PlayerControlView.java | 1246 public void onShuffleModeEnabledChanged(boolean shuffleModeEnabled) { in onShuffleModeEnabledChanged() argument
|
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/ |
D | CastPlayer.java | 547 public void setShuffleModeEnabled(boolean shuffleModeEnabled) { in setShuffleModeEnabled() argument
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/analytics/ |
D | AnalyticsCollectorTest.java | 1345 public void onShuffleModeChanged(EventTime eventTime, boolean shuffleModeEnabled) { in onShuffleModeChanged() argument
|