/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/ |
D | MappingTrackSelector.java | 142 public String getRendererName(int rendererIndex) { in getRendererName() argument 143 return rendererNames[rendererIndex]; in getRendererName() 153 public int getRendererType(int rendererIndex) { in getRendererType() argument 154 return rendererTrackTypes[rendererIndex]; in getRendererType() 163 public TrackGroupArray getTrackGroups(int rendererIndex) { in getTrackGroups() argument 164 return rendererTrackGroups[rendererIndex]; in getTrackGroups() 174 public int getRendererSupport(int rendererIndex) { in getRendererSupport() argument 176 @Capabilities int[][] rendererFormatSupport = rendererFormatSupports[rendererIndex]; in getRendererSupport() 230 public int getTrackFormatSupport(int rendererIndex, int groupIndex, int trackIndex) { in getTrackFormatSupport() argument 231 return getTrackSupport(rendererIndex, groupIndex, trackIndex); in getTrackFormatSupport() [all …]
|
D | TrackSelectionUtil.java | 86 int rendererIndex, in updateParametersWithOverride() argument 93 .clearSelectionOverrides(rendererIndex) in updateParametersWithOverride() 94 .setRendererDisabled(rendererIndex, isDisabled); in updateParametersWithOverride() 96 builder.setSelectionOverride(rendererIndex, trackGroupArray, override); in updateParametersWithOverride()
|
D | DefaultTrackSelector.java | 598 public final ParametersBuilder setRendererDisabled(int rendererIndex, boolean disabled) { in setRendererDisabled() argument 599 if (rendererDisabledFlags.get(rendererIndex) == disabled) { in setRendererDisabled() 605 rendererDisabledFlags.put(rendererIndex, true); in setRendererDisabled() 607 rendererDisabledFlags.delete(rendererIndex); in setRendererDisabled() 636 int rendererIndex, TrackGroupArray groups, @Nullable SelectionOverride override) { in setSelectionOverride() argument 638 selectionOverrides.get(rendererIndex); in setSelectionOverride() 641 selectionOverrides.put(rendererIndex, overrides); in setSelectionOverride() 659 int rendererIndex, TrackGroupArray groups) { in clearSelectionOverride() argument 661 selectionOverrides.get(rendererIndex); in clearSelectionOverride() 668 selectionOverrides.remove(rendererIndex); in clearSelectionOverride() [all …]
|
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | TrackSelectionDialogBuilder.java | 51 private final int rendererIndex; field in TrackSelectionDialogBuilder 75 int rendererIndex, in TrackSelectionDialogBuilder() argument 80 this.rendererIndex = rendererIndex; in TrackSelectionDialogBuilder() 97 Context context, CharSequence title, DefaultTrackSelector trackSelector, int rendererIndex) { in TrackSelectionDialogBuilder() argument 101 this.rendererIndex = rendererIndex; in TrackSelectionDialogBuilder() 103 TrackGroupArray rendererTrackGroups = mappedTrackInfo.getTrackGroups(rendererIndex); in TrackSelectionDialogBuilder() 105 isDisabled = selectionParameters.getRendererDisabled(rendererIndex); in TrackSelectionDialogBuilder() 107 selectionParameters.getSelectionOverride(rendererIndex, rendererTrackGroups); in TrackSelectionDialogBuilder() 115 rendererIndex, in TrackSelectionDialogBuilder() 222 selectionView.init(mappedTrackInfo, rendererIndex, isDisabled, overrides, /* listener= */ null); in build()
|
D | TrackSelectionView.java | 71 private int rendererIndex; field in TrackSelectionView 203 int rendererIndex, in init() argument 208 this.rendererIndex = rendererIndex; in init() 253 trackGroups = mappedTrackInfo.getTrackGroups(rendererIndex); in updateViews() 274 if (mappedTrackInfo.getTrackSupport(rendererIndex, groupIndex, trackIndex) in updateViews() 375 rendererIndex, groupIndex, /* includeCapabilitiesExceededTracks= */ false) in shouldEnableAdaptiveSelection()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | ExoPlaybackException.java | 78 public final int rendererIndex; field in ExoPlaybackException 122 int rendererIndex, in createForRenderer() argument 130 rendererIndex, in createForRenderer() 192 int rendererIndex, in ExoPlaybackException() argument 200 rendererIndex, in ExoPlaybackException() 207 this.rendererIndex = rendererIndex; in ExoPlaybackException() 258 int rendererIndex, in deriveMessage() argument 271 + rendererIndex in deriveMessage()
|
D | ExoPlayerImplInternal.java | 2040 private void enableRenderer(int rendererIndex, boolean wasRendererEnabled) 2042 Renderer renderer = renderers[rendererIndex]; 2050 trackSelectorResult.rendererConfigurations[rendererIndex]; 2051 TrackSelection newSelection = trackSelectorResult.selections.get(rendererIndex); 2062 periodHolder.sampleStreams[rendererIndex],
|
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/ |
D | TrackSelectionDialog.java | 198 public boolean getIsDisabled(int rendererIndex) { in getIsDisabled() argument 199 TrackSelectionViewFragment rendererView = tabFragments.get(rendererIndex); in getIsDisabled() 210 public List<SelectionOverride> getOverrides(int rendererIndex) { in getOverrides() argument 211 TrackSelectionViewFragment rendererView = tabFragments.get(rendererIndex); in getOverrides() 253 private static boolean showTabForRenderer(MappedTrackInfo mappedTrackInfo, int rendererIndex) { in showTabForRenderer() argument 254 TrackGroupArray trackGroupArray = mappedTrackInfo.getTrackGroups(rendererIndex); in showTabForRenderer() 258 int trackType = mappedTrackInfo.getRendererType(rendererIndex); in showTabForRenderer() 314 private int rendererIndex; field in TrackSelectionDialog.TrackSelectionViewFragment 328 int rendererIndex, in init() argument 334 this.rendererIndex = rendererIndex; in init() [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/ |
D | DownloadHelper.java | 624 public List<TrackSelection> getTrackSelections(int periodIndex, int rendererIndex) { in getTrackSelections() argument 626 return immutableTrackSelectionsByPeriodAndRenderer[periodIndex][rendererIndex]; in getTrackSelections() 686 for (int rendererIndex = 0; rendererIndex < rendererCount; rendererIndex++) { in addAudioLanguagesToSelection() 687 if (mappedTrackInfo.getRendererType(rendererIndex) != C.TRACK_TYPE_AUDIO) { in addAudioLanguagesToSelection() 688 parametersBuilder.setRendererDisabled(rendererIndex, /* disabled= */ true); in addAudioLanguagesToSelection() 716 for (int rendererIndex = 0; rendererIndex < rendererCount; rendererIndex++) { in addTextLanguagesToSelection() 717 if (mappedTrackInfo.getRendererType(rendererIndex) != C.TRACK_TYPE_TEXT) { in addTextLanguagesToSelection() 718 parametersBuilder.setRendererDisabled(rendererIndex, /* disabled= */ true); in addTextLanguagesToSelection() 742 int rendererIndex, in addTrackSelectionForSingleRenderer() argument 748 builder.setRendererDisabled(/* rendererIndex= */ i, /* disabled= */ i != rendererIndex); in addTrackSelectionForSingleRenderer() [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/ |
D | EventLogger.java | 216 for (int rendererIndex = 0; rendererIndex < rendererCount; rendererIndex++) { in onTracksChanged() 217 TrackGroupArray rendererTrackGroups = mappedTrackInfo.getTrackGroups(rendererIndex); in onTracksChanged() 218 TrackSelection trackSelection = trackSelections.get(rendererIndex); in onTracksChanged() 220 logd(" " + mappedTrackInfo.getRendererName(rendererIndex) + " []"); in onTracksChanged() 222 logd(" " + mappedTrackInfo.getRendererName(rendererIndex) + " ["); in onTracksChanged() 229 rendererIndex, groupIndex, /* includeCapabilitiesExceededTracks= */ false)); in onTracksChanged() 235 mappedTrackInfo.getTrackSupport(rendererIndex, groupIndex, trackIndex)); in onTracksChanged()
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | Action.java | 398 private final int rendererIndex; field in Action.SetRendererDisabled 406 public SetRendererDisabled(String tag, int rendererIndex, boolean disabled) { in SetRendererDisabled() argument 407 super(tag, "SetRendererDisabled:" + rendererIndex + ":" + disabled); in SetRendererDisabled() 408 this.rendererIndex = rendererIndex; in SetRendererDisabled() 416 trackSelector.buildUponParameters().setRendererDisabled(rendererIndex, disabled)); in doActionImpl()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/trackselection/ |
D | MappingTrackSelectorTest.java | 152 public void assertMappedTrackGroups(int rendererIndex, TrackGroup... expected) { in assertMappedTrackGroups() argument 153 TrackGroupArray rendererTrackGroupArray = lastMappedTrackInfo.getTrackGroups(rendererIndex); in assertMappedTrackGroups()
|
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/ |
D | CastPlayer.java | 769 int rendererIndex = getRendererIndexForTrackType(trackType); in updateTracksAndSelectionsAndNotifyIfChanged() local 770 if (isTrackActive(id, activeTrackIds) && rendererIndex != C.INDEX_UNSET in updateTracksAndSelectionsAndNotifyIfChanged() 771 && trackSelections[rendererIndex] == null) { in updateTracksAndSelectionsAndNotifyIfChanged() 772 trackSelections[rendererIndex] = new FixedTrackSelection(trackGroups[i], 0); in updateTracksAndSelectionsAndNotifyIfChanged()
|
/external/exoplayer/tree/extensions/leanback/src/main/java/com/google/android/exoplayer2/ext/leanback/ |
D | LeanbackPlayerAdapter.java | 287 R.string.lb_media_player_error, exception.type, exception.rendererIndex)); in onPlayerError()
|