Home
last modified time | relevance | path

Searched refs:trackSelections (Results 1 – 25 of 26) sorted by relevance

12

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/
DTrackSelectionArray.java28 private final @NullableType TrackSelection[] trackSelections; field in TrackSelectionArray
34 public TrackSelectionArray(@NullableType TrackSelection... trackSelections) { in TrackSelectionArray() argument
35 this.trackSelections = trackSelections; in TrackSelectionArray()
36 this.length = trackSelections.length; in TrackSelectionArray()
47 return trackSelections[index]; in get()
52 return trackSelections.clone(); in getAll()
59 result = 31 * result + Arrays.hashCode(trackSelections); in hashCode()
74 return Arrays.equals(trackSelections, other.trackSelections); in equals()
DDefaultTrackSelector.java2225 @NullableType TrackSelection[] trackSelections,
2237 TrackSelection trackSelection = trackSelections[i];
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeTrackSelector.java73 return fakeTrackSelectionFactory.trackSelections; in getAllTrackSelections()
78 private final List<FakeTrackSelection> trackSelections; field in FakeTrackSelector.FakeTrackSelectionFactory
83 trackSelections = new ArrayList<>(); in FakeTrackSelectionFactory()
101 for (FakeTrackSelection trackSelection : trackSelections) { in createTrackSelection()
108 trackSelections.add(trackSelection); in createTrackSelection()
DExoPlayerTestRunner.java621 public void onTracksChanged(TrackGroupArray trackGroups, TrackSelectionArray trackSelections) { in onTracksChanged() argument
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/
DSsMediaPeriod.java158 public List<StreamKey> getStreamKeys(List<TrackSelection> trackSelections) { in getStreamKeys() argument
160 for (int selectionIndex = 0; selectionIndex < trackSelections.size(); selectionIndex++) { in getStreamKeys()
161 TrackSelection trackSelection = trackSelections.get(selectionIndex); in getStreamKeys()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DMediaPeriodHolder.java290 TrackSelectionArray trackSelections = newTrackSelectorResult.selections; in applyTrackSelection() local
293 trackSelections.getAll(), in applyTrackSelection()
310 Assertions.checkState(trackSelections.get(i) == null); in applyTrackSelection()
DLoadControl.java41 TrackSelectionArray trackSelections); in onTracksSelected() argument
DDefaultLoadControl.java339 TrackSelectionArray trackSelections) { in onTracksSelected() argument
342 ? calculateTargetBufferBytes(renderers, trackSelections) in onTracksSelected()
DPlayer.java477 TrackGroupArray trackGroups, TrackSelectionArray trackSelections) {} in onTracksChanged() argument
DExoPlayerImplInternal.java1510 TrackSelection[] trackSelections = periodHolder.getTrackSelectorResult().selections.getAll();
1511 for (TrackSelection trackSelection : trackSelections) {
1523 TrackSelection[] trackSelections = periodHolder.getTrackSelectorResult().selections.getAll();
1524 for (TrackSelection trackSelection : trackSelections) {
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DMediaPeriod.java101 default List<StreamKey> getStreamKeys(List<TrackSelection> trackSelections) { in getStreamKeys() argument
DMergingMediaPeriod.java315 public List<StreamKey> getStreamKeys(List<TrackSelection> trackSelections) { in getStreamKeys() argument
316 return mediaPeriod.getStreamKeys(trackSelections); in getStreamKeys()
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DCastPlayer.java762 TrackSelection[] trackSelections = new TrackSelection[RENDERER_COUNT]; in updateTracksAndSelectionsAndNotifyIfChanged() local
771 && trackSelections[rendererIndex] == null) { in updateTracksAndSelectionsAndNotifyIfChanged()
772 trackSelections[rendererIndex] = new FixedTrackSelection(trackGroups[i], 0); in updateTracksAndSelectionsAndNotifyIfChanged()
776 TrackSelectionArray newTrackSelections = new TrackSelectionArray(trackSelections); in updateTracksAndSelectionsAndNotifyIfChanged()
780 currentTrackSelection = new TrackSelectionArray(trackSelections); in updateTracksAndSelectionsAndNotifyIfChanged()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/trackselection/
DAdaptiveTrackSelectionTest.java71 TrackSelection[] trackSelections = in factoryUsesInitiallyProvidedBandwidthMeter() local
78 trackSelections[0].updateSelectedTrack( in factoryUsesInitiallyProvidedBandwidthMeter()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/
DPlaybackStatsListener.java339 EventTime eventTime, TrackGroupArray trackGroups, TrackSelectionArray trackSelections) { in onTracksChanged() argument
343 playbackStatsTrackers.get(session).onTracksChanged(eventTime, trackSelections); in onTracksChanged()
673 public void onTracksChanged(EventTime eventTime, TrackSelectionArray trackSelections) { in onTracksChanged() argument
676 for (TrackSelection trackSelection : trackSelections.getAll()) { in onTracksChanged()
DAnalyticsListener.java264 EventTime eventTime, TrackGroupArray trackGroups, TrackSelectionArray trackSelections) {} in onTracksChanged() argument
DAnalyticsCollector.java441 TrackGroupArray trackGroups, TrackSelectionArray trackSelections) { in onTracksChanged() argument
444 listener.onTracksChanged(eventTime, trackGroups, trackSelections); in onTracksChanged()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DEventLogger.java206 EventTime eventTime, TrackGroupArray ignored, TrackSelectionArray trackSelections) { in onTracksChanged() argument
218 TrackSelection trackSelection = trackSelections.get(rendererIndex); in onTracksChanged()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/offline/
DDownloadHelperTest.java511 public List<StreamKey> getStreamKeys(List<TrackSelection> trackSelections) { in createPeriod()
513 for (TrackSelection trackSelection : trackSelections) { in createPeriod()
/external/exoplayer/tree/demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/
DPlayerManager.java246 @NonNull TrackGroupArray trackGroups, @NonNull TrackSelectionArray trackSelections) { in onTracksChanged() argument
/external/exoplayer/tree/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/
DImaAdsLoader.java819 TrackSelectionArray trackSelections = player.getCurrentTrackSelections(); in getVolume() local
820 for (int i = 0; i < player.getRendererCount() && i < trackSelections.length; i++) { in getVolume()
821 if (player.getRendererType(i) == C.TRACK_TYPE_AUDIO && trackSelections.get(i) != null) { in getVolume()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsMediaPeriod.java178 public List<StreamKey> getStreamKeys(List<TrackSelection> trackSelections) { in getStreamKeys() argument
203 for (TrackSelection trackSelection : trackSelections) { in getStreamKeys()
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DDashMediaPeriod.java208 public List<StreamKey> getStreamKeys(List<TrackSelection> trackSelections) { in getStreamKeys() argument
211 for (TrackSelection trackSelection : trackSelections) { in getStreamKeys()
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/
DPlayerActivity.java528 @NonNull TrackGroupArray trackGroups, @NonNull TrackSelectionArray trackSelections) { in onTracksChanged() argument
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/analytics/
DAnalyticsCollectorTest.java1361 EventTime eventTime, TrackGroupArray trackGroups, TrackSelectionArray trackSelections) { in onTracksChanged() argument

12