Home
last modified time | relevance | path

Searched refs:adGroupCount (Results 1 – 9 of 9) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ads/
DAdPlaybackState.java272 public final int adGroupCount; field in AdPlaybackState
295 adGroupCount = count; in AdPlaybackState()
307 adGroupCount = adGroups.length; in AdPlaybackState()
425 for (int adGroupIndex = 0; adGroupIndex < adGroupCount; adGroupIndex++) { in withAdDurationsUs()
463 return adGroupCount == that.adGroupCount in equals()
472 int result = adGroupCount; in hashCode()
DAdsMediaSource.java202 if (adPlaybackState.adGroupCount > 0 && id.isAd()) { in createPeriod()
285 adMediaSourceHolders = new AdMediaSourceHolder[adPlaybackState.adGroupCount][]; in onAdPlaybackState()
297 adPlaybackState.adGroupCount == 0 in maybeUpdateSourceInfo()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DDefaultTimeBar.java215 private int adGroupCount; field in DefaultTimeBar
509 int adGroupCount) { in setAdGroupTimesMs() argument
510 Assertions.checkArgument(adGroupCount == 0 in setAdGroupTimesMs()
512 this.adGroupCount = adGroupCount; in setAdGroupTimesMs()
840 if (adGroupCount == 0) { in drawTimeBar()
846 for (int i = 0; i < adGroupCount; i++) { in drawTimeBar()
DPlayerControlView.java914 int adGroupCount = 0; in updateTimeline() local
943 if (adGroupCount == adGroupTimesMs.length) { in updateTimeline()
948 adGroupTimesMs[adGroupCount] = C.usToMs(durationUs + adGroupTimeInWindowUs); in updateTimeline()
949 playedAdGroups[adGroupCount] = period.hasPlayedAdGroup(adGroupIndex); in updateTimeline()
950 adGroupCount++; in updateTimeline()
964 int totalAdGroupCount = adGroupCount + extraAdGroupCount; in updateTimeline()
969 System.arraycopy(extraAdGroupTimesMs, 0, adGroupTimesMs, adGroupCount, extraAdGroupCount); in updateTimeline()
970 System.arraycopy(extraPlayedAdGroups, 0, playedAdGroups, adGroupCount, extraAdGroupCount); in updateTimeline()
DTimeBar.java106 int adGroupCount); in setAdGroupTimesMs() argument
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeTimeline.java198 int adGroupCount = adGroupTimesUs.length; in createAdPlaybackState() local
200 long[][] adDurationsUs = new long[adGroupCount][]; in createAdPlaybackState()
201 for (int i = 0; i < adGroupCount; i++) { in createAdPlaybackState()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/
DMediaPeriodQueueTest.java481 long[][] newDurations = new long[adPlaybackState.adGroupCount][]; in setAdGroupLoaded()
482 for (int i = 0; i < adPlaybackState.adGroupCount; i++) { in setAdGroupLoaded()
/external/exoplayer/tree/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/
DImaAdsLoader.java1093 podIndex == -1 ? (adPlaybackState.adGroupCount - 1) : (podIndex + podIndexOffset); in handleAdEvent()
1177 for (int i = 0; i < adPlaybackState.adGroupCount; i++) { in checkForContentCompleteOrNewAdGroup()
1379 for (int i = 0; i < adPlaybackState.adGroupCount; i++) { in maybeNotifyInternalError()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DTimeline.java496 return adPlaybackState.adGroupCount; in getAdGroupCount()