/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | TimelineAsserts.java | 56 assertThat(timeline.getWindowCount()).isEqualTo(expectedWindowTags.length); in assertWindowTags() 57 for (int i = 0; i < timeline.getWindowCount(); i++) { in assertWindowTags() 68 for (int i = 0; i < timeline.getWindowCount(); i++) { in assertWindowIsDynamic() 83 for (int i = 0; i < timeline.getWindowCount(); i++) { in assertPreviousWindowIndices() 98 for (int i = 0; i < timeline.getWindowCount(); i++) { in assertNextWindowIndices() 123 int windowCount = timeline.getWindowCount(); in assertPeriodCounts()
|
D | FakeMediaSource.java | 125 return timeline == null || timeline == Timeline.EMPTY || timeline.getWindowCount() == 1 in getInitialTimeline() 132 return timeline == null || timeline == Timeline.EMPTY || timeline.getWindowCount() == 1; in isSingleWindow()
|
D | FakeTimeline.java | 256 public int getWindowCount() { in getWindowCount() method in FakeTimeline
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | Timeline.java | 651 public int getWindowCount() { 685 return getWindowCount() == 0; in isEmpty() 691 public abstract int getWindowCount(); in getWindowCount() method in Timeline 752 return isEmpty() ? C.INDEX_UNSET : getWindowCount() - 1; in getLastWindowIndex() 874 Assertions.checkIndex(windowIndex, 0, getWindowCount()); in getPeriodPosition() 954 if (other.getWindowCount() != getWindowCount() || other.getPeriodCount() != getPeriodCount()) { in equals() 961 for (int i = 0; i < getWindowCount(); i++) { in equals() 980 result = 31 * result + getWindowCount(); in hashCode() 981 for (int i = 0; i < getWindowCount(); i++) { in hashCode()
|
D | MediaSourceList.java | 126 + previousTimeline.getWindowCount()); in addMediaSources() 133 /* windowOffsetUpdate= */ newTimeline.getWindowCount()); in addMediaSources() 222 windowOffset += holder.mediaSource.getTimeline().getWindowCount(); in moveMediaSourceRange() 350 windowOffset += mediaSourceHolder.mediaSource.getTimeline().getWindowCount(); in createTimeline() 389 /* startIndex= */ index, /* windowOffsetUpdate= */ -oldTimeline.getWindowCount()); in removeMediaSourcesInternal() 522 windowCount += timelines[index].getWindowCount(); in PlaylistTimeline() 568 public int getWindowCount() { in getWindowCount() method in MediaSourceList.PlaylistTimeline
|
D | ExoPlayerImpl.java | 562 if (windowIndex < 0 || (!timeline.isEmpty() && windowIndex >= timeline.getWindowCount())) { in seekTo() 990 if (!timeline.isEmpty() && startWindowIndex >= timeline.getWindowCount()) { in setMediaSourcesInternal() 1007 if (timeline.isEmpty() || startWindowIndex >= timeline.getWindowCount()) { in setMediaSourcesInternal() 1058 && currentWindowIndex >= playbackInfo.timeline.getWindowCount(); in removeMediaItemsInternal() 1129 if (!maskingTimeline.isEmpty() && currentWindowIndex >= maskingTimeline.getWindowCount()) { in maskTimelineAndWindowIndex() 1180 } else if (windowIndex >= timeline.getWindowCount()) { in maskWindowIndexAndPositionForSeek()
|
D | Player.java | 440 if (timeline.getWindowCount() == 1) { in onTimelineChanged() 602 if (timeline.getWindowCount() == 1) { in onTimelineChanged()
|
D | PlayerMessage.java | 203 if (windowIndex < 0 || (!timeline.isEmpty() && windowIndex >= timeline.getWindowCount())) { in setPosition()
|
/external/exoplayer/tree/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/ |
D | TimelineQueueNavigator.java | 98 enableSkipTo = timeline.getWindowCount() > 1; in getSupportedQueueNavigatorActions() 124 || player.getCurrentTimeline().getWindowCount() > maxQueueSize) { in onCurrentWindowIndexChanged() 148 if (0 <= windowIndex && windowIndex < timeline.getWindowCount()) { in onSkipToQueueItem() 180 int queueSize = Math.min(maxQueueSize, timeline.getWindowCount()); in publishFloatingQueueWindow()
|
D | TimelineQueueEditor.java | 163 onAddQueueItem(player, description, player.getCurrentTimeline().getWindowCount()); in onAddQueueItem()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ |
D | ForwardingTimeline.java | 33 public int getWindowCount() { in getWindowCount() method in ForwardingTimeline 34 return timeline.getWindowCount(); in getWindowCount()
|
D | ConcatenatingMediaSource.java | 761 newIndex, previousHolder.firstWindowIndexInChild + previousTimeline.getWindowCount()); in addMediaSourceInternal() 766 correctOffsets(newIndex, /* childIndexUpdate= */ 1, newTimeline.getWindowCount()); in addMediaSourceInternal() 781 timeline.getWindowCount() in updateMediaSourceInternal() 795 correctOffsets(index, /* childIndexUpdate= */ -1, -oldTimeline.getWindowCount()); in removeMediaSourceInternal() 809 windowOffset += holder.mediaSource.getTimeline().getWindowCount(); in moveMediaSourceInternal() 929 windowCount += timelines[index].getWindowCount(); in ConcatenatedTimeline() 975 public int getWindowCount() { in getWindowCount() method in ConcatenatingMediaSource.ConcatenatedTimeline
|
D | LoopingMediaSource.java | 146 childWindowCount = childTimeline.getWindowCount(); in LoopingTimeline() 155 public int getWindowCount() { in getWindowCount() method in LoopingMediaSource.LoopingTimeline
|
D | SinglePeriodTimeline.java | 177 public int getWindowCount() { in getWindowCount() method in SinglePeriodTimeline
|
D | MaskingMediaSource.java | 358 public int getWindowCount() { in getWindowCount() method in MaskingMediaSource.DummyTimeline
|
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/ |
D | CastPlayer.java | 211 Assertions.checkArgument(newIndex >= 0 && newIndex < currentTimeline.getWindowCount()); in moveItem() 322 if (index < currentTimeline.getWindowCount()) { in addMediaItems() 333 && toIndex <= currentTimeline.getWindowCount() in moveMediaItems() 335 && newIndex < currentTimeline.getWindowCount()); in moveMediaItems() 336 newIndex = Math.min(newIndex, currentTimeline.getWindowCount() - (toIndex - fromIndex)); in moveMediaItems() 351 fromIndex >= 0 && toIndex >= fromIndex && toIndex <= currentTimeline.getWindowCount()); in removeMediaItems() 365 removeMediaItems(/* fromIndex= */ 0, /* toIndex= */ currentTimeline.getWindowCount()); in clearMediaItems() 825 if (insertBeforeIndex < currentTimeline.getWindowCount()) { in moveMediaItemsInternal()
|
D | CastTimeline.java | 119 public int getWindowCount() { in getWindowCount() method in CastTimeline
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/ |
D | ConcatenatingMediaSourceTest.java | 152 assertThat(timeline.getLastWindowIndex(false)).isEqualTo(timeline.getWindowCount() - 1); in playlistChangesAfterPreparation() 161 assertThat(timeline.getFirstWindowIndex(true)).isEqualTo(timeline.getWindowCount() - 1); in playlistChangesAfterPreparation() 521 assertThat(timeline.getWindowCount()).isEqualTo(1); in customCallbackAfterPreparationAddSingle() 541 assertThat(timeline.getWindowCount()).isEqualTo(2); in customCallbackAfterPreparationAddMultiple() 558 assertThat(timeline.getWindowCount()).isEqualTo(1); in customCallbackAfterPreparationAddSingleWithIndex() 579 assertThat(timeline.getWindowCount()).isEqualTo(2); in customCallbackAfterPreparationAddMultipleWithIndex() 598 assertThat(timeline.getWindowCount()).isEqualTo(0); in customCallbackAfterPreparationRemove() 622 assertThat(timeline.getWindowCount()).isEqualTo(2); in customCallbackAfterPreparationMove() 1078 for (int windowIndex = 0; windowIndex < timeline.getWindowCount(); windowIndex++) { in assertCompletedAllMediaPeriodLoads()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/ |
D | MediaSourceListTest.java | 66 /* fromIndex= */ 0, /* toIndex= */ timeline.getWindowCount(), shuffleOrder); in emptyMediaSourceList_expectConstantTimelineInstanceEMPTY() 124 assertThat(timeline.getWindowCount()).isEqualTo(2); in setMediaSources_mediaSourceListUnprepared_notUsingLazyPreparation() 141 assertThat(timeline.getWindowCount()).isEqualTo(2); in setMediaSources_mediaSourceListUnprepared_notUsingLazyPreparation() 474 /* windowIndex= */ timeline.getWindowCount() - 1, in assertTimelineUsesFakeShuffleOrder()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ads/ |
D | SinglePeriodAdTimeline.java | 40 Assertions.checkState(contentTimeline.getWindowCount() == 1); in SinglePeriodAdTimeline()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/ |
D | DefaultPlaybackSessionManager.java | 374 if (windowIndex >= oldTimeline.getWindowCount()) { in resolveWindowIndexToNewTimeline() 375 return windowIndex < newTimeline.getWindowCount() ? windowIndex : C.INDEX_UNSET; in resolveWindowIndexToNewTimeline()
|
D | AnalyticsCollector.java | 676 boolean windowIsInTimeline = windowIndex < timeline.getWindowCount(); in generateEventTime() 710 boolean windowIsInTimeline = windowIndex < timeline.getWindowCount();
|
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | PlayerControlView.java | 919 int lastWindowIndex = multiWindowTimeBar ? timeline.getWindowCount() - 1 : currentWindowIndex; in updateTimeline() 1045 int windowCount = timeline.getWindowCount(); in seekToTimeBarPosition() 1183 if (timeline.getWindowCount() > MAX_WINDOWS_FOR_MULTI_WINDOW_TIME_BAR) { in canShowMultiWindowTimeBar() 1186 int windowCount = timeline.getWindowCount(); in canShowMultiWindowTimeBar()
|
/external/exoplayer/tree/demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/ |
D | PlayerManager.java | 336 if (currentPlayer.getCurrentTimeline().getWindowCount() != mediaQueue.size()) { in setCurrentItem()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/ |
D | EventLogger.java | 164 int windowCount = eventTime.timeline.getWindowCount(); in onTimelineChanged()
|