/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/ |
D | MediaItem.java | 93 clipStartPositionMs = mediaItem.clippingProperties.startPositionMs; in Builder() 164 public Builder setClipStartPositionMs(long startPositionMs) { in setClipStartPositionMs() argument 165 Assertions.checkArgument(startPositionMs >= 0); in setClipStartPositionMs() 166 this.clipStartPositionMs = startPositionMs; in setClipStartPositionMs() 699 public final long startPositionMs; field in MediaItem.ClippingProperties 723 long startPositionMs, in ClippingProperties() argument 728 this.startPositionMs = startPositionMs; in ClippingProperties() 746 return startPositionMs == other.startPositionMs in equals() 755 int result = Long.valueOf(startPositionMs).hashCode(); in hashCode()
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | StubExoPlayer.java | 150 public void setMediaItem(MediaItem mediaItem, long startPositionMs) { in setMediaItem() argument 171 List<MediaItem> mediaItems, int startWindowIndex, long startPositionMs) { in setMediaItems() argument 181 public void setMediaSource(MediaSource mediaSource, long startPositionMs) { in setMediaSource() argument 202 List<MediaSource> mediaSources, int startWindowIndex, long startPositionMs) { in setMediaSources() argument
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | ExoPlayerImpl.java | 335 List<MediaItem> mediaItems, int startWindowIndex, long startPositionMs) { in setMediaItems() argument 336 setMediaSources(createMediaSources(mediaItems), startWindowIndex, startPositionMs); in setMediaItems() local 345 public void setMediaSource(MediaSource mediaSource, long startPositionMs) { in setMediaSource() argument 347 Collections.singletonList(mediaSource), /* startWindowIndex= */ 0, startPositionMs); in setMediaSource() local 371 List<MediaSource> mediaSources, int startWindowIndex, long startPositionMs) { in setMediaSources() argument 373 mediaSources, startWindowIndex, startPositionMs, /* resetToDefaultPosition= */ false); in setMediaSources() 976 long startPositionMs, in setMediaSourcesInternal() argument 991 throw new IllegalSeekPositionException(timeline, startWindowIndex, startPositionMs); in setMediaSourcesInternal() 996 startPositionMs = C.TIME_UNSET; in setMediaSourcesInternal() 999 startPositionMs = currentPositionMs; in setMediaSourcesInternal() [all …]
|
D | BasePlayer.java | 38 public void setMediaItem(MediaItem mediaItem, long startPositionMs) { in setMediaItem() argument 39 setMediaItems(Collections.singletonList(mediaItem), /* startWindowIndex= */ 0, startPositionMs); in setMediaItem() local
|
D | ExoPlayer.java | 442 void setMediaSources(List<MediaSource> mediaSources, int startWindowIndex, long startPositionMs); in setMediaSources() argument 458 void setMediaSource(MediaSource mediaSource, long startPositionMs); in setMediaSource() argument
|
D | SimpleExoPlayer.java | 1313 List<MediaItem> mediaItems, int startWindowIndex, long startPositionMs) { in setMediaItems() argument 1316 player.setMediaItems(mediaItems, startWindowIndex, startPositionMs); in setMediaItems() 1334 public void setMediaItem(MediaItem mediaItem, long startPositionMs) { in setMediaItem() argument 1337 player.setMediaItem(mediaItem, startPositionMs); in setMediaItem() 1356 List<MediaSource> mediaSources, int startWindowIndex, long startPositionMs) { in setMediaSources() argument 1359 player.setMediaSources(mediaSources, startWindowIndex, startPositionMs); in setMediaSources() 1377 public void setMediaSource(MediaSource mediaSource, long startPositionMs) { in setMediaSource() argument 1380 player.setMediaSource(mediaSource, startPositionMs); in setMediaSource()
|
D | Player.java | 841 void setMediaItems(List<MediaItem> mediaItems, int startWindowIndex, long startPositionMs); in setMediaItems() argument 857 void setMediaItem(MediaItem mediaItem, long startPositionMs); in setMediaItem() argument
|
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/ |
D | CastPlayer.java | 308 List<MediaItem> mediaItems, int startWindowIndex, long startPositionMs) { in setMediaItems() argument 310 toMediaQueueItems(mediaItems), startWindowIndex, startPositionMs, repeatMode.value); in setMediaItems() local 791 long startPositionMs, in setMediaItemsInternal() argument 796 startPositionMs = startPositionMs == C.TIME_UNSET ? 0 : startPositionMs; in setMediaItemsInternal() 799 startPositionMs = getCurrentPosition(); in setMediaItemsInternal() 805 startPositionMs, in setMediaItemsInternal()
|
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/ |
D | MediaItemTest.java | 206 assertThat(mediaItem.clippingProperties.startPositionMs).isEqualTo(1000L); in builderSetStartPositionMs_setsStartPositionMs() 213 assertThat(mediaItem.clippingProperties.startPositionMs).isEqualTo(0); in builderSetStartPositionMs_zeroByDefault()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ |
D | DefaultMediaSourceFactory.java | 318 if (mediaItem.clippingProperties.startPositionMs == 0 in maybeClipMediaSource() 325 C.msToUs(mediaItem.clippingProperties.startPositionMs), in maybeClipMediaSource()
|
/external/exoplayer/tree/extensions/cast/src/test/java/com/google/android/exoplayer2/ext/cast/ |
D | CastPlayerTest.java | 266 long startPositionMs = 2000L; in setMediaItems_doNotReset_callsRemoteMediaClient() local 268 castPlayer.setMediaItems(mediaItems, startWindowIndex, startPositionMs); in setMediaItems_doNotReset_callsRemoteMediaClient()
|