Home
last modified time | relevance | path

Searched refs:mTimeProvider (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/packages/MediaComponents/src/com/android/media/subtitle/
DSubtitleTrack.java201 if (mTimeProvider != null) { in scheduleTimedEvents()
204 mTimeProvider.notifyAt( in scheduleTimedEvents()
244 mTimeProvider.notifyAt(MediaTimeProvider.NO_TIME, this); in onStop()
247 protected MediaTimeProvider mTimeProvider; field in SubtitleTrack
259 if (mTimeProvider != null) { in show()
260 mTimeProvider.scheduleUpdate(this); in show()
269 if (mTimeProvider != null) { in hide()
270 mTimeProvider.cancelNotifications(this); in hide()
299 if (mTimeProvider != null) { in addCue()
301 nowMs = mTimeProvider.getCurrentTimeUs( in addCue()
[all …]
DSubtitleController.java40 private MediaTimeProvider mTimeProvider; field in SubtitleController
102 mTimeProvider = timeProvider; in SubtitleController()
183 mSelectedTrack.setTimeProvider(mTimeProvider); in doSelectTrack()
/frameworks/base/media/java/android/media/
DSubtitleTrack.java213 if (mTimeProvider != null) { in scheduleTimedEvents()
216 mTimeProvider.notifyAt( in scheduleTimedEvents()
265 mTimeProvider.notifyAt(MediaTimeProvider.NO_TIME, this); in onStop()
269 protected MediaTimeProvider mTimeProvider; field in SubtitleTrack
282 if (mTimeProvider != null) { in show()
283 mTimeProvider.scheduleUpdate(this); in show()
293 if (mTimeProvider != null) { in hide()
294 mTimeProvider.cancelNotifications(this); in hide()
324 if (mTimeProvider != null) { in addCue()
326 nowMs = mTimeProvider.getCurrentTimeUs( in addCue()
[all …]
DSubtitleController.java38 private MediaTimeProvider mTimeProvider; field in SubtitleController
98 mTimeProvider = timeProvider; in SubtitleController()
179 mSelectedTrack.setTimeProvider(mTimeProvider); in doSelectTrack()
DMediaPlayer2Impl.java166 mTimeProvider = new TimeProvider(this); in MediaPlayer2Impl()
1710 if (mTimeProvider != null) { in reset()
1711 mTimeProvider.close(); in reset()
1712 mTimeProvider = null; in reset()
2125 … mSubtitleController = new SubtitleController(context, mTimeProvider, MediaPlayer2Impl.this); in setSubtitleAnchor()
2248 Handler h = mTimeProvider.mEventHandler; in addSubtitleSource()
2481 Handler h = mTimeProvider.mEventHandler; in addTimedTextSource()
2716 if (mTimeProvider != null) { in release()
2717 mTimeProvider.close(); in release()
2718 mTimeProvider = null; in release()
[all …]
DMediaPlayer.java674 mTimeProvider = new TimeProvider(this); in MediaPlayer()
2130 if (mTimeProvider != null) { in release()
2131 mTimeProvider.close(); in release()
2132 mTimeProvider = null; in release()
2172 if (mTimeProvider != null) { in reset()
2173 mTimeProvider.close(); in reset()
2174 mTimeProvider = null; in reset()
2685 … mSubtitleController = new SubtitleController(context, mTimeProvider, MediaPlayer.this); in setSubtitleAnchor()
2811 Handler h = mTimeProvider.mEventHandler; in addSubtitleSource()
3041 Handler h = mTimeProvider.mEventHandler; in addTimedTextSource()
[all …]
DTtmlRenderer.java611 if (DEBUG && mTimeProvider != null) { in updateView()
614 (mTimeProvider.getCurrentTimeUs(false, true) / 1000) + in updateView()
DWebVttRenderer.java1093 if (DEBUG && mTimeProvider != null) { in updateView()
1096 (mTimeProvider.getCurrentTimeUs(false, true) / 1000) + in updateView()
/frameworks/support/media/src/main/java/androidx/media/subtitle/
DSubtitleTrack.java212 if (mTimeProvider != null) { in scheduleTimedEvents()
215 mTimeProvider.notifyAt(mNextScheduledTimeMs >= 0 in scheduleTimedEvents()
253 mTimeProvider.notifyAt(MediaTimeProvider.NO_TIME, this); in onStop()
256 protected MediaTimeProvider mTimeProvider; field in SubtitleTrack
271 if (mTimeProvider != null) { in show()
272 mTimeProvider.scheduleUpdate(this); in show()
284 if (mTimeProvider != null) { in hide()
285 mTimeProvider.cancelNotifications(this); in hide()
314 if (mTimeProvider != null) { in addCue()
316 nowMs = mTimeProvider.getCurrentTimeUs( in addCue()
[all …]
DSubtitleController.java48 private MediaTimeProvider mTimeProvider; field in SubtitleController
112 mTimeProvider = timeProvider; in SubtitleController()
193 mSelectedTrack.setTimeProvider(mTimeProvider); in doSelectTrack()