Home
last modified time | relevance | path

Searched refs:getCues (Results 1 – 20 of 20) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/webvtt/
DWebvttSubtitleTest.java98 assertSingleCueEmpty(simpleSubtitle.getCues(0)); in simpleSubtitleText()
99 assertSingleCueEmpty(simpleSubtitle.getCues(500_000)); in simpleSubtitleText()
100 assertSingleCueEmpty(simpleSubtitle.getCues(999_999)); in simpleSubtitleText()
103 assertSingleCueTextEquals(FIRST_SUBTITLE_STRING, simpleSubtitle.getCues(1_000_000)); in simpleSubtitleText()
104 assertSingleCueTextEquals(FIRST_SUBTITLE_STRING, simpleSubtitle.getCues(1_500_000)); in simpleSubtitleText()
105 assertSingleCueTextEquals(FIRST_SUBTITLE_STRING, simpleSubtitle.getCues(1_999_999)); in simpleSubtitleText()
108 assertSingleCueEmpty(simpleSubtitle.getCues(2_000_000)); in simpleSubtitleText()
109 assertSingleCueEmpty(simpleSubtitle.getCues(2_500_000)); in simpleSubtitleText()
110 assertSingleCueEmpty(simpleSubtitle.getCues(2_999_999)); in simpleSubtitleText()
113 assertSingleCueTextEquals(SECOND_SUBTITLE_STRING, simpleSubtitle.getCues(3_000_000)); in simpleSubtitleText()
[all …]
DWebvttDecoderTest.java79 Cue firstCue = Iterables.getOnlyElement(subtitle.getCues(subtitle.getEventTime(0))); in decodeTypical()
84 Cue secondCue = Iterables.getOnlyElement(subtitle.getCues(subtitle.getEventTime(2))); in decodeTypical()
96 Cue firstCue = Iterables.getOnlyElement(subtitle.getCues(subtitle.getEventTime(0))); in decodeWithBom()
101 Cue secondCue = Iterables.getOnlyElement(subtitle.getCues(subtitle.getEventTime(2))); in decodeWithBom()
113 Cue firstCue = Iterables.getOnlyElement(subtitle.getCues(subtitle.getEventTime(0))); in decodeTypicalWithBadTimestamps()
118 Cue secondCue = Iterables.getOnlyElement(subtitle.getCues(subtitle.getEventTime(2))); in decodeTypicalWithBadTimestamps()
130 Cue firstCue = Iterables.getOnlyElement(subtitle.getCues(subtitle.getEventTime(0))); in decodeTypicalWithIds()
135 Cue secondCue = Iterables.getOnlyElement(subtitle.getCues(subtitle.getEventTime(2))); in decodeTypicalWithIds()
147 Cue firstCue = Iterables.getOnlyElement(subtitle.getCues(subtitle.getEventTime(0))); in decodeTypicalWithComments()
152 Cue secondCue = Iterables.getOnlyElement(subtitle.getCues(subtitle.getEventTime(2))); in decodeTypicalWithComments()
[all …]
DMp4WebvttDecoderTest.java114 assertThat(result.getCues(0)).isEmpty(); in noCueSample()
142 List<Cue> subtitleCues = subtitle.getCues(0); in assertMp4WebvttSubtitleEquals()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/ssa/
DSsaDecoderTest.java55 assertThat(subtitle.getCues(0).isEmpty()).isTrue(); in decodeEmpty()
66 Cue firstCue = subtitle.getCues(subtitle.getEventTime(0)).get(0); in decodeTypical()
129 assertThat(Iterables.transform(subtitle.getCues(1_000_010), cue -> cue.text.toString())) in decodeOverlappingTimecodes()
131 assertThat(Iterables.transform(subtitle.getCues(2_000_010), cue -> cue.text.toString())) in decodeOverlappingTimecodes()
133 assertThat(Iterables.transform(subtitle.getCues(4_230_010), cue -> cue.text.toString())) in decodeOverlappingTimecodes()
135 assertThat(Iterables.transform(subtitle.getCues(5_230_010), cue -> cue.text.toString())) in decodeOverlappingTimecodes()
137 assertThat(Iterables.transform(subtitle.getCues(6_000_010), cue -> cue.text.toString())) in decodeOverlappingTimecodes()
139 assertThat(Iterables.transform(subtitle.getCues(8_440_010), cue -> cue.text.toString())) in decodeOverlappingTimecodes()
141 assertThat(Iterables.transform(subtitle.getCues(9_440_010), cue -> cue.text.toString())) in decodeOverlappingTimecodes()
143 assertThat(Iterables.transform(subtitle.getCues(10_720_010), cue -> cue.text.toString())) in decodeOverlappingTimecodes()
[all …]
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/tx3g/
DTx3gDecoderTest.java61 assertThat(subtitle.getCues(0)).isEmpty(); in decodeNoSubtitle()
70 SpannedString text = new SpannedString(subtitle.getCues(0).get(0).text); in decodeJustText()
73 assertFractionalLinePosition(subtitle.getCues(0).get(0), 0.85f); in decodeJustText()
82 SpannedString text = new SpannedString(subtitle.getCues(0).get(0).text); in decodeWithStyl()
90 assertFractionalLinePosition(subtitle.getCues(0).get(0), 0.85f); in decodeWithStyl()
100 SpannedString text = new SpannedString(subtitle.getCues(0).get(0).text); in decodeWithStylAllDefaults()
103 assertFractionalLinePosition(subtitle.getCues(0).get(0), 0.85f); in decodeWithStylAllDefaults()
112 SpannedString text = new SpannedString(subtitle.getCues(0).get(0).text); in decodeUtf16BeNoStyl()
115 assertFractionalLinePosition(subtitle.getCues(0).get(0), 0.85f); in decodeUtf16BeNoStyl()
124 SpannedString text = new SpannedString(subtitle.getCues(0).get(0).text); in decodeUtf16LeNoStyl()
[all …]
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/subrip/
DSubripDecoderTest.java51 assertThat(subtitle.getCues(0).isEmpty()).isTrue(); in decodeEmpty()
155 assertThat(subtitle.getCues(subtitle.getEventTime(0)).get(0).text.toString()) in decodeCueWithTag()
158 assertThat(subtitle.getCues(subtitle.getEventTime(2)).get(0).text.toString()) in decodeCueWithTag()
161 assertThat(subtitle.getCues(subtitle.getEventTime(4)).get(0).text.toString()) in decodeCueWithTag()
164 assertThat(subtitle.getCues(subtitle.getEventTime(6)).get(0).text.toString()) in decodeCueWithTag()
167 assertThat(subtitle.getCues(subtitle.getEventTime(8)).get(0).text.toString()) in decodeCueWithTag()
198 assertThat(subtitle.getCues(subtitle.getEventTime(eventIndex)).get(0).text.toString()) in assertTypicalCue1()
205 assertThat(subtitle.getCues(subtitle.getEventTime(eventIndex)).get(0).text.toString()) in assertTypicalCue2()
213 assertThat(subtitle.getCues(subtitle.getEventTime(eventIndex)).get(0).text.toString()) in assertTypicalCue3()
225 Cue cue = subtitle.getCues(eventTimeUs).get(0); in assertAlignmentCue()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/
DSubtitleOutputBuffer.java64 public List<Cue> getCues(long timeUs) { in getCues() method in SubtitleOutputBuffer
65 return Assertions.checkNotNull(subtitle).getCues(timeUs - subsampleOffsetUs); in getCues()
DSubtitle.java57 List<Cue> getCues(long timeUs); in getCues() method
DTextRenderer.java215 updateOutput(subtitle.getCues(positionUs)); in render()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ttml/
DTtmlSubtitle.java73 public List<Cue> getCues(long timeUs) { in getCues() method in TtmlSubtitle
74 return root.getCues(timeUs, globalStyles, regionMap, imageMap); in getCues()
DTtmlNode.java235 public List<Cue> getCues( in getCues() method in TtmlNode
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/dvb/
DDvbSubtitle.java50 public List<Cue> getCues(long timeUs) { in getCues() method in DvbSubtitle
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/pgs/
DPgsSubtitle.java48 public List<Cue> getCues(long timeUs) { in getCues() method in PgsSubtitle
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/
DMp4WebvttSubtitle.java53 public List<Cue> getCues(long timeUs) { in getCues() method in Mp4WebvttSubtitle
DWebvttSubtitle.java71 public List<Cue> getCues(long timeUs) {
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/cea/
DCeaSubtitle.java56 public List<Cue> getCues(long timeUs) { in getCues() method in CeaSubtitle
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/tx3g/
DTx3gSubtitle.java59 public List<Cue> getCues(long timeUs) { in getCues() method in Tx3gSubtitle
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ssa/
DSsaSubtitle.java62 public List<Cue> getCues(long timeUs) {
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/subrip/
DSubripSubtitle.java62 public List<Cue> getCues(long timeUs) {
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/ttml/
DTtmlDecoderTest.java281 List<Cue> cues = subtitle.getCues(1_000_000); in multipleRegions()
649 List<Cue> cues = subtitle.getCues(timeUs); in getOnlyCueAtTimeUs()