Home
last modified time | relevance | path

Searched refs:mappedTrackInfo (Results 1 – 13 of 13) sorted by relevance

/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/
DTrackSelectionDialog.java62 MappedTrackInfo mappedTrackInfo = trackSelector.getCurrentMappedTrackInfo(); in willHaveContent() local
63 return mappedTrackInfo != null && willHaveContent(mappedTrackInfo); in willHaveContent()
70 public static boolean willHaveContent(MappedTrackInfo mappedTrackInfo) { in willHaveContent() argument
71 for (int i = 0; i < mappedTrackInfo.getRendererCount(); i++) { in willHaveContent()
72 if (showTabForRenderer(mappedTrackInfo, i)) { in willHaveContent()
89 MappedTrackInfo mappedTrackInfo = in createForTrackSelector() local
95 mappedTrackInfo, in createForTrackSelector()
101 for (int i = 0; i < mappedTrackInfo.getRendererCount(); i++) { in createForTrackSelector()
112 mappedTrackInfo.getTrackGroups(/* rendererIndex= */ i), in createForTrackSelector()
138 MappedTrackInfo mappedTrackInfo, in createForMappedTrackInfoAndParameters() argument
[all …]
DDownloadTracker.java178 private MappedTrackInfo mappedTrackInfo; field in DownloadTracker.StartDownloadDialogHelper
205 mappedTrackInfo = downloadHelper.getMappedTrackInfo(/* periodIndex= */ 0); in onPrepared()
206 if (!TrackSelectionDialog.willHaveContent(mappedTrackInfo)) { in onPrepared()
215 mappedTrackInfo, in onPrepared()
241 for (int i = 0; i < mappedTrackInfo.getRendererCount(); i++) { in onClick()
DPlayerActivity.java531 MappedTrackInfo mappedTrackInfo = trackSelector.getCurrentMappedTrackInfo(); in onTracksChanged() local
532 if (mappedTrackInfo != null) { in onTracksChanged()
533 if (mappedTrackInfo.getTypeSupport(C.TRACK_TYPE_VIDEO) in onTracksChanged()
537 if (mappedTrackInfo.getTypeSupport(C.TRACK_TYPE_AUDIO) in onTracksChanged()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DTrackSelectionDialogBuilder.java50 private final MappedTrackInfo mappedTrackInfo; field in TrackSelectionDialogBuilder
74 MappedTrackInfo mappedTrackInfo, in TrackSelectionDialogBuilder() argument
79 this.mappedTrackInfo = mappedTrackInfo; in TrackSelectionDialogBuilder()
100 this.mappedTrackInfo = Assertions.checkNotNull(trackSelector.getCurrentMappedTrackInfo()); in TrackSelectionDialogBuilder()
103 TrackGroupArray rendererTrackGroups = mappedTrackInfo.getTrackGroups(rendererIndex); in TrackSelectionDialogBuilder()
222 selectionView.init(mappedTrackInfo, rendererIndex, isDisabled, overrides, /* listener= */ null); in build()
DTrackSelectionView.java70 private @MonotonicNonNull MappedTrackInfo mappedTrackInfo; field in TrackSelectionView
202 MappedTrackInfo mappedTrackInfo, in init() argument
207 this.mappedTrackInfo = mappedTrackInfo; in init()
244 if (mappedTrackInfo == null) { in updateViews()
253 trackGroups = mappedTrackInfo.getTrackGroups(rendererIndex); in updateViews()
274 if (mappedTrackInfo.getTrackSupport(rendererIndex, groupIndex, trackIndex) in updateViews()
333 Assertions.checkNotNull(mappedTrackInfo); in onTrackViewClicked()
374 && mappedTrackInfo.getAdaptiveSupport( in shouldEnableAdaptiveSelection()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DEventLogger.java207 MappedTrackInfo mappedTrackInfo = in onTracksChanged() local
209 if (mappedTrackInfo == null) { in onTracksChanged()
215 int rendererCount = mappedTrackInfo.getRendererCount(); in onTracksChanged()
217 TrackGroupArray rendererTrackGroups = mappedTrackInfo.getTrackGroups(rendererIndex); in onTracksChanged()
220 logd(" " + mappedTrackInfo.getRendererName(rendererIndex) + " []"); in onTracksChanged()
222 logd(" " + mappedTrackInfo.getRendererName(rendererIndex) + " ["); in onTracksChanged()
228 mappedTrackInfo.getAdaptiveSupport( in onTracksChanged()
235 mappedTrackInfo.getTrackSupport(rendererIndex, groupIndex, trackIndex)); in onTracksChanged()
264 TrackGroupArray unassociatedTrackGroups = mappedTrackInfo.getUnmappedTrackGroups(); in onTracksChanged()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeTrackSelector.java56 MappedTrackInfo mappedTrackInfo, in selectAllTracks() argument
60 int rendererCount = mappedTrackInfo.getRendererCount(); in selectAllTracks()
64 TrackGroupArray trackGroupArray = mappedTrackInfo.getTrackGroups(i); in selectAllTracks()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/
DDefaultTrackSelector.java1511 MappedTrackInfo mappedTrackInfo, in selectTracks() argument
1516 int rendererCount = mappedTrackInfo.getRendererCount(); in selectTracks()
1519 mappedTrackInfo, in selectTracks()
1530 TrackGroupArray rendererTrackGroups = mappedTrackInfo.getTrackGroups(i); in selectTracks()
1556 && (mappedTrackInfo.getRendererType(i) == C.TRACK_TYPE_NONE in selectTracks()
1563 mappedTrackInfo, in selectTracks()
1591 MappedTrackInfo mappedTrackInfo, in selectAllTracks() argument
1596 int rendererCount = mappedTrackInfo.getRendererCount(); in selectAllTracks()
1603 if (C.TRACK_TYPE_VIDEO == mappedTrackInfo.getRendererType(i)) { in selectAllTracks()
1607 mappedTrackInfo.getTrackGroups(i), in selectAllTracks()
[all …]
DMappingTrackSelector.java419 MappedTrackInfo mappedTrackInfo = in selectTracks() local
430 mappedTrackInfo, rendererFormatSupports, rendererMixedMimeTypeAdaptationSupports); in selectTracks()
431 return new TrackSelectorResult(result.first, result.second, mappedTrackInfo); in selectTracks()
450 MappedTrackInfo mappedTrackInfo, in selectTracks() argument
/external/exoplayer/tree/demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/
DPlayerManager.java248 MappingTrackSelector.MappedTrackInfo mappedTrackInfo = in onTracksChanged() local
250 if (mappedTrackInfo != null) { in onTracksChanged()
251 if (mappedTrackInfo.getTypeSupport(C.TRACK_TYPE_VIDEO) in onTracksChanged()
255 if (mappedTrackInfo.getTypeSupport(C.TRACK_TYPE_AUDIO) in onTracksChanged()
/external/exoplayer/tree/playbacktests/src/androidTest/java/com/google/android/exoplayer2/playbacktests/gts/
DDashTestRunner.java391 MappedTrackInfo mappedTrackInfo, in selectAllTracks() argument
396 mappedTrackInfo.getRendererType(VIDEO_RENDERER_INDEX) == C.TRACK_TYPE_VIDEO); in selectAllTracks()
398 mappedTrackInfo.getRendererType(AUDIO_RENDERER_INDEX) == C.TRACK_TYPE_AUDIO); in selectAllTracks()
399 TrackGroupArray videoTrackGroups = mappedTrackInfo.getTrackGroups(VIDEO_RENDERER_INDEX); in selectAllTracks()
400 TrackGroupArray audioTrackGroups = mappedTrackInfo.getTrackGroups(AUDIO_RENDERER_INDEX); in selectAllTracks()
404 new TrackSelection.Definition[mappedTrackInfo.getRendererCount()]; in selectAllTracks()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/trackselection/
DMappingTrackSelectorTest.java142 MappedTrackInfo mappedTrackInfo, in selectTracks() argument
146 int rendererCount = mappedTrackInfo.getRendererCount(); in selectTracks()
147 lastMappedTrackInfo = mappedTrackInfo; in selectTracks()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/
DDownloadHelper.java684 MappedTrackInfo mappedTrackInfo = mappedTrackInfos[periodIndex]; in addAudioLanguagesToSelection() local
685 int rendererCount = mappedTrackInfo.getRendererCount(); in addAudioLanguagesToSelection()
687 if (mappedTrackInfo.getRendererType(rendererIndex) != C.TRACK_TYPE_AUDIO) { in addAudioLanguagesToSelection()
714 MappedTrackInfo mappedTrackInfo = mappedTrackInfos[periodIndex]; in addTextLanguagesToSelection() local
715 int rendererCount = mappedTrackInfo.getRendererCount(); in addTextLanguagesToSelection()
717 if (mappedTrackInfo.getRendererType(rendererIndex) != C.TRACK_TYPE_TEXT) { in addTextLanguagesToSelection()