Home
last modified time | relevance | path

Searched refs:Timeline (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/
DTimelineTest.java33 TimelineAsserts.assertEmpty(Timeline.EMPTY); in emptyTimeline()
38 Timeline timeline = new FakeTimeline(new TimelineWindowDefinition(1, 111)); in singlePeriodTimeline()
52 Timeline timeline = new FakeTimeline(new TimelineWindowDefinition(5, 111)); in multiPeriodTimeline()
66 Timeline.Window window = new Timeline.Window(); in windowEquals()
67 assertThat(window).isEqualTo(new Timeline.Window()); in windowEquals()
69 Timeline.Window otherWindow = new Timeline.Window(); in windowEquals()
73 otherWindow = new Timeline.Window(); in windowEquals()
77 otherWindow = new Timeline.Window(); in windowEquals()
81 otherWindow = new Timeline.Window(); in windowEquals()
85 otherWindow = new Timeline.Window(); in windowEquals()
[all …]
DExoPlayerTest.java37 import com.google.android.exoplayer2.Timeline.Window;
118 private Timeline dummyTimeline;
132 Timeline timeline = Timeline.EMPTY; in playEmptyTimeline()
133 Timeline expectedMaskingTimeline = new MaskingMediaSource.DummyTimeline(/* tag= */ null); in playEmptyTimeline()
143 testRunner.assertTimelinesSame(expectedMaskingTimeline, Timeline.EMPTY); in playEmptyTimeline()
156 Timeline timeline = new FakeTimeline(/* windowCount= */ 1, manifest); in playSinglePeriodTimeline()
181 Timeline timeline = new FakeTimeline(/* windowCount= */ 3); in playMultiPeriodTimeline()
210 Timeline timeline = in playShortDurationPeriods()
260 Timeline timeline = new FakeTimeline(windowDefinition0, windowDefinition1, windowDefinition2); in readAheadToEndDoesNotResetRenderer()
310 Timeline firstTimeline = in resettingMediaSourcesGivesFreshSourceInfo()
[all …]
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/
DTimeline.java46 public final class Timeline extends BaseTween<Timeline> { class
51 private static final Pool.Callback<Timeline> poolCallback = new Pool.Callback<Timeline>() {
52 @Override public void onPool(Timeline obj) {obj.reset();}
53 @Override public void onUnPool(Timeline obj) {obj.reset();}
56 static final Pool<Timeline> pool = new Pool<Timeline>(10, poolCallback) {
57 @Override protected Timeline create() {return new Timeline();}
83 public static Timeline createSequence() { in createSequence()
84 Timeline tl = pool.get(); in createSequence()
93 public static Timeline createParallel() { in createParallel()
94 Timeline tl = pool.get(); in createParallel()
[all …]
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/
DClippingMediaSourceTest.java25 import com.google.android.exoplayer2.Timeline;
26 import com.google.android.exoplayer2.Timeline.Period;
27 import com.google.android.exoplayer2.Timeline.Window;
61 window = new Timeline.Window(); in setUp()
62 period = new Timeline.Period(); in setUp()
67 Timeline timeline = in noClipping()
74 Timeline clippedTimeline = getClippedTimeline(timeline, 0, TEST_PERIOD_DURATION_US); in noClipping()
86 Timeline timeline = in clippingUnseekableWindowThrows()
106 Timeline timeline = in clippingUnseekableWindowWithUnknownDurationThrows()
126 Timeline timeline = in clippingStart()
[all …]
DLoopingMediaSourceTest.java21 import com.google.android.exoplayer2.Timeline;
51 Timeline timeline = getLoopingTimeline(multiWindowTimeline, 1); in singleLoopTimeline()
70 Timeline timeline = getLoopingTimeline(multiWindowTimeline, 3); in multiLoopTimeline()
91 Timeline timeline = getLoopingTimeline(multiWindowTimeline, Integer.MAX_VALUE); in infiniteLoopTimeline()
109 Timeline timeline = getLoopingTimeline(Timeline.EMPTY, 1); in emptyTimelineLoop()
112 timeline = getLoopingTimeline(Timeline.EMPTY, 3); in emptyTimelineLoop()
115 timeline = getLoopingTimeline(Timeline.EMPTY, Integer.MAX_VALUE); in emptyTimelineLoop()
137 private static Timeline getLoopingTimeline(Timeline timeline, int loopCount) throws IOException { in getLoopingTimeline()
142 Timeline loopingTimeline = testRunner.prepareSource(); in getLoopingTimeline()
155 private static void testMediaPeriodCreation(Timeline timeline, int loopCount) throws Exception { in testMediaPeriodCreation()
DConcatenatingMediaSourceTest.java25 import com.google.android.exoplayer2.Timeline;
69 Timeline timeline = testRunner.prepareSource(); in playlistChangesAfterPreparation()
201 Timeline timeline = testRunner.prepareSource(); in playlistChangesBeforePreparation()
242 Timeline timeline = testRunner.prepareSource(); in playlistWithLazyMediaSource()
305 Timeline timeline = testRunner.prepareSource(); in emptyTimelineMediaSource()
308 mediaSource.addMediaSource(new FakeMediaSource(Timeline.EMPTY)); in emptyTimelineMediaSource()
315 new FakeMediaSource(Timeline.EMPTY), new FakeMediaSource(Timeline.EMPTY), in emptyTimelineMediaSource()
316 new FakeMediaSource(Timeline.EMPTY), new FakeMediaSource(Timeline.EMPTY), in emptyTimelineMediaSource()
317 new FakeMediaSource(Timeline.EMPTY), new FakeMediaSource(Timeline.EMPTY) in emptyTimelineMediaSource()
363 new FakeMediaSource(Timeline.EMPTY), in dynamicChangeOfEmptyTimelines()
[all …]
/external/tensorflow/tensorflow/python/client/
Dtimeline_test.py56 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)
138 tl = timeline.Timeline(step_stats)
[all …]
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DTimelineAsserts.java22 import com.google.android.exoplayer2.Timeline;
23 import com.google.android.exoplayer2.Timeline.Period;
24 import com.google.android.exoplayer2.Timeline.Window;
38 public static void assertEmpty(Timeline timeline) { in assertEmpty()
54 Timeline timeline, @NullableType Object... expectedWindowTags) { in assertWindowTags()
66 public static void assertWindowIsDynamic(Timeline timeline, boolean... windowIsDynamic) { in assertWindowIsDynamic()
79 Timeline timeline, in assertPreviousWindowIndices()
94 Timeline timeline, in assertNextWindowIndices()
108 public static void assertPeriodDurations(Timeline timeline, long... durationsUs) { in assertPeriodDurations()
122 public static void assertPeriodCounts(Timeline timeline, int... expectedPeriodCounts) { in assertPeriodCounts()
[all …]
DFakeMediaSource.java26 import com.google.android.exoplayer2.Timeline;
27 import com.google.android.exoplayer2.Timeline.Period;
57 public InitialTimeline(Timeline timeline) { in InitialTimeline()
77 private @MonotonicNonNull Timeline timeline;
89 public FakeMediaSource(@Nullable Timeline timeline, Format... formats) { in FakeMediaSource()
99 public FakeMediaSource(@Nullable Timeline timeline, TrackGroupArray trackGroupArray) { in FakeMediaSource()
109 protected Timeline getTimeline() { in getTimeline()
119 return timeline.getWindow(0, new Timeline.Window()).tag; in getTag()
124 public Timeline getInitialTimeline() { in getInitialTimeline()
125 return timeline == null || timeline == Timeline.EMPTY || timeline.getWindowCount() == 1 in getInitialTimeline()
[all …]
DMediaSourceTestRunner.java27 import com.google.android.exoplayer2.Timeline;
60 private final LinkedBlockingDeque<Timeline> timelines;
65 private Timeline timeline;
119 public Timeline prepareSource() throws IOException { in prepareSource()
226 public Timeline assertTimelineChange() { in assertTimelineChange()
238 public Timeline assertTimelineChangeBlocking() { in assertTimelineChangeBlocking()
257 Timeline.Period period = new Timeline.Period(); in assertPrepareAndReleaseAllPeriods()
326 Timeline.Period period = new Timeline.Period(); in assertCompletedMediaPeriodLoads()
351 public void onSourceInfoRefreshed(MediaSource source, Timeline timeline) { in onSourceInfoRefreshed()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DBasePlayer.java26 protected final Timeline.Window window;
29 window = new Timeline.Window(); in BasePlayer()
145 Timeline timeline = getCurrentTimeline(); in getNextWindowIndex()
154 Timeline timeline = getCurrentTimeline(); in getPreviousWindowIndex()
164 Timeline timeline = getCurrentTimeline(); in getCurrentTag()
171 Timeline timeline = getCurrentTimeline(); in getCurrentManifest()
186 Timeline timeline = getCurrentTimeline(); in isCurrentWindowDynamic()
192 Timeline timeline = getCurrentTimeline(); in isCurrentWindowLive()
198 Timeline timeline = getCurrentTimeline(); in getCurrentLiveOffset()
211 Timeline timeline = getCurrentTimeline(); in isCurrentWindowSeekable()
[all …]
DMediaPeriodQueue.java42 private final Timeline.Period period;
43 private final Timeline.Window window;
57 period = new Timeline.Period(); in MediaPeriodQueue()
58 window = new Timeline.Window(); in MediaPeriodQueue()
69 public boolean updateRepeatMode(Timeline timeline, @RepeatMode int repeatMode) { in updateRepeatMode()
82 public boolean updateShuffleModeEnabled(Timeline timeline, boolean shuffleModeEnabled) { in updateShuffleModeEnabled()
288 Timeline timeline, long rendererPositionUs, long maxRendererReadPositionUs) { in updateQueuedPeriods()
353 public MediaPeriodInfo getUpdatedMediaPeriodInfo(Timeline timeline, MediaPeriodInfo info) { in getUpdatedMediaPeriodInfo()
387 Timeline timeline, Object periodUid, long positionUs) { in resolveMediaPeriodIdForAds()
409 Timeline timeline, in resolveMediaPeriodIdForAds()
[all …]
DTimeline.java107 public abstract class Timeline { class
647 public static final Timeline EMPTY =
648 new Timeline() {
950 if (!(obj instanceof Timeline)) { in equals()
953 Timeline other = (Timeline) obj; in equals()
957 Timeline.Window window = new Timeline.Window(); in equals()
958 Timeline.Period period = new Timeline.Period(); in equals()
959 Timeline.Window otherWindow = new Timeline.Window(); in equals()
960 Timeline.Period otherPeriod = new Timeline.Period(); in equals()
DPlayer.java438 default void onTimelineChanged(Timeline timeline, @TimelineChangeReason int reason) { in onTimelineChanged()
442 Timeline.Window window = new Timeline.Window(); in onTimelineChanged()
467 Timeline timeline, @Nullable Object manifest, @TimelineChangeReason int reason) {} in onTimelineChanged()
600 public void onTimelineChanged(Timeline timeline, @TimelineChangeReason int reason) { in onTimelineChanged()
604 Timeline.Window window = new Timeline.Window(); in onTimelineChanged()
614 Timeline timeline, @Nullable Object manifest, @TimelineChangeReason int reason) { in onTimelineChanged()
621 public void onTimelineChanged(Timeline timeline, @Nullable Object manifest) { in onTimelineChanged()
1207 Timeline getCurrentTimeline(); in getCurrentTimeline()
DMediaSourceList.java100 public final Timeline setMediaSources( in setMediaSources()
115 public final Timeline addMediaSources( in addMediaSources()
123 Timeline previousTimeline = previousHolder.mediaSource.getTimeline(); in addMediaSources()
130 Timeline newTimeline = holder.mediaSource.getTimeline(); in addMediaSources()
165 public final Timeline removeMediaSourceRange( in removeMediaSourceRange()
185 public final Timeline moveMediaSource(int currentIndex, int newIndex, ShuffleOrder shuffleOrder) { in moveMediaSource()
206 public Timeline moveMediaSourceRange( in moveMediaSourceRange()
228 public final Timeline clear(@Nullable ShuffleOrder shuffleOrder) { in clear()
260 public final Timeline setShuffleOrder(ShuffleOrder shuffleOrder) { in setShuffleOrder()
342 public final Timeline createTimeline() { in createTimeline()
[all …]
/external/llvm-project/llvm/tools/llvm-mca/Views/
DTimelineView.cpp29 Timeline.resize(NumInstructions); in TimelineView()
31 std::fill(Timeline.begin(), Timeline.end(), InvalidTVEntry); in TimelineView()
61 if (Index >= Timeline.size()) in onEvent()
66 TimelineViewEntry &TVEntry = Timeline[Index]; in onEvent()
85 Timeline[Index].CycleReady = CurrentCycle; in onEvent()
88 Timeline[Index].CycleIssued = CurrentCycle; in onEvent()
91 Timeline[Index].CycleExecuted = CurrentCycle; in onEvent()
97 if (Timeline[Index].CycleDispatched == -1) in onEvent()
98 Timeline[Index].CycleDispatched = static_cast<int>(CurrentCycle); in onEvent()
137 unsigned CumulativeExecutions = PrintingTotals ? Timeline.size() : Executions; in printWaitTimeEntry()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DMaskingMediaSource.java22 import com.google.android.exoplayer2.Timeline;
23 import com.google.android.exoplayer2.Timeline.Window;
39 private final Timeline.Window window;
40 private final Timeline.Period period;
60 window = new Timeline.Window(); in MaskingMediaSource()
61 period = new Timeline.Period(); in MaskingMediaSource()
62 @Nullable Timeline initialTimeline = mediaSource.getInitialTimeline(); in MaskingMediaSource()
74 public synchronized Timeline getTimeline() { in getTimeline()
143 Void id, MediaSource mediaSource, Timeline newTimeline) { in onChildSourceInfoRefreshed()
287 Timeline timeline, @Nullable Object firstWindowUid, @Nullable Object firstPeriodUid) { in createWithRealTimeline()
[all …]
DLoopingMediaSource.java23 import com.google.android.exoplayer2.Timeline;
76 public Timeline getInitialTimeline() { in getInitialTimeline()
118 protected void onChildSourceInfoRefreshed(Void id, MediaSource mediaSource, Timeline timeline) { in onChildSourceInfoRefreshed()
119 Timeline loopingTimeline = in onChildSourceInfoRefreshed()
137 private final Timeline childTimeline;
142 public LoopingTimeline(Timeline childTimeline, int loopCount) { in LoopingTimeline()
183 protected Timeline getTimelineByChildIndex(int childIndex) { in getTimelineByChildIndex()
206 public InfinitelyLoopingTimeline(Timeline timeline) { in InfinitelyLoopingTimeline()
DForwardingTimeline.java19 import com.google.android.exoplayer2.Timeline;
24 public abstract class ForwardingTimeline extends Timeline {
26 protected final Timeline timeline;
28 public ForwardingTimeline(Timeline timeline) { in ForwardingTimeline()
DMergingMediaSource.java20 import com.google.android.exoplayer2.Timeline;
71 private final Timeline[] timelines;
120 timelines = new Timeline[mediaSources.length]; in MergingMediaSource()
181 Integer id, MediaSource mediaSource, Timeline timeline) { in onChildSourceInfoRefreshed()
212 Timeline.Period period = new Timeline.Period(); in computePeriodTimeOffsets()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/analytics/
DDefaultPlaybackSessionManagerTest.java32 import com.google.android.exoplayer2.Timeline;
62 Timeline timeline = new FakeTimeline(/* windowCount= */ 1); in updateSessions_withoutMediaPeriodId_createsNewSession()
74 Timeline timeline = new FakeTimeline(/* windowCount= */ 1); in updateSessions_withMediaPeriodId_createsNewSession()
93 Timeline timeline = new FakeTimeline(/* windowCount= */ 1); in updateSessions_ofSameWindow_withMediaPeriodId_afterWithoutMediaPeriodId_doesNotCreateNewSession()
114 Timeline timeline = new FakeTimeline(/* windowCount= */ 1); in updateSessions_ofSameWindow_withAd_afterWithoutMediaPeriodId_createsNewSession()
142 Timeline timeline = new FakeTimeline(/* windowCount= */ 1); in updateSessions_ofSameWindow_withoutMediaPeriodId_afterMediaPeriodId_doesNotCreateNewSession()
163 Timeline timeline = new FakeTimeline(/* windowCount= */ 1); in updateSessions_ofSameWindow_withoutMediaPeriodId_afterAd_doesNotCreateNewSession()
187 Timeline timeline = in updateSessions_withOtherMediaPeriodId_ofSameWindow_doesNotCreateNewSession()
213 Timeline timeline = in updateSessions_withAd_ofSameWindow_createsNewSession()
245 Timeline timeline = new FakeTimeline(/* windowCount= */ 2); in updateSessions_ofOtherWindow_createsNewSession()
[all …]
DPlaybackStatsListenerTest.java30 import com.google.android.exoplayer2.Timeline;
43 Timeline.EMPTY,
49 private static final Timeline TEST_TIMELINE = new FakeTimeline(/* windowCount= */ 1);
57 /* periodIndex= */ 0, new Timeline.Period(), /* setIds= */ true)
150 Timeline.EMPTY, in finishAllSessions_callsAllPendingCallbacks()
159 Timeline.EMPTY, in finishAllSessions_callsAllPendingCallbacks()
/external/exoplayer/tree/extensions/ima/src/test/java/com/google/android/exoplayer2/ext/ima/
DFakePlayer.java21 import com.google.android.exoplayer2.Timeline;
30 private final Timeline.Period period;
31 private final Timeline timeline;
43 period = new Timeline.Period(); in FakePlayer()
46 timeline = Timeline.EMPTY; in FakePlayer()
50 public void updateTimeline(Timeline timeline, @TimelineChangeReason int reason) { in updateTimeline()
159 public Timeline getCurrentTimeline() { in getCurrentTimeline()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/
DDefaultPlaybackSessionManager.java23 import com.google.android.exoplayer2.Timeline;
49 private final Timeline.Window window;
50 private final Timeline.Period period;
55 private Timeline currentTimeline;
73 window = new Timeline.Window(); in DefaultPlaybackSessionManager()
74 period = new Timeline.Period(); in DefaultPlaybackSessionManager()
76 currentTimeline = Timeline.EMPTY; in DefaultPlaybackSessionManager()
86 Timeline timeline, MediaPeriodId mediaPeriodId) { in getSessionForMediaPeriodId()
136 Timeline previousTimeline = currentTimeline;
289 public boolean tryResolvingToNewTimeline(Timeline oldTimeline, Timeline newTimeline) {
[all …]
/external/toolchain-utils/cros_utils/
Dtimeline_test.py23 tl = timeline.Timeline()
31 tl = timeline.Timeline()
40 tl = timeline.Timeline()
48 tl = timeline.Timeline()

12345678910>>...12