Home
last modified time | relevance | path

Searched refs:SelectionOverride (Results 1 – 8 of 8) sorted by relevance

/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DTrackSelectionView.java33 import com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride;
54 void onTrackSelectionChanged(boolean isDisabled, List<SelectionOverride> overrides); in onTrackSelectionChanged()
62 private final SparseArray<SelectionOverride> overrides;
205 List<SelectionOverride> overrides, in init()
213 SelectionOverride override = overrides.get(i); in init()
228 public List<SelectionOverride> getOverrides() { in getOverrides()
229 List<SelectionOverride> overrideList = new ArrayList<>(overrides.size()); in getOverrides()
295 SelectionOverride override = overrides.get(i); in updateViewStates()
332 SelectionOverride override = overrides.get(groupIndex); in onTrackViewClicked()
340 overrides.put(groupIndex, new SelectionOverride(groupIndex, trackIndex)); in onTrackViewClicked()
[all …]
DTrackSelectionDialogBuilder.java26 import com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride;
45 void onTracksSelected(boolean isDisabled, List<SelectionOverride> overrides); in onTracksSelected()
59 private List<SelectionOverride> overrides;
106 SelectionOverride override = in TrackSelectionDialogBuilder()
138 public TrackSelectionDialogBuilder setOverride(@Nullable SelectionOverride override) { in setOverride()
153 public TrackSelectionDialogBuilder setOverrides(List<SelectionOverride> overrides) { in setOverrides()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/
DDefaultTrackSelector.java190 private final SparseArray<Map<TrackGroupArray, @NullableType SelectionOverride>>
636 int rendererIndex, TrackGroupArray groups, @Nullable SelectionOverride override) { in setSelectionOverride()
637 Map<TrackGroupArray, @NullableType SelectionOverride> overrides = in setSelectionOverride()
660 Map<TrackGroupArray, @NullableType SelectionOverride> overrides = in clearSelectionOverride()
680 Map<TrackGroupArray, @NullableType SelectionOverride> overrides = in clearSelectionOverrides()
768 private static SparseArray<Map<TrackGroupArray, @NullableType SelectionOverride>>
770 SparseArray<Map<TrackGroupArray, @NullableType SelectionOverride>> selectionOverrides) { in cloneSelectionOverrides()
771 SparseArray<Map<TrackGroupArray, @NullableType SelectionOverride>> clone = in cloneSelectionOverrides()
937 private final SparseArray<Map<TrackGroupArray, @NullableType SelectionOverride>>
972 SparseArray<Map<TrackGroupArray, @NullableType SelectionOverride>> selectionOverrides, in Parameters()
[all …]
DTrackSelectionUtil.java20 import com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride;
89 @Nullable SelectionOverride override) { in updateParametersWithOverride()
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/
DTrackSelectionDialog.java38 import com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride;
107 List<SelectionOverride> overrides = in createForTrackSelector()
210 public List<SelectionOverride> getOverrides(int rendererIndex) { in getOverrides()
319 /* package */ List<SelectionOverride> overrides;
330 @Nullable SelectionOverride initialOverride, in init()
363 boolean isDisabled, @NonNull List<SelectionOverride> overrides) { in onTrackSelectionChanged()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/trackselection/
DDefaultTrackSelectorTest.java48 import com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride;
137 SparseArray<Map<TrackGroupArray, SelectionOverride>> selectionOverrides = new SparseArray<>(); in parametersParcelable()
138 Map<TrackGroupArray, SelectionOverride> videoOverrides = new HashMap<>(); in parametersParcelable()
139 videoOverrides.put(new TrackGroupArray(VIDEO_TRACK_GROUP), new SelectionOverride(0, 1)); in parametersParcelable()
194 SelectionOverride selectionOverrideToParcel = in selectionOverrideParcelable()
195 new SelectionOverride(/* groupIndex= */ 1, tracks); in selectionOverrideParcelable()
201 SelectionOverride selectionOverrideFromParcel = in selectionOverrideParcelable()
202 SelectionOverride.CREATOR.createFromParcel(parcel); in selectionOverrideParcelable()
1287 new SelectionOverride(/* groupIndex= */ 0, /* tracks=... */ 1, 2))); in selectTracksWithMultipleAudioTracksOverrideReturnsAdaptiveTrackSelection()
1434 new SelectionOverride(/* groupIndex= */ 0, /* tracks=... */ 1, 2))); in selectTracksWithMultipleVideoTracksOverrideReturnsAdaptiveTrackSelection()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/
DDownloadHelper.java46 import com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride;
744 List<SelectionOverride> overrides) { in addTrackSelectionForSingleRenderer()
/external/exoplayer/tree/
DRELEASENOTES.md758 * Allow to specify a selection reason for a `SelectionOverride`.