Searched refs:defaultPositionUs (Results 1 – 6 of 6) sorted by relevance
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/ |
D | CastTimeline.java | 41 public final long defaultPositionUs; field in CastTimeline.ItemData 59 public ItemData(long durationUs, long defaultPositionUs, boolean isLive) { in ItemData() argument 61 this.defaultPositionUs = defaultPositionUs; in ItemData() 73 public ItemData copyWithNewValues(long durationUs, long defaultPositionUs, boolean isLive) { in copyWithNewValues() argument 75 && defaultPositionUs == this.defaultPositionUs in copyWithNewValues() 79 return new ItemData(durationUs, defaultPositionUs, isLive); in copyWithNewValues() 111 defaultPositionsUs[i] = data.defaultPositionUs == C.TIME_UNSET ? 0 : data.defaultPositionUs; in CastTimeline()
|
D | CastTimelineTracker.java | 70 long defaultPositionUs = (long) (item.getStartTime() * C.MICROS_PER_SECOND); in getCastTimeline() local 71 updateItemData(item.getItemId(), item.getMedia(), defaultPositionUs); in getCastTimeline() local 77 private void updateItemData(int itemId, @Nullable MediaInfo mediaInfo, long defaultPositionUs) { in updateItemData() argument 87 if (defaultPositionUs == C.TIME_UNSET) { in updateItemData() 88 defaultPositionUs = previousData.defaultPositionUs; in updateItemData() 90 itemIdToData.put(itemId, previousData.copyWithNewValues(durationUs, defaultPositionUs, isLive)); in updateItemData()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ |
D | ClippingMediaSource.java | 349 if (window.defaultPositionUs != C.TIME_UNSET) { in getWindow() 350 window.defaultPositionUs = Math.max(window.defaultPositionUs, startUs); in getWindow() 351 window.defaultPositionUs = endUs == C.TIME_UNSET ? window.defaultPositionUs in getWindow() 352 : Math.min(window.defaultPositionUs, endUs); in getWindow() 353 window.defaultPositionUs -= startUs; in getWindow()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | Timeline.java | 199 public long defaultPositionUs; field in Timeline.Window 228 long defaultPositionUs, in set() argument 242 this.defaultPositionUs = defaultPositionUs; in set() 258 return C.usToMs(defaultPositionUs); in getDefaultPositionMs() 268 return defaultPositionUs; in getDefaultPositionUs() 330 && defaultPositionUs == that.defaultPositionUs in equals() 352 result = 31 * result + (int) (defaultPositionUs ^ (defaultPositionUs >>> 32)); in hashCode()
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | FakeTimeline.java | 49 public final long defaultPositionUs; field in FakeTimeline.TimelineWindowDefinition 166 long defaultPositionUs, in TimelineWindowDefinition() argument 177 this.defaultPositionUs = defaultPositionUs; in TimelineWindowDefinition() 273 windowDefinition.defaultPositionUs, in getWindow()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/ |
D | TimelineTest.java | 102 otherWindow.defaultPositionUs = C.TIME_UNSET; in windowEquals() 129 window.defaultPositionUs = C.TIME_UNSET; in windowEquals() 145 window.defaultPositionUs, in windowEquals()
|