Home
last modified time | relevance | path

Searched refs:SubtitleTrack (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/media/java/android/media/
DSubtitleController.java25 import android.media.SubtitleTrack.RenderingWidget;
41 private Vector<SubtitleTrack> mTracks;
42 private SubtitleTrack mSelectedTrack;
64 doSelectTrack((SubtitleTrack)msg.obj);
106 mTracks = new Vector<SubtitleTrack>(); in SubtitleController()
123 public SubtitleTrack[] getTracks() { in getTracks()
125 SubtitleTrack[] tracks = new SubtitleTrack[mTracks.size()]; in getTracks()
134 public SubtitleTrack getSelectedTrack() { in getSelectedTrack()
156 public boolean selectTrack(SubtitleTrack track) { in selectTrack()
165 private void doSelectTrack(SubtitleTrack track) { in doSelectTrack()
[all …]
DMediaPlayer.java30 import android.media.SubtitleTrack.RenderingWidget;
2541 private Vector<Pair<Integer, SubtitleTrack>> mIndexTrackPairs = new Vector<>();
2558 Pair<Integer, SubtitleTrack> p = mIndexTrackPairs.get(i); in getTrackInfo()
2563 SubtitleTrack track = p.second; in getTrackInfo()
2685 for (Pair<Integer, SubtitleTrack> p : mIndexTrackPairs) {
2688 SubtitleTrack track = p.second;
2698 public void onSubtitleTrackSelected(SubtitleTrack track) { in onSubtitleTrackSelected()
2714 for (Pair<Integer, SubtitleTrack> p : mIndexTrackPairs) { in onSubtitleTrackSelected()
2766 SubtitleTrack track = mSubtitleController.addTrack(fFormat); in addSubtitleSource()
2779 mIndexTrackPairs.add(Pair.<Integer, SubtitleTrack>create(null, track)); in addSubtitleSource()
[all …]
DTtmlRenderer.java66 public SubtitleTrack createTrack(MediaFormat format) { in createTrack()
278 class TtmlCue extends SubtitleTrack.Cue {
529 class TtmlTrack extends SubtitleTrack implements TtmlNodeListener {
607 public void updateView(Vector<SubtitleTrack.Cue> activeCues) { in updateView()
670 class TtmlRenderingWidget extends LinearLayout implements SubtitleTrack.RenderingWidget {
735 public void setActiveCues(Vector<SubtitleTrack.Cue> activeCues) { in setActiveCues()
DSubtitleTrack.java39 public abstract class SubtitleTrack implements MediaTimeProvider.OnMediaTimeListener { class
66 public SubtitleTrack(MediaFormat format) { in SubtitleTrack() method in SubtitleTrack
347 final SubtitleTrack track = this; in addCue()
DWebVttRenderer.java62 public SubtitleTrack createTrack(MediaFormat format) { in createTrack()
380 class TextTrackCue extends SubtitleTrack.Cue {
982 class WebVttTrack extends SubtitleTrack implements WebVttCueListener {
1089 public void updateView(Vector<SubtitleTrack.Cue> activeCues) { in updateView()
1116 class WebVttRenderingWidget extends ViewGroup implements SubtitleTrack.RenderingWidget {
1233 public void setActiveCues(Vector<SubtitleTrack.Cue> activeCues) { in setActiveCues()
DSRTRenderer.java51 public SubtitleTrack createTrack(MediaFormat format) { in createTrack()
DClosedCaptionRenderer.java68 public SubtitleTrack createTrack(MediaFormat format) { in createTrack()
81 class Cea608CaptionTrack extends SubtitleTrack {
113 abstract class ClosedCaptionWidget extends ViewGroup implements SubtitleTrack.RenderingWidget {
DCea708CaptionRenderer.java77 public SubtitleTrack createTrack(MediaFormat format) { in createTrack()
90 class Cea708CaptionTrack extends SubtitleTrack {
/frameworks/base/core/java/android/widget/
DVideoView.java37 import android.media.SubtitleTrack.RenderingWidget;