Searched refs:tracks (Results 1 - 15 of 15) sorted by relevance

/packages/apps/TV/src/com/android/tv/ui/sidepanel/
H A DMultiAudioFragment.java51 List<TvTrackInfo> tracks = getMainActivity().getTracks(TvTrackInfo.TYPE_AUDIO);
55 if (tracks != null) {
56 boolean needToShowSampleRate = Utils.needToShowSampleRate(getActivity(), tracks);
58 for (final TvTrackInfo track : tracks) {
H A DClosedCaptionFragment.java67 List<TvTrackInfo> tracks = getMainActivity().getTracks(TvTrackInfo.TYPE_SUBTITLE);
68 if (tracks != null && !tracks.isEmpty()) {
78 for (int i = 0; i < tracks.size(); i++) {
79 item = new ClosedCaptionOptionItem(tracks.get(i), i);
80 if (TextUtils.equals(selectedTrackId, tracks.get(i).getId())) {
/packages/apps/TV/src/com/android/tv/util/
H A DTvTrackInfoUtils.java79 * @param tracks The tracks to choose from
85 public static TvTrackInfo getBestTrackInfo(List<TvTrackInfo> tracks, String id, String language, argument
87 if (tracks == null) {
92 for (TvTrackInfo track : tracks) {
H A DUtils.java561 public static boolean needToShowSampleRate(Context context, List<TvTrackInfo> tracks) { argument
563 for (TvTrackInfo track : tracks) {
/packages/apps/TV/tests/unit/src/com/android/tv/menu/
H A DTvOptionsRowAdapterTest.java106 // Wait for the video tracks, because there's no audio track.
129 List<TvTrackInfo> tracks = mActivity.getTracks(trackType);
130 if (tracks != null) {
131 size = tracks.size();
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DVideoUtils.java37 import com.googlecode.mp4parser.authoring.tracks.CroppedTrack;
69 * Shortens/Crops tracks
88 // remove all tracks we will create new tracks from the old
89 List<Track> tracks = movie.getTracks();
92 for (Track track : tracks) {
140 // Set up the tracks and retrieve the max buffer size for selected
141 // tracks.
235 // remove all tracks we will create new tracks fro
[all...]
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/buffer/
H A DDvrStorageManager.java208 List<AtscCaptionTrack> tracks = new ArrayList<>();
218 tracks.add(AtscCaptionTrack.parseFrom(data));
224 return tracks;
360 * @param tracks a list of {@link AtscCaptionTrack} objects which store caption information.
362 public void writeCaptionInfoFiles(List<AtscCaptionTrack> tracks) { argument
363 if (tracks == null || tracks.isEmpty()) {
366 for (int i = 0; i < tracks.size(); i++) {
367 AtscCaptionTrack track = tracks.get(i);
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
H A DDvrPlayer.java108 * Called when the Video's subtitle or audio tracks are changed.
298 * Sets the listener to tracks changing.
306 * Sets the listener to tracks of the given type being selected.
320 * Gets the listener to tracks of the given type being selected.
374 * Returns the subtitle tracks of the current playback.
381 * Returns the audio tracks of the current playback.
420 List<TvTrackInfo> tracks = mTvView.getTracks(trackType);
421 if (tracks != null && tracks.contains(selectedTrack)) {
508 public void onTracksChanged(String inputId, List<TvTrackInfo> tracks) {
[all...]
/packages/apps/TV/src/com/android/tv/
H A DMainActivity.java1739 List<TvTrackInfo> tracks = getTracks(TvTrackInfo.TYPE_AUDIO);
1740 if (tracks == null) {
1749 .getBestTrackInfo(tracks, id, language, channelCount);
1764 List<TvTrackInfo> tracks = getTracks(TvTrackInfo.TYPE_SUBTITLE);
1765 if (tracks == null) {
1779 for (int i = 0; i < tracks.size(); i++) {
1780 TvTrackInfo track = tracks.get(i);
2371 List<TvTrackInfo> tracks = getTracks(TvTrackInfo.TYPE_AUDIO);
2372 if (tracks != null) {
2373 for (TvTrackInfo track : tracks) {
[all...]
H A DInputSessionManager.java518 public void onTracksChanged(String inputId, List<TvTrackInfo> tracks) { argument
519 mDelegate.onTracksChanged(inputId, tracks);
/packages/apps/TV/src/com/android/tv/ui/
H A DTunableTvView.java232 public void onTracksChanged(String inputId, List<TvTrackInfo> tracks) {
234 for (TvTrackInfo track : tracks) {
259 List<TvTrackInfo> tracks = getTracks(type);
261 if (tracks != null) {
262 for (TvTrackInfo track : tracks) {
1115 // audio tracks to enforce the mute request. We don't want to send mute request if we are
/packages/apps/Music/src/com/android/music/
H A DMediaPlaybackService.java692 // Also delay stopping the service if we're transitioning between tracks.
867 * Appends a list of tracks to the current playlist.
871 * the new tracks immediately.
872 * @param list The list of tracks to append.
906 * @param list The new list of tracks.
988 * @return An array of integers containing the IDs of the tracks in the play list
1256 * we're currently transitioning between tracks), false if not.
1266 a track randomly picked from the not-yet-played tracks when shuffling.
1267 If all tracks have already been played, pick from the full set, but
1274 user can back up to tracks tha
[all...]
/packages/apps/TV/src/com/android/tv/tuner/ts/
H A DSectionParser.java901 // The list of audio tracks sent is located at both AC3 Audio descriptor and ISO 639
939 List<AtscAudioTrack> tracks = new ArrayList<>();
944 // descriptors have the same number of tracks.
946 return tracks;
969 tracks.add(audioTrack);
971 return tracks;
/packages/apps/TV/libs/
H A Dexoplayer_v2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer2/ ...
H A Dexoplayer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ...

Completed in 378 milliseconds