Searched refs:adGroupTimesMs (Results 1 – 3 of 3) sorted by relevance
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | PlayerControlView.java | 310 private long[] adGroupTimesMs; field in PlayerControlView 375 adGroupTimesMs = new long[0]; in PlayerControlView() 943 if (adGroupCount == adGroupTimesMs.length) { in updateTimeline() 944 int newLength = adGroupTimesMs.length == 0 ? 1 : adGroupTimesMs.length * 2; in updateTimeline() 945 adGroupTimesMs = Arrays.copyOf(adGroupTimesMs, newLength); in updateTimeline() 948 adGroupTimesMs[adGroupCount] = C.usToMs(durationUs + adGroupTimeInWindowUs); in updateTimeline() 965 if (totalAdGroupCount > adGroupTimesMs.length) { in updateTimeline() 966 adGroupTimesMs = Arrays.copyOf(adGroupTimesMs, totalAdGroupCount); in updateTimeline() 969 System.arraycopy(extraAdGroupTimesMs, 0, adGroupTimesMs, adGroupCount, extraAdGroupCount); in updateTimeline() 971 timeBar.setAdGroupTimesMs(adGroupTimesMs, playedAdGroups, totalAdGroupCount); in updateTimeline()
|
D | DefaultTimeBar.java | 216 @Nullable private long[] adGroupTimesMs; field in DefaultTimeBar 508 public void setAdGroupTimesMs(@Nullable long[] adGroupTimesMs, @Nullable boolean[] playedAdGroups, in setAdGroupTimesMs() argument 511 || (adGroupTimesMs != null && playedAdGroups != null)); in setAdGroupTimesMs() 513 this.adGroupTimesMs = adGroupTimesMs; in setAdGroupTimesMs() 843 long[] adGroupTimesMs = Assertions.checkNotNull(this.adGroupTimesMs); in drawTimeBar() local 847 long adGroupTimeMs = Util.constrainValue(adGroupTimesMs[i], 0, duration); in drawTimeBar()
|
D | TimeBar.java | 105 void setAdGroupTimesMs(@Nullable long[] adGroupTimesMs, @Nullable boolean[] playedAdGroups, in setAdGroupTimesMs() argument
|