Home
last modified time | relevance | path

Searched refs:cue (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/java/android/media/
DSubtitleTrack.java139 Cue cue = event.second; in updateActiveCues() local
141 if (cue.mEndTimeMs == event.first) { in updateActiveCues()
143 if (DEBUG) Log.v(TAG, "Removing " + cue); in updateActiveCues()
144 mActiveCues.remove(cue); in updateActiveCues()
145 if (cue.mRunID == 0) { in updateActiveCues()
148 } else if (cue.mStartTimeMs == event.first) { in updateActiveCues()
151 if (DEBUG) Log.v(TAG, "Adding " + cue); in updateActiveCues()
152 if (cue.mInnerTimesMs != null) { in updateActiveCues()
153 cue.onTime(timeMs); in updateActiveCues()
155 mActiveCues.add(cue); in updateActiveCues()
[all …]
DSRTRenderer.java86 TextTrackCue cue = new TextTrackCue(); in onData() local
87 cue.mStartTimeMs = data.getStartTimeUs() / 1000; in onData()
88 cue.mEndTimeMs = (data.getStartTimeUs() + data.getDurationUs()) / 1000; in onData()
93 cue.mLines = new TextTrackCueSpan[lines.length][]; in onData()
100 cue.mLines[i++] = span; in onData()
103 addCue(cue); in onData()
124 TextTrackCue cue = new TextTrackCue(); in onData() local
126 cue.mStartTimeMs = parseMs(startEnd[0]); in onData()
127 cue.mEndTimeMs = parseMs(startEnd[1]); in onData()
128 cue.mRunID = runID; in onData()
[all …]
DWebVttRenderer.java431 TextTrackCue cue = (TextTrackCue) o; in equals() local
432 boolean res = mId.equals(cue.mId) && in equals()
433 mPauseOnExit == cue.mPauseOnExit && in equals()
434 mWritingDirection == cue.mWritingDirection && in equals()
435 mRegionId.equals(cue.mRegionId) && in equals()
436 mSnapToLines == cue.mSnapToLines && in equals()
437 mAutoLinePosition == cue.mAutoLinePosition && in equals()
439 ((mLinePosition != null && mLinePosition.equals(cue.mLinePosition)) || in equals()
440 (mLinePosition == null && cue.mLinePosition == null))) && in equals()
441 mTextPosition == cue.mTextPosition && in equals()
[all …]
DTtmlRenderer.java597 TtmlCue cue = null; in onRootNodeParsed() local
598 while ((cue = getNextResult()) != null) { in onRootNodeParsed()
599 addCue(cue); in onRootNodeParsed()
739 TtmlCue cue = (TtmlCue) activeCues.get(i); in setActiveCues() local
740 subtitleText += cue.mText + "\n"; in setActiveCues()