Home
last modified time | relevance | path

Searched refs:getIndexInTrackGroup (Results 1 – 16 of 16) sorted by relevance

/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeChunkSource.java118 int trackGroupIndex = trackSelection.getIndexInTrackGroup(i);
129 int trackGroupIndex = trackSelection.getIndexInTrackGroup(trackSelection.getSelectedIndex());
DFakeTrackSelection.java77 public int getIndexInTrackGroup(int index) { in getIndexInTrackGroup() method in FakeTrackSelection
DFakeMediaPeriod.java171 int indexInTrackGroup = selection.getIndexInTrackGroup(selection.getSelectedIndex()); in selectTracks()
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/
DDefaultSsChunkSource.java108 int manifestTrackIndex = trackSelection.getIndexInTrackGroup(i); in DefaultSsChunkSource()
229 int trackIndex = trackSelection.getIndexInTrackGroup(i);
243 int manifestTrackIndex = trackSelection.getIndexInTrackGroup(trackSelectionIndex);
DSsMediaPeriod.java164 streamKeys.add(new StreamKey(streamElementIndex, trackSelection.getIndexInTrackGroup(i))); in getStreamKeys()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/
DTrackSelection.java138 int getIndexInTrackGroup(int index); in getIndexInTrackGroup() method
DBaseTrackSelection.java109 public final int getIndexInTrackGroup(int index) { in getIndexInTrackGroup() method in BaseTrackSelection
DDefaultTrackSelector.java2286 int trackFormatSupport = formatSupports[trackGroupIndex][selection.getIndexInTrackGroup(i)];
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/offline/
DDownloadHelperTest.java490 selectedTracksInGroup[i] = trackSelection.getIndexInTrackGroup(i); in assertTrackSelectionEquals()
518 new StreamKey(periodIndex, groupIndex, trackSelection.getIndexInTrackGroup(i))); in createPeriod()
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DDefaultDashChunkSource.java178 Representation representation = representations.get(trackSelection.getIndexInTrackGroup(i)); in DefaultDashChunkSource()
216 Representation representation = representations.get(trackSelection.getIndexInTrackGroup(i));
DDashMediaPeriod.java221 trackIndices[i] = trackSelection.getIndexInTrackGroup(i); in getStreamKeys()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsMediaPeriod.java211 int variantIndex = mainWrapperVariantIndices[trackSelection.getIndexInTrackGroup(i)]; in getStreamKeys()
231 selectedWrapperUrlIndices[trackSelection.getIndexInTrackGroup(trackIndex)]; in getStreamKeys()
DHlsChunkSource.java427 int trackIndex = trackSelection.getIndexInTrackGroup(i); in createMediaChunkIterators()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/
DDownloadHelper.java898 scratchSet.put(existingSelection.getIndexInTrackGroup(k), 0); in runTrackSelection()
901 scratchSet.put(newSelection.getIndexInTrackGroup(k), 0); in runTrackSelection()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/trackselection/
DDefaultTrackSelectorTest.java1470 assertThat(selection.getIndexInTrackGroup(0)).isEqualTo(expectedTrack); in assertFixedSelection()
1472 .isSameInstanceAs(expectedTrackGroup.getFormat(selection.getIndexInTrackGroup(0))); in assertFixedSelection()
1485 assertThat(selection.getIndexInTrackGroup(i)).isEqualTo(expectedTracks[i]); in assertAdaptiveSelection()
1487 .isSameInstanceAs(expectedTrackGroup.getFormat(selection.getIndexInTrackGroup(i))); in assertAdaptiveSelection()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DProgressiveMediaPeriod.java274 Assertions.checkState(selection.getIndexInTrackGroup(0) == 0); in selectTracks()