Home
last modified time | relevance | path

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

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DExoPlayerImpl.java335 List<MediaItem> mediaItems, int startWindowIndex, long startPositionMs) { in setMediaItems() argument
336 setMediaSources(createMediaSources(mediaItems), startWindowIndex, startPositionMs); in setMediaItems() local
371 List<MediaSource> mediaSources, int startWindowIndex, long startPositionMs) { in setMediaSources() argument
373 mediaSources, startWindowIndex, startPositionMs, /* resetToDefaultPosition= */ false); in setMediaSources()
975 int startWindowIndex, in setMediaSourcesInternal() argument
990 if (!timeline.isEmpty() && startWindowIndex >= timeline.getWindowCount()) { in setMediaSourcesInternal()
991 throw new IllegalSeekPositionException(timeline, startWindowIndex, startPositionMs); in setMediaSourcesInternal()
995 startWindowIndex = timeline.getFirstWindowIndex(shuffleModeEnabled); in setMediaSourcesInternal()
997 } else if (startWindowIndex == C.INDEX_UNSET) { in setMediaSourcesInternal()
998 startWindowIndex = currentWindowIndex; in setMediaSourcesInternal()
[all …]
DExoPlayer.java442 void setMediaSources(List<MediaSource> mediaSources, int startWindowIndex, long startPositionMs); in setMediaSources() argument
DSimpleExoPlayer.java1313 List<MediaItem> mediaItems, int startWindowIndex, long startPositionMs) { in setMediaItems() argument
1316 player.setMediaItems(mediaItems, startWindowIndex, startPositionMs); in setMediaItems()
1356 List<MediaSource> mediaSources, int startWindowIndex, long startPositionMs) { in setMediaSources() argument
1359 player.setMediaSources(mediaSources, startWindowIndex, startPositionMs); in setMediaSources()
DPlayer.java841 void setMediaItems(List<MediaItem> mediaItems, int startWindowIndex, long startPositionMs); in setMediaItems() argument
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DCastPlayer.java308 List<MediaItem> mediaItems, int startWindowIndex, long startPositionMs) { in setMediaItems() argument
310 toMediaQueueItems(mediaItems), startWindowIndex, startPositionMs, repeatMode.value); in setMediaItems() local
790 int startWindowIndex, in setMediaItemsInternal() argument
797 if (startWindowIndex == C.INDEX_UNSET) { in setMediaItemsInternal()
798 startWindowIndex = getCurrentWindowIndex(); in setMediaItemsInternal()
803 Math.min(startWindowIndex, mediaQueueItems.length - 1), in setMediaItemsInternal()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DStubExoPlayer.java171 List<MediaItem> mediaItems, int startWindowIndex, long startPositionMs) { in setMediaItems() argument
202 List<MediaSource> mediaSources, int startWindowIndex, long startPositionMs) { in setMediaSources() argument
/external/exoplayer/tree/extensions/cast/src/test/java/com/google/android/exoplayer2/ext/cast/
DCastPlayerTest.java265 int startWindowIndex = C.INDEX_UNSET; in setMediaItems_doNotReset_callsRemoteMediaClient() local
268 castPlayer.setMediaItems(mediaItems, startWindowIndex, startPositionMs); in setMediaItems_doNotReset_callsRemoteMediaClient()