Home
last modified time | relevance | path

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

/external/exoplayer/tree/library/ui/src/test/java/com/google/android/exoplayer2/ui/
DSpannedToHtmlConverterTest.java41 spanned.setSpan( in convert_supportsForegroundColorSpan()
56 spanned.setSpan( in convert_supportsHorizontalTextInVerticalContextSpan()
74 spanned.setSpan( in convert_supportsStyleSpan()
79 spanned.setSpan( in convert_supportsStyleSpan()
84 spanned.setSpan( in convert_supportsStyleSpan()
101 spanned.setSpan( in convert_supportsRubySpan()
106 spanned.setSpan( in convert_supportsRubySpan()
132 spanned.setSpan( in convert_supportsUnderlineSpan()
167 spanned.setSpan( in convert_escapesUnrecognisedTagInSpannedString()
198 spanned.setSpan( in convert_ignoresUnrecognisedSpan()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSpannableStringTest.java33 spanStr.setSpan(s1, 12, 33, 0); in testSetSpan()
34 spanStr.setSpan(s2, 1, 10, 0); in testSetSpan()
43 spanStr.setSpan(s1, 12, 33, 0); in testRemoveSpan()
44 spanStr.setSpan(s2, 1, 10, 0); in testRemoveSpan()
57 spanStr.setSpan(s1, 1, 10, 0); in testGetSpans()
58 spanStr.setSpan(s2, 20, 30, 0); in testGetSpans()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/tx3g/
DTx3gDecoder.java201 cueText.setSpan(new StyleSpan(Typeface.BOLD_ITALIC), start, end, flags); in attachFontFace()
203 cueText.setSpan(new StyleSpan(Typeface.BOLD), start, end, flags); in attachFontFace()
206 cueText.setSpan(new StyleSpan(Typeface.ITALIC), start, end, flags); in attachFontFace()
210 cueText.setSpan(new UnderlineSpan(), start, end, flags); in attachFontFace()
213 cueText.setSpan(new StyleSpan(Typeface.NORMAL), start, end, flags); in attachFontFace()
222 cueText.setSpan(new ForegroundColorSpan(colorArgb), start, end, in attachColor()
231 cueText.setSpan(new TypefaceSpan(fontFamily), start, end, in attachFontFamily()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/span/
DSpanUtilTest.java37 spannable.setSpan( in addOrReplaceSpan_replacesSameTypeAndIndexes()
55 spannable.setSpan(originalSpan, /* start= */ 2, /* end= */ 5, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in addOrReplaceSpan_ignoresDifferentType()
68 spannable.setSpan(originalSpan, /* start= */ 2, /* end= */ 5, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in addOrReplaceSpan_ignoresDifferentStartEndAndFlags()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ttml/
DTtmlRenderUtil.java86 builder.setSpan(new StyleSpan(style.getStyle()), start, end, in applyStylesToSpan()
90 builder.setSpan(new StrikethroughSpan(), start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStylesToSpan()
93 builder.setSpan(new UnderlineSpan(), start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStylesToSpan()
146 builder.setSpan( in applyStylesToSpan()
157 builder.setSpan(new DeleteTextSpan(), start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStylesToSpan()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/
DWebvttCueParser.java544 text.setSpan(new StyleSpan(STYLE_BOLD), start, end, in applySpansForTag()
548 text.setSpan(new StyleSpan(STYLE_ITALIC), start, end, in applySpansForTag()
555 text.setSpan(new UnderlineSpan(), start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in applySpansForTag()
592 text.setSpan( in applyRubySpans()
615 text.setSpan(new ForegroundColorSpan(color), start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in applyDefaultColors()
618 text.setSpan(new BackgroundColorSpan(color), start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in applyDefaultColors()
637 spannedText.setSpan(new StrikethroughSpan(), start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyleToText()
640 spannedText.setSpan(new UnderlineSpan(), start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in applyStyleToText()
705 spannedText.setSpan( in applyStyleToText()
/external/exoplayer/tree/testutils/src/test/java/com/google/android/exoplayer2/testutil/truth/
DSpannedSubjectTest.java152 spannable.setSpan( in boldItalicSpan_withTwoSpans()
164 spannable.setSpan( in boldItalicSpan_withRepeatSpans()
348 spannable.setSpan( in foregroundColorSpan_wrongColor()
716 spannable.setSpan(spanToInsert, SPAN_START, SPAN_END, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in checkHasSpanFailsDueToIndexMismatch()
785 spannable.setSpan(spanToInsert, SPAN_START, SPAN_END, spanFlags); in createSpannable()
791 spannable.setSpan(spanToInsert, SPAN_START, SPAN_END, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in createSpannableWithUnrelatedSpanAnd()
792 spannable.setSpan( in createSpannableWithUnrelatedSpanAnd()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/cea/
DCea708Decoder.java1045 captionStringBuilder.setSpan(new StyleSpan(Typeface.ITALIC), italicsStartPosition, in setPenAttributes()
1055 captionStringBuilder.setSpan(new UnderlineSpan(), underlineStartPosition, in setPenAttributes()
1070 captionStringBuilder.setSpan(new ForegroundColorSpan(this.foregroundColor), in setPenColor()
1082 captionStringBuilder.setSpan(new BackgroundColorSpan(this.backgroundColor), in setPenColor()
1149 spannableStringBuilder.setSpan(new StyleSpan(Typeface.ITALIC), italicsStartPosition, in buildSpannableString()
1154 spannableStringBuilder.setSpan(new UnderlineSpan(), underlineStartPosition, in buildSpannableString()
1159 spannableStringBuilder.setSpan(new ForegroundColorSpan(foregroundColor), in buildSpannableString()
1164 spannableStringBuilder.setSpan(new BackgroundColorSpan(backgroundColor), in buildSpannableString()
DCea608Decoder.java1034 builder.setSpan(new UnderlineSpan(), start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
1038 builder.setSpan(new StyleSpan(Typeface.ITALIC), start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
1047 builder.setSpan(new ForegroundColorSpan(color), start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DImageClassifier.java140 span.setSpan(new ForegroundColorSpan(android.graphics.Color.LTGRAY), 0, span.length(), 0); in classifyFrame()
279 span.setSpan(new RelativeSizeSpan(sizeScale), 0, span.length(), 0); in printTopKLabels()
281 span.setSpan(new ForegroundColorSpan(color), 0, span.length(), 0); in printTopKLabels()
/external/setupdesign/main/src/com/google/android/setupdesign/span/
DSpanHelper.java35 spannable.setSpan(newSpan, spanStart, spanEnd, 0); in replaceSpan()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/span/
DSpanUtil.java51 spannable.setSpan(span, start, end, spanFlags); in addOrReplaceSpan()
/external/protobuf/php/src/Google/Protobuf/Internal/SourceCodeInfo/
DLocation.php287 public function setSpan($var) function in Google\\Protobuf\\Internal\\SourceCodeInfo\\Location
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DSubtitlePainter.java288 cueText.setSpan( in setupTextLayout()
313 cueText.setSpan( in setupTextLayout()
316 cueTextEdge.setSpan( in setupTextLayout()
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/android/
DAccessibilityUtilTest.java68 spannableString.setSpan(mockClickableSpan, 0, 1, Spanned.SPAN_COMPOSING); in setUp()
/external/skqp/src/pathops/
DSkOpSpan.h150 void setSpan(const SkOpSpanBase* span) { in setSpan() function
DSkOpSpan.cpp461 testPtT->setSpan(keptSpan); in release()
/external/skia/src/pathops/
DSkOpSpan.h150 void setSpan(const SkOpSpanBase* span) { in setSpan() function
DSkOpSpan.cpp461 testPtT->setSpan(keptSpan); in release()
/external/opencensus-java/exporters/trace/stackdriver/src/main/java/io/opencensus/exporter/trace/stackdriver/
DStackdriverV2ExporterHandler.java182 .setSpan(spanIdHex) in generateSpan()