Home
last modified time | relevance | path

Searched refs:POSITION_OVER (Results 1 – 9 of 9) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/webvtt/
DWebvttCueParserTest.java62 .withTextAndPosition("with ruby", RubySpan.POSITION_OVER); in parseRubyTag()
71 assertThat(text).hasRubySpanBetween(0, 1).withTextAndPosition("1", RubySpan.POSITION_OVER); in parseSingleRubyTagWithMultipleRts()
72 assertThat(text).hasRubySpanBetween(1, 2).withTextAndPosition("2", RubySpan.POSITION_OVER); in parseSingleRubyTagWithMultipleRts()
73 assertThat(text).hasRubySpanBetween(2, 3).withTextAndPosition("3", RubySpan.POSITION_OVER); in parseSingleRubyTagWithMultipleRts()
83 assertThat(text).hasRubySpanBetween(0, 1).withTextAndPosition("1", RubySpan.POSITION_OVER); in parseMultipleRubyTagsWithSingleRtEach()
84 assertThat(text).hasRubySpanBetween(1, 2).withTextAndPosition("2", RubySpan.POSITION_OVER); in parseMultipleRubyTagsWithSingleRtEach()
85 assertThat(text).hasRubySpanBetween(2, 3).withTextAndPosition("3", RubySpan.POSITION_OVER); in parseMultipleRubyTagsWithSingleRtEach()
103 .withTextAndPosition("", RubySpan.POSITION_OVER); in parseRubyTagWithEmptyTextTag()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/span/
DRubySpan.java50 public static final int POSITION_OVER = 1; field in RubySpan
73 @IntDef({POSITION_UNKNOWN, POSITION_OVER, POSITION_UNDER})
/external/exoplayer/tree/testutils/src/test/java/com/google/android/exoplayer2/testutil/truth/
DSpannedSubjectTest.java610 new RubySpan("ruby text", RubySpan.POSITION_OVER), Spanned.SPAN_INCLUSIVE_EXCLUSIVE); in rubySpan_success()
614 .withTextAndPosition("ruby text", RubySpan.POSITION_OVER) in rubySpan_success()
621 new RubySpan("ruby text", RubySpan.POSITION_OVER), SpannedSubject::hasRubySpanBetween); in rubySpan_wrongEndIndex()
626 SpannableString spannable = createSpannable(new RubySpan("ruby text", RubySpan.POSITION_OVER)); in rubySpan_wrongText()
634 .withTextAndPosition("incorrect text", RubySpan.POSITION_OVER)); in rubySpan_wrongText()
643 SpannableString spannable = createSpannable(new RubySpan("ruby text", RubySpan.POSITION_OVER)); in rubySpan_wrongPosition()
655 assertThat(expected).factValue("but was").contains("position=" + RubySpan.POSITION_OVER); in rubySpan_wrongPosition()
661 new RubySpan("ruby text", RubySpan.POSITION_OVER), in rubySpan_wrongFlags()
665 .withTextAndPosition("ruby text", RubySpan.POSITION_OVER)); in rubySpan_wrongFlags()
671 createSpannableWithUnrelatedSpanAnd(new RubySpan("ruby text", RubySpan.POSITION_OVER)); in noRubySpan_success()
[all …]
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/ttml/
DTtmlStyleTest.java234 style.setRubyPosition(RubySpan.POSITION_OVER); in rubyPosition()
235 assertThat(style.getRubyPosition()).isEqualTo(RubySpan.POSITION_OVER); in rubyPosition()
DTtmlDecoderTest.java618 .withTextAndPosition("1st rubies", RubySpan.POSITION_OVER); in rubies()
/external/exoplayer/tree/library/ui/src/test/java/com/google/android/exoplayer2/ui/
DSpannedToHtmlConverterTest.java102 new RubySpan("ruby-text", RubySpan.POSITION_OVER), in convert_supportsRubySpan()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DSpannedToHtmlConverter.java144 case RubySpan.POSITION_OVER: in getOpeningTag()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/
DWebvttCueParser.java593 new RubySpan(rubyText.toString(), RubySpan.POSITION_OVER), in applyRubySpans()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ttml/
DTtmlDecoder.java565 style = createIfNull(style).setRubyPosition(RubySpan.POSITION_OVER); in parseStyleAttributes()