/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/webvtt/ |
D | WebvttSubtitleTest.java | 98 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 …]
|
D | WebvttDecoderTest.java | 79 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 …]
|
D | Mp4WebvttDecoderTest.java | 114 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/ |
D | SsaDecoderTest.java | 55 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/ |
D | Tx3gDecoderTest.java | 61 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/ |
D | SubripDecoderTest.java | 51 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/ |
D | SubtitleOutputBuffer.java | 64 public List<Cue> getCues(long timeUs) { in getCues() method in SubtitleOutputBuffer 65 return Assertions.checkNotNull(subtitle).getCues(timeUs - subsampleOffsetUs); in getCues()
|
D | Subtitle.java | 57 List<Cue> getCues(long timeUs); in getCues() method
|
D | TextRenderer.java | 215 updateOutput(subtitle.getCues(positionUs)); in render()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ttml/ |
D | TtmlSubtitle.java | 73 public List<Cue> getCues(long timeUs) { in getCues() method in TtmlSubtitle 74 return root.getCues(timeUs, globalStyles, regionMap, imageMap); in getCues()
|
D | TtmlNode.java | 235 public List<Cue> getCues( in getCues() method in TtmlNode
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/dvb/ |
D | DvbSubtitle.java | 50 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/ |
D | PgsSubtitle.java | 48 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/ |
D | Mp4WebvttSubtitle.java | 53 public List<Cue> getCues(long timeUs) { in getCues() method in Mp4WebvttSubtitle
|
D | WebvttSubtitle.java | 71 public List<Cue> getCues(long timeUs) {
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/cea/ |
D | CeaSubtitle.java | 56 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/ |
D | Tx3gSubtitle.java | 59 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/ |
D | SsaSubtitle.java | 62 public List<Cue> getCues(long timeUs) {
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/subrip/ |
D | SubripSubtitle.java | 62 public List<Cue> getCues(long timeUs) {
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/ttml/ |
D | TtmlDecoderTest.java | 281 List<Cue> cues = subtitle.getCues(1_000_000); in multipleRegions() 649 List<Cue> cues = subtitle.getCues(timeUs); in getOnlyCueAtTimeUs()
|