/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/ |
D | ConcatenatingMediaSourceTest.java | 69 Timeline timeline = testRunner.prepareSource(); in playlistChangesAfterPreparation() local 70 TimelineAsserts.assertEmpty(timeline); in playlistChangesAfterPreparation() 76 timeline = testRunner.assertTimelineChangeBlocking(); in playlistChangesAfterPreparation() 77 TimelineAsserts.assertPeriodCounts(timeline, 1); in playlistChangesAfterPreparation() 78 TimelineAsserts.assertWindowTags(timeline, 111); in playlistChangesAfterPreparation() 82 timeline = testRunner.assertTimelineChangeBlocking(); in playlistChangesAfterPreparation() 83 TimelineAsserts.assertPeriodCounts(timeline, 2, 1); in playlistChangesAfterPreparation() 84 TimelineAsserts.assertWindowTags(timeline, 222, 111); in playlistChangesAfterPreparation() 88 timeline = testRunner.assertTimelineChangeBlocking(); in playlistChangesAfterPreparation() 89 TimelineAsserts.assertPeriodCounts(timeline, 2, 1, 3); in playlistChangesAfterPreparation() [all …]
|
D | LoopingMediaSourceTest.java | 51 Timeline timeline = getLoopingTimeline(multiWindowTimeline, 1); in singleLoopTimeline() local 52 TimelineAsserts.assertWindowTags(timeline, 111, 222, 333); in singleLoopTimeline() 53 TimelineAsserts.assertPeriodCounts(timeline, 1, 1, 1); in singleLoopTimeline() 56 timeline, Player.REPEAT_MODE_OFF, shuffled, C.INDEX_UNSET, 0, 1); in singleLoopTimeline() 58 timeline, Player.REPEAT_MODE_ONE, shuffled, 0, 1, 2); in singleLoopTimeline() 60 timeline, Player.REPEAT_MODE_ALL, shuffled, 2, 0, 1); in singleLoopTimeline() 62 timeline, Player.REPEAT_MODE_OFF, shuffled, 1, 2, C.INDEX_UNSET); in singleLoopTimeline() 63 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ONE, shuffled, 0, 1, 2); in singleLoopTimeline() 64 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ALL, shuffled, 1, 2, 0); in singleLoopTimeline() 70 Timeline timeline = getLoopingTimeline(multiWindowTimeline, 3); in multiLoopTimeline() local [all …]
|
D | SinglePeriodTimelineTest.java | 44 SinglePeriodTimeline timeline = in getPeriodPositionDynamicWindowUnknownDuration() local 48 Pair<Object, Long> position = timeline.getPeriodPosition(window, period, 0, C.TIME_UNSET, 1); in getPeriodPositionDynamicWindowUnknownDuration() 51 position = timeline.getPeriodPosition(window, period, 0, C.TIME_UNSET, 0); in getPeriodPositionDynamicWindowUnknownDuration() 52 assertThat(position.first).isEqualTo(timeline.getUidOfPeriod(0)); in getPeriodPositionDynamicWindowUnknownDuration() 59 SinglePeriodTimeline timeline = in getPeriodPositionDynamicWindowKnownDuration() local 72 timeline.getPeriodPosition(window, period, 0, C.TIME_UNSET, windowDurationUs + 1); in getPeriodPositionDynamicWindowKnownDuration() 75 position = timeline.getPeriodPosition(window, period, 0, C.TIME_UNSET, windowDurationUs); in getPeriodPositionDynamicWindowKnownDuration() 76 assertThat(position.first).isEqualTo(timeline.getUidOfPeriod(0)); in getPeriodPositionDynamicWindowKnownDuration() 79 position = timeline.getPeriodPosition(window, period, 0, C.TIME_UNSET, 0); in getPeriodPositionDynamicWindowKnownDuration() 80 assertThat(position.first).isEqualTo(timeline.getUidOfPeriod(0)); in getPeriodPositionDynamicWindowKnownDuration() [all …]
|
D | ClippingMediaSourceTest.java | 67 Timeline timeline = in noClipping() local 74 Timeline clippedTimeline = getClippedTimeline(timeline, 0, TEST_PERIOD_DURATION_US); in noClipping() 86 Timeline timeline = in clippingUnseekableWindowThrows() local 94 getClippedTimeline(timeline, 0, TEST_PERIOD_DURATION_US); in clippingUnseekableWindowThrows() 97 getClippedTimeline(timeline, 1, TEST_PERIOD_DURATION_US); in clippingUnseekableWindowThrows() 106 Timeline timeline = in clippingUnseekableWindowWithUnknownDurationThrows() local 114 getClippedTimeline(timeline, /* startUs= */ 0, TEST_PERIOD_DURATION_US); in clippingUnseekableWindowWithUnknownDurationThrows() 117 getClippedTimeline(timeline, /* startUs= */ 1, TEST_PERIOD_DURATION_US); in clippingUnseekableWindowWithUnknownDurationThrows() 126 Timeline timeline = in clippingStart() local 134 getClippedTimeline(timeline, TEST_CLIP_AMOUNT_US, TEST_PERIOD_DURATION_US); in clippingStart() [all …]
|
/external/igt-gpu-tools/tests/ |
D | sw_sync.c | 45 int timeline; member 53 int timeline; in test_alloc_timeline() local 55 timeline = sw_sync_timeline_create(); in test_alloc_timeline() 56 close(timeline); in test_alloc_timeline() 62 int timeline; in test_alloc_fence() local 64 timeline = sw_sync_timeline_create(); in test_alloc_fence() 65 in_fence = sw_sync_timeline_create_fence(timeline, 0); in test_alloc_fence() 68 close(timeline); in test_alloc_fence() 80 int timeline; in test_timeline_closed() local 82 timeline = sw_sync_timeline_create(); in test_timeline_closed() [all …]
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | TimelineAsserts.java | 38 public static void assertEmpty(Timeline timeline) { in assertEmpty() argument 39 assertWindowTags(timeline); in assertEmpty() 40 assertPeriodCounts(timeline); in assertEmpty() 42 assertThat(timeline.getFirstWindowIndex(shuffled)).isEqualTo(C.INDEX_UNSET); in assertEmpty() 43 assertThat(timeline.getLastWindowIndex(shuffled)).isEqualTo(C.INDEX_UNSET); in assertEmpty() 54 Timeline timeline, @NullableType Object... expectedWindowTags) { in assertWindowTags() argument 56 assertThat(timeline.getWindowCount()).isEqualTo(expectedWindowTags.length); in assertWindowTags() 57 for (int i = 0; i < timeline.getWindowCount(); i++) { in assertWindowTags() 58 timeline.getWindow(i, window); in assertWindowTags() 66 public static void assertWindowIsDynamic(Timeline timeline, boolean... windowIsDynamic) { in assertWindowIsDynamic() argument [all …]
|
D | FakeMediaSource.java | 57 public InitialTimeline(Timeline timeline) { in InitialTimeline() argument 58 super(timeline); in InitialTimeline() 63 Window childWindow = timeline.getWindow(windowIndex, window, defaultPositionProjectionUs); in getWindow() 77 private @MonotonicNonNull Timeline timeline; field in FakeMediaSource 89 public FakeMediaSource(@Nullable Timeline timeline, Format... formats) { in FakeMediaSource() argument 90 this(timeline, buildTrackGroupArray(formats)); in FakeMediaSource() 99 public FakeMediaSource(@Nullable Timeline timeline, TrackGroupArray trackGroupArray) { in FakeMediaSource() argument 100 if (timeline != null) { in FakeMediaSource() 101 this.timeline = timeline; in FakeMediaSource() 110 return timeline; in getTimeline() [all …]
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/analytics/ |
D | DefaultPlaybackSessionManagerTest.java | 62 Timeline timeline = new FakeTimeline(/* windowCount= */ 1); in updateSessions_withoutMediaPeriodId_createsNewSession() local 63 EventTime eventTime = createEventTime(timeline, /* windowIndex= */ 0, /* mediaPeriodId */ null); in updateSessions_withoutMediaPeriodId_createsNewSession() 74 Timeline timeline = new FakeTimeline(/* windowCount= */ 1); in updateSessions_withMediaPeriodId_createsNewSession() local 77 timeline.getUidOfPeriod(/* periodIndex= */ 0), /* windowSequenceNumber= */ 0); in updateSessions_withMediaPeriodId_createsNewSession() 78 EventTime eventTime = createEventTime(timeline, /* windowIndex= */ 0, mediaPeriodId); in updateSessions_withMediaPeriodId_createsNewSession() 86 assertThat(sessionManager.getSessionForMediaPeriodId(timeline, mediaPeriodId)) in updateSessions_withMediaPeriodId_createsNewSession() 93 Timeline timeline = new FakeTimeline(/* windowCount= */ 1); in updateSessions_ofSameWindow_withMediaPeriodId_afterWithoutMediaPeriodId_doesNotCreateNewSession() local 96 timeline.getUidOfPeriod(/* periodIndex= */ 0), /* windowSequenceNumber= */ 0); in updateSessions_ofSameWindow_withMediaPeriodId_afterWithoutMediaPeriodId_doesNotCreateNewSession() 98 createEventTime(timeline, /* windowIndex= */ 0, /* mediaPeriodId= */ null); in updateSessions_ofSameWindow_withMediaPeriodId_afterWithoutMediaPeriodId_doesNotCreateNewSession() 99 EventTime eventTime2 = createEventTime(timeline, /* windowIndex= */ 0, mediaPeriodId); in updateSessions_ofSameWindow_withMediaPeriodId_afterWithoutMediaPeriodId_doesNotCreateNewSession() [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | MediaPeriodQueue.java | 69 public boolean updateRepeatMode(Timeline timeline, @RepeatMode int repeatMode) { in updateRepeatMode() argument 71 return updateForPlaybackModeChange(timeline); in updateRepeatMode() 82 public boolean updateShuffleModeEnabled(Timeline timeline, boolean shuffleModeEnabled) { in updateShuffleModeEnabled() argument 84 return updateForPlaybackModeChange(timeline); in updateShuffleModeEnabled() 125 : getFollowingMediaPeriodInfo(playbackInfo.timeline, loading, rendererPositionUs); in getNextMediaPeriodInfo() 288 Timeline timeline, long rendererPositionUs, long maxRendererReadPositionUs) { in updateQueuedPeriods() argument 303 newPeriodInfo = getUpdatedMediaPeriodInfo(timeline, oldPeriodInfo); in updateQueuedPeriods() 306 getFollowingMediaPeriodInfo(timeline, previousPeriodHolder, rendererPositionUs); in updateQueuedPeriods() 353 public MediaPeriodInfo getUpdatedMediaPeriodInfo(Timeline timeline, MediaPeriodInfo info) { in getUpdatedMediaPeriodInfo() argument 356 boolean isLastInWindow = isLastInWindow(timeline, id); in getUpdatedMediaPeriodInfo() [all …]
|
D | BasePlayer.java | 145 Timeline timeline = getCurrentTimeline(); in getNextWindowIndex() local 146 return timeline.isEmpty() in getNextWindowIndex() 148 : timeline.getNextWindowIndex( in getNextWindowIndex() 154 Timeline timeline = getCurrentTimeline(); in getPreviousWindowIndex() local 155 return timeline.isEmpty() in getPreviousWindowIndex() 157 : timeline.getPreviousWindowIndex( in getPreviousWindowIndex() 164 Timeline timeline = getCurrentTimeline(); in getCurrentTag() local 165 return timeline.isEmpty() ? null : timeline.getWindow(getCurrentWindowIndex(), window).tag; in getCurrentTag() 171 Timeline timeline = getCurrentTimeline(); in getCurrentManifest() local 172 return timeline.isEmpty() ? null : timeline.getWindow(getCurrentWindowIndex(), window).manifest; in getCurrentManifest() [all …]
|
D | PlaybackInfo.java | 38 public final Timeline timeline; field in PlaybackInfo 125 Timeline timeline, in PlaybackInfo() argument 139 this.timeline = timeline; in PlaybackInfo() 182 timeline, in copyWithNewPosition() 205 public PlaybackInfo copyWithTimeline(Timeline timeline) { in copyWithTimeline() argument 207 timeline, in copyWithTimeline() 232 timeline, in copyWithPlaybackState() 257 timeline, in copyWithPlaybackError() 282 timeline, in copyWithIsLoading() 307 timeline, in copyWithLoadingMediaPeriodId() [all …]
|
D | ExoPlayerImpl.java | 294 /* playbackState= */ this.playbackInfo.timeline.isEmpty() in prepare() 561 Timeline timeline = playbackInfo.timeline; in seekTo() local 562 if (windowIndex < 0 || (!timeline.isEmpty() && windowIndex >= timeline.getWindowCount())) { in seekTo() 563 throw new IllegalSeekPositionException(timeline, windowIndex, positionMs); in seekTo() 580 maskWindowIndexAndPositionForSeek(timeline, windowIndex, positionMs); in seekTo() 585 internalPlayer.seekTo(timeline, windowIndex, C.msToUs(positionMs)); in seekTo() 706 playbackInfo.timeline, in createMessage() 716 return playbackInfo.timeline.getIndexOfPeriod(playbackInfo.periodId.periodUid); in getCurrentPeriodIndex() 730 playbackInfo.timeline.getPeriodByUid(periodId.periodUid, period); in getDuration() 781 playbackInfo.timeline.getPeriodByUid(playbackInfo.periodId.periodUid, period); in getContentPosition() [all …]
|
D | ExoPlayerImplInternal.java | 224 public void seekTo(Timeline timeline, int windowIndex, long positionUs) { in seekTo() argument 226 .obtainMessage(MSG_SEEK_TO, new SeekPosition(timeline, windowIndex, positionUs)) in seekTo() 584 setState(playbackInfo.timeline.isEmpty() ? Player.STATE_ENDED : Player.STATE_BUFFERING); in prepareInternal() 601 Timeline timeline = in setMediaItemsInternal() local 605 handleMediaSourceListInfoRefreshed(timeline); in setMediaItemsInternal() 611 Timeline timeline = in addMediaItemsInternal() local 616 handleMediaSourceListInfoRefreshed(timeline); in addMediaItemsInternal() 622 Timeline timeline = in moveMediaItemsInternal() local 628 handleMediaSourceListInfoRefreshed(timeline); in moveMediaItemsInternal() 634 Timeline timeline = mediaSourceList.removeMediaSourceRange(fromIndex, toIndex, shuffleOrder); in removeMediaItemsInternal() local [all …]
|
/external/linux-kselftest/tools/testing/selftests/sync/ |
D | sync_alloc.c | 34 int timeline, valid; in test_alloc_timeline() local 36 timeline = sw_sync_timeline_create(); in test_alloc_timeline() 37 valid = sw_sync_timeline_is_valid(timeline); in test_alloc_timeline() 40 sw_sync_timeline_destroy(timeline); in test_alloc_timeline() 46 int timeline, fence, valid; in test_alloc_fence() local 48 timeline = sw_sync_timeline_create(); in test_alloc_fence() 49 valid = sw_sync_timeline_is_valid(timeline); in test_alloc_fence() 52 fence = sw_sync_fence_create(timeline, "allocFence", 1); in test_alloc_fence() 57 sw_sync_timeline_destroy(timeline); in test_alloc_fence() 63 int fence, timeline; in test_alloc_fence_negative() local [all …]
|
D | sync_fence.c | 35 int timeline = sw_sync_timeline_create(); in test_fence_one_timeline_wait() local 37 valid = sw_sync_timeline_is_valid(timeline); in test_fence_one_timeline_wait() 40 fence = sw_sync_fence_create(timeline, "allocFence", 5); in test_fence_one_timeline_wait() 49 ret = sw_sync_timeline_inc(timeline, 1); in test_fence_one_timeline_wait() 57 ret = sw_sync_timeline_inc(timeline, 4); in test_fence_one_timeline_wait() 65 ret = sw_sync_timeline_inc(timeline, 10); in test_fence_one_timeline_wait() 71 sw_sync_timeline_destroy(timeline); in test_fence_one_timeline_wait() 79 int timeline = sw_sync_timeline_create(); in test_fence_one_timeline_merge() local 82 a = sw_sync_fence_create(timeline, "allocFence", 1); in test_fence_one_timeline_merge() 83 b = sw_sync_fence_create(timeline, "allocFence", 2); in test_fence_one_timeline_merge() [all …]
|
D | sync_stress_parallelism.c | 36 int timeline; member 43 int timeline = test_data_two_threads.timeline; in test_stress_two_threads_shared_timeline_thread() local 48 fence = sw_sync_fence_create(timeline, "fence", in test_stress_two_threads_shared_timeline_thread() 66 ret = sw_sync_timeline_inc(timeline, 1); in test_stress_two_threads_shared_timeline_thread() 79 int timeline = sw_sync_timeline_create(); in test_stress_two_threads_shared_timeline() local 81 valid = sw_sync_timeline_is_valid(timeline); in test_stress_two_threads_shared_timeline() 86 test_data_two_threads.timeline = timeline; in test_stress_two_threads_shared_timeline() 108 sw_sync_timeline_destroy(timeline); in test_stress_two_threads_shared_timeline()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ |
D | ForwardingTimeline.java | 26 protected final Timeline timeline; field in ForwardingTimeline 28 public ForwardingTimeline(Timeline timeline) { in ForwardingTimeline() argument 29 this.timeline = timeline; in ForwardingTimeline() 34 return timeline.getWindowCount(); in getWindowCount() 40 return timeline.getNextWindowIndex(windowIndex, repeatMode, shuffleModeEnabled); in getNextWindowIndex() 46 return timeline.getPreviousWindowIndex(windowIndex, repeatMode, shuffleModeEnabled); in getPreviousWindowIndex() 51 return timeline.getLastWindowIndex(shuffleModeEnabled); in getLastWindowIndex() 56 return timeline.getFirstWindowIndex(shuffleModeEnabled); in getFirstWindowIndex() 61 return timeline.getWindow(windowIndex, window, defaultPositionProjectionUs); in getWindow() 66 return timeline.getPeriodCount(); in getPeriodCount() [all …]
|
D | MaskingMediaSource.java | 42 private MaskingTimeline timeline; field in MaskingMediaSource 64 timeline = in MaskingMediaSource() 69 timeline = MaskingTimeline.createWithDummyTimeline(mediaSource.getTag()); in MaskingMediaSource() 75 return timeline; in getTimeline() 146 timeline = timeline.cloneWithUpdatedTimeline(newTimeline); in onChildSourceInfoRefreshed() 153 timeline = in onChildSourceInfoRefreshed() 155 ? timeline.cloneWithUpdatedTimeline(newTimeline) in onChildSourceInfoRefreshed() 185 timeline = in onChildSourceInfoRefreshed() 187 ? timeline.cloneWithUpdatedTimeline(newTimeline) in onChildSourceInfoRefreshed() 198 refreshSourceInfo(this.timeline); in onChildSourceInfoRefreshed() [all …]
|
D | BaseMediaSource.java | 43 @Nullable private Timeline timeline; field in BaseMediaSource 80 protected final void refreshSourceInfo(Timeline timeline) { in refreshSourceInfo() argument 81 this.timeline = timeline; in refreshSourceInfo() 83 caller.onSourceInfoRefreshed(/* source= */ this, timeline); in refreshSourceInfo() 182 @Nullable Timeline timeline = this.timeline; in prepareSource() local 188 } else if (timeline != null) { in prepareSource() 190 caller.onSourceInfoRefreshed(/* source= */ this, timeline); in prepareSource() 218 timeline = null; in releaseSource()
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/ |
D | timeline.js | 20 scope.timeline._updateAnimationsPromises(); 22 scope.timeline._updateAnimationsPromises(); 79 var timeline = scope.timeline; 80 timeline.currentTime = t; 81 timeline._discardAnimations(); 82 if (timeline._animations.length == 0) 88 var timeline = new scope.AnimationTimeline(); 89 scope.timeline = timeline; 94 get: function() { return timeline; } 98 window.document.timeline = timeline;
|
D | tick.js | 40 if (t < timeline.currentTime) 41 t = timeline.currentTime; 42 timeline._animations.sort(compareAnimations); 43 timeline._animations = tick(t, true, timeline._animations)[0]; 75 var now = function() { return timeline.currentTime; }; 107 var inactiveAnimations = tick(scope.timeline.currentTime, false, animations.slice())[1]; 109 var index = timeline._animations.indexOf(animation); 111 timeline._animations.splice(index, 1); 129 var timeline = scope.timeline; 131 timeline.currentTime = t; [all …]
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/ |
D | TimelineTest.java | 38 Timeline timeline = new FakeTimeline(new TimelineWindowDefinition(1, 111)); in singlePeriodTimeline() local 39 TimelineAsserts.assertWindowTags(timeline, 111); in singlePeriodTimeline() 40 TimelineAsserts.assertPeriodCounts(timeline, 1); in singlePeriodTimeline() 42 timeline, Player.REPEAT_MODE_OFF, false, C.INDEX_UNSET); in singlePeriodTimeline() 43 TimelineAsserts.assertPreviousWindowIndices(timeline, Player.REPEAT_MODE_ONE, false, 0); in singlePeriodTimeline() 44 TimelineAsserts.assertPreviousWindowIndices(timeline, Player.REPEAT_MODE_ALL, false, 0); in singlePeriodTimeline() 45 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_OFF, false, C.INDEX_UNSET); in singlePeriodTimeline() 46 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ONE, false, 0); in singlePeriodTimeline() 47 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ALL, false, 0); in singlePeriodTimeline() 52 Timeline timeline = new FakeTimeline(new TimelineWindowDefinition(5, 111)); in multiPeriodTimeline() local [all …]
|
D | MediaSourceListTest.java | 60 Timeline timeline = mediaSourceList.setMediaSources(fakeHolders, shuffleOrder); in emptyMediaSourceList_expectConstantTimelineInstanceEMPTY() local 61 assertNotSame(timeline, Timeline.EMPTY); in emptyMediaSourceList_expectConstantTimelineInstanceEMPTY() 64 timeline = in emptyMediaSourceList_expectConstantTimelineInstanceEMPTY() 66 /* fromIndex= */ 0, /* toIndex= */ timeline.getWindowCount(), shuffleOrder); in emptyMediaSourceList_expectConstantTimelineInstanceEMPTY() 67 assertSame(timeline, Timeline.EMPTY); in emptyMediaSourceList_expectConstantTimelineInstanceEMPTY() 69 timeline = mediaSourceList.setMediaSources(fakeHolders, shuffleOrder); in emptyMediaSourceList_expectConstantTimelineInstanceEMPTY() 70 assertNotSame(timeline, Timeline.EMPTY); in emptyMediaSourceList_expectConstantTimelineInstanceEMPTY() 72 timeline = mediaSourceList.clear(shuffleOrder); in emptyMediaSourceList_expectConstantTimelineInstanceEMPTY() 73 assertSame(timeline, Timeline.EMPTY); in emptyMediaSourceList_expectConstantTimelineInstanceEMPTY() 122 Timeline timeline = mediaSourceList.setMediaSources(mediaSources, shuffleOrder); in setMediaSources_mediaSourceListUnprepared_notUsingLazyPreparation() local [all …]
|
/external/exoplayer/tree/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/ |
D | TimelineQueueNavigator.java | 95 Timeline timeline = player.getCurrentTimeline(); in getSupportedQueueNavigatorActions() local 96 if (!timeline.isEmpty() && !player.isPlayingAd()) { in getSupportedQueueNavigatorActions() 97 timeline.getWindow(player.getCurrentWindowIndex(), window); in getSupportedQueueNavigatorActions() 98 enableSkipTo = timeline.getWindowCount() > 1; in getSupportedQueueNavigatorActions() 143 Timeline timeline = player.getCurrentTimeline(); in onSkipToQueueItem() local 144 if (timeline.isEmpty() || player.isPlayingAd()) { in onSkipToQueueItem() 148 if (0 <= windowIndex && windowIndex < timeline.getWindowCount()) { in onSkipToQueueItem() 173 Timeline timeline = player.getCurrentTimeline(); in publishFloatingQueueWindow() local 174 if (timeline.isEmpty()) { in publishFloatingQueueWindow() 180 int queueSize = Math.min(maxQueueSize, timeline.getWindowCount()); in publishFloatingQueueWindow() [all …]
|
/external/tensorflow/tensorflow/python/client/ |
D | timeline_test.py | 25 from tensorflow.python.client import timeline 56 tl = timeline.Timeline(run_metadata.step_stats) 75 tl = timeline.Timeline(step_stats) 78 tl = timeline.Timeline(step_stats) 81 tl = timeline.Timeline(step_stats) 84 tl = timeline.Timeline(step_stats) 111 tl = timeline.Timeline(step_stats) 114 tl = timeline.Timeline(step_stats) 117 tl = timeline.Timeline(step_stats) 120 tl = timeline.Timeline(step_stats) [all …]
|