Searched refs:mSubtitleController (Results 1 – 5 of 5) sorted by relevance
52 private SubtitleController mSubtitleController; field in VideoView2ImplApi28WithMp1115 mSubtitleController = new SubtitleController(context); in setupMediaPlayer()116 mSubtitleController.registerRenderer(new ClosedCaptionRenderer(context)); in setupMediaPlayer()117 mSubtitleController.setAnchor((SubtitleController.Anchor) mSubtitleView); in setupMediaPlayer()129 mSubtitleController.selectTrack(mSubtitleTrackIndices.get(0).second); in selectOrDeselectSubtitle()148 mSubtitleController.reset(); in extractTracks()156 SubtitleTrack track = mSubtitleController.addTrack(trackInfos[i].getFormat()); in extractTracks()
1707 if (mSubtitleController != null) { in reset()1708 mSubtitleController.reset(); in reset()2099 private SubtitleController mSubtitleController; field in MediaPlayer2Impl2107 mSubtitleController = controller; in setSubtitleAnchor()2108 mSubtitleController.setAnchor(anchor); in setSubtitleAnchor()2117 if ((mSubtitleController == null) && (ActivityThread.currentApplication() != null)) { in setSubtitleAnchor()2125 … mSubtitleController = new SubtitleController(context, mTimeProvider, MediaPlayer2Impl.this); in setSubtitleAnchor()2126 mSubtitleController.setAnchor(new Anchor() { in setSubtitleAnchor()2229 if (fIs == null || mSubtitleController == null) { in addSubtitleSource()2233 SubtitleTrack track = mSubtitleController.addTrack(fFormat); in addSubtitleSource()[all …]
2169 if (mSubtitleController != null) { in reset()2170 mSubtitleController.reset(); in reset()2660 private SubtitleController mSubtitleController; field in MediaPlayer2667 mSubtitleController = controller; in setSubtitleAnchor()2668 mSubtitleController.setAnchor(anchor); in setSubtitleAnchor()2677 if ((mSubtitleController == null) && (ActivityThread.currentApplication() != null)) { in setSubtitleAnchor()2685 … mSubtitleController = new SubtitleController(context, mTimeProvider, MediaPlayer.this); in setSubtitleAnchor()2686 mSubtitleController.setAnchor(new Anchor() { in setSubtitleAnchor()2792 if (fIs == null || mSubtitleController == null) { in addSubtitleSource()2796 SubtitleTrack track = mSubtitleController.addTrack(fFormat); in addSubtitleSource()[all …]
158 private SubtitleController mSubtitleController; field in VideoView2ImplBase914 mSubtitleController = new SubtitleController(context); in openVideo()915 mSubtitleController.registerRenderer(new ClosedCaptionRenderer(context)); in openVideo()916 mSubtitleController.setAnchor((SubtitleController.Anchor) mSubtitleView); in openVideo()1107 mSubtitleController.selectTrack(mSubtitleTrackIndices.get(0).second); in selectOrDeselectSubtitle()1125 mSubtitleController.reset(); in extractTracks()1133 SubtitleTrack track = mSubtitleController.addTrack(trackInfos.get(i).getFormat()); in extractTracks()
161 private SubtitleController mSubtitleController; field in VideoView2Impl726 mSubtitleController = new SubtitleController(context); in openVideo()727 mSubtitleController.registerRenderer(new ClosedCaptionRenderer(context)); in openVideo()728 mSubtitleController.setAnchor((SubtitleController.Anchor) mSubtitleView); in openVideo()950 mSubtitleController.selectTrack(mSubtitleTrackIndices.get(0).second); in selectOrDeselectSubtitle()968 mSubtitleController.reset(); in extractTracks()977 SubtitleTrack track = mSubtitleController.addTrack(trackInfos.get(i).getFormat()); in extractTracks()