Searched refs:adGroupCount (Results 1 – 9 of 9) sorted by relevance
272 public final int adGroupCount; field in AdPlaybackState295 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()
202 if (adPlaybackState.adGroupCount > 0 && id.isAd()) { in createPeriod()285 adMediaSourceHolders = new AdMediaSourceHolder[adPlaybackState.adGroupCount][]; in onAdPlaybackState()297 adPlaybackState.adGroupCount == 0 in maybeUpdateSourceInfo()
215 private int adGroupCount; field in DefaultTimeBar509 int adGroupCount) { in setAdGroupTimesMs() argument510 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()
914 int adGroupCount = 0; in updateTimeline() local943 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()
106 int adGroupCount); in setAdGroupTimesMs() argument
198 int adGroupCount = adGroupTimesUs.length; in createAdPlaybackState() local200 long[][] adDurationsUs = new long[adGroupCount][]; in createAdPlaybackState()201 for (int i = 0; i < adGroupCount; i++) { in createAdPlaybackState()
481 long[][] newDurations = new long[adPlaybackState.adGroupCount][]; in setAdGroupLoaded()482 for (int i = 0; i < adPlaybackState.adGroupCount; i++) { in setAdGroupLoaded()
1093 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()
496 return adPlaybackState.adGroupCount; in getAdGroupCount()