/cts/tests/tests/text/src/android/text/method/cts/ |
D | MetaKeyKeyListenerTest.java | 41 content.setSpan(Selection.SELECTION_START, 0, 0, Spanned.SPAN_POINT_POINT); in testPressKey() 42 content.setSpan(Selection.SELECTION_END, 0, 0, Spanned.SPAN_POINT_POINT); in testPressKey() 47 content.setSpan(Selection.SELECTION_START, 1, 1, Spanned.SPAN_POINT_POINT); in testPressKey() 48 content.setSpan(Selection.SELECTION_END, 1, 1, Spanned.SPAN_POINT_POINT); in testPressKey() 53 content.setSpan(Selection.SELECTION_START, 3, 3, Spanned.SPAN_POINT_POINT); in testPressKey() 54 content.setSpan(Selection.SELECTION_END, 3, 3, Spanned.SPAN_POINT_POINT); in testPressKey() 66 content.setSpan(Selection.SELECTION_START, 0, 0, Spanned.SPAN_POINT_POINT); in testReleaseKey() 67 content.setSpan(Selection.SELECTION_END, 0, 0, Spanned.SPAN_POINT_POINT); in testReleaseKey() 72 content.setSpan(Selection.SELECTION_START, 1, 1, Spanned.SPAN_POINT_POINT); in testReleaseKey() 73 content.setSpan(Selection.SELECTION_END, 1, 1, Spanned.SPAN_POINT_POINT); in testReleaseKey() [all …]
|
D | EditorState.java | 172 spannable.setSpan(new MockReplacementSpan(), replacementSpanStart, replacementSpanEnd, in setByString()
|
D | DigitsKeyListenerTest.java | 83 spannableSource.setSpan(what, 0, spannableSource.length(), Spanned.SPAN_POINT_POINT); in testFilter1() 161 spannableSource.setSpan(what, 0, spannableSource.length(), Spanned.SPAN_POINT_POINT); in testFilter2() 243 spannableSource.setSpan(what, 0, spannableSource.length(), Spanned.SPAN_POINT_POINT); in testFilter3() 328 spannableSource.setSpan(what, 0, spannableSource.length(), Spanned.SPAN_POINT_POINT); in testFilter4()
|
D | NumberKeyListenerTest.java | 73 spannableSource.setSpan(what, 0, spannableSource.length(), Spanned.SPAN_POINT_POINT); in testFilter()
|
D | LinkMovementMethodTest.java | 464 mSpannable.setSpan(clickableSpan, start, end, Spanned.SPAN_MARK_MARK); in markClickable()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | SpannableStringBuilderTest.java | 96 builder.setSpan(mUnderlineSpan, 2, 4, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in testGetSpanFlags() 97 builder.setSpan(mUnderlineSpan, 0, 1, Spanned.SPAN_EXCLUSIVE_INCLUSIVE); in testGetSpanFlags() 98 builder.setSpan(mStrikethroughSpan, 5, 7, Spanned.SPAN_INCLUSIVE_EXCLUSIVE); in testGetSpanFlags() 108 builder.setSpan(mUnderlineSpan, 1, 2, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in testNextSpanTransition() 109 builder.setSpan(mUnderlineSpan, 3, 4, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in testNextSpanTransition() 110 builder.setSpan(mStrikethroughSpan, 5, 6, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in testNextSpanTransition() 111 builder.setSpan(mStrikethroughSpan, 8, 9, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in testNextSpanTransition() 123 builder.setSpan(mUnderlineSpan, 4, 1, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in testSetSpan() 130 builder.setSpan(mUnderlineSpan, -1, 100, Spanned.SPAN_POINT_POINT); in testSetSpan() 136 builder.setSpan(null, 1, 4, Spanned.SPAN_POINT_POINT); in testSetSpan() [all …]
|
D | SpannableStringTest.java | 61 spannable.setSpan(null, 1, 4, SpannableString.SPAN_POINT_POINT); in testSetSpan() 67 spannable.setSpan(underlineSpan, 0, 2, SpannableString.SPAN_EXCLUSIVE_EXCLUSIVE); in testSetSpan() 74 spannable.setSpan(null, 4, 1, SpannableString.SPAN_POINT_POINT); in testSetSpan() 80 spannable.setSpan(underlineSpan, -1, text.length() + 1, in testSetSpan() 93 spannable.setSpan(underlineSpan, 0, 2, 2); in testRemoveSpan() 140 first.setSpan(quoteSpan, 0, 2, Spanned.SPAN_PARAGRAPH); in testSubsequence_copiesSpans() 141 first.setSpan(localeSpan, 2, 4, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testSubsequence_copiesSpans() 142 first.setSpan(underlineSpan, 0, first.length(), Spanned.SPAN_PRIORITY); in testSubsequence_copiesSpans() 167 first.setSpan(new QuoteSpan(), 0, 2, Spanned.SPAN_PARAGRAPH); in testCopyConstructor_copiesAllSpans() 168 first.setSpan(new LocaleSpan(Locale.US), 2, 4, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testCopyConstructor_copiesAllSpans() [all …]
|
D | HtmlTest.java | 222 s.setSpan(new AlignmentSpan.Standard(Layout.Alignment.ALIGN_CENTER), in testParagraphStyles() 230 s.setSpan(new AlignmentSpan.Standard(Layout.Alignment.ALIGN_OPPOSITE), in testParagraphStyles() 239 s.setSpan(new AlignmentSpan.Standard(Layout.Alignment.ALIGN_NORMAL), in testParagraphStyles() 249 s.setSpan(new BulletSpan(), 0, 8, Spanned.SPAN_PARAGRAPH); in testBulletSpan() 250 s.setSpan(new BulletSpan(), 8, 16, Spanned.SPAN_PARAGRAPH); in testBulletSpan() 265 s.setSpan(new QuoteSpan(), start, end, Spannable.SPAN_PARAGRAPH); in testBlockquote() 271 s.setSpan(new QuoteSpan(), start, end, Spannable.SPAN_PARAGRAPH); in testBlockquote() 295 s.setSpan(new StyleSpan(Typeface.BOLD), start, end, SPAN_EXCLUSIVE_INCLUSIVE); in testMarkup() 301 s.setSpan(new StyleSpan(Typeface.ITALIC), start, end, SPAN_EXCLUSIVE_INCLUSIVE); in testMarkup() 307 s.setSpan(new TypefaceSpan("monospace"), start, end, SPAN_EXCLUSIVE_INCLUSIVE); in testMarkup() [all …]
|
D | StaticLayoutLineBreakingTest.java | 228 result.setSpan(getMetricAffectingSpan(), spanStarts[i], spanEnds[i], in spanify() 351 ssb.setSpan(metricAffectingSpan, spanStart, spanEnd, in testWithOneSpan() 376 ssb.setSpan(metricAffectingSpan1, spanStart1, spanEnd1, in testWithTwoSpans() 381 ssb.setSpan(metricAffectingSpan2, spanStart2, spanEnd2, in testWithTwoSpans()
|
D | SpannableStringBuilderSpanTest.java | 374 spannable.setSpan(mSpans[count], start, end, flag); in initSpans() 383 spannable.setSpan(mRecorder, 0, spannable.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE); in initSpans() 557 newText.setSpan(new QuoteSpan(), 0, 1, Spannable.SPAN_PARAGRAPH); in testReplace_retainsParagraphSpanInSourceIfEndIsEqualToLengthOfString() 574 newText.setSpan(new QuoteSpan(), 0, 1, Spannable.SPAN_PARAGRAPH); in testReplace_discardsParagraphSpanInSourceIfThereIsNoNewLineAfter()
|
D | TextUtilsTest.java | 148 string1.setSpan(urlSpan, 0, string1.length() - 1, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in testConcat() 150 string2.setSpan(bgColorSpan, 0, string2.length() - 1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testConcat() 187 source1.setSpan(urlSpan, 0, midPos, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in testCopySpansFrom() 189 source1.setSpan(bgColorSpan, midPos - 1, in testCopySpansFrom() 209 source2.setSpan(urlSpan, 0, source2.length() - 1, Spanned.SPAN_EXCLUSIVE_INCLUSIVE); in testCopySpansFrom() 533 spanString.setSpan(new URLSpan(url), 0, spanString.length(), in testEquals() 544 urlSpanString.setSpan(urlSpan, 0, urlSpanString.length(), in testEquals() 547 bgColorSpanString.setSpan(bgColorSpan, 0, bgColorSpanString.length(), in testEquals() 936 text.setSpan(mockReplacementSpan, POS_FIRST_D800 - 1, text.length() - 1, in testGetOffsetAfter() 997 text.setSpan(mockReplacementSpan, 0, POS_FIRST_DC00 + 1, in testGetOffsetBefore() [all …]
|
D | LayoutTest.java | 48 mSpannedText.setSpan(new StrikethroughSpan(), 0, 1, Spannable.SPAN_INCLUSIVE_EXCLUSIVE); in setUp()
|
D | StaticLayoutTest.java | 1213 text.setSpan(new StyleSpan(Typeface.BOLD),
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | MultiAutoCompleteTextView_CommaTokenizerTest.java | 126 spannableString.setSpan(what, 0, spannableString.length(), in testTerminateToken()
|
D | TextViewTest.java | 1345 text.setSpan(span, 0, 1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testSetText_updatesHeightAfterRemovingImageSpan() 1987 spannable.setSpan(new URLSpan("http://example.com"), 0, spannable.length(), 0); in testCutAndPaste_withAndWithoutStyle() 3444 spannable.setSpan(new URLSpan(url), 0, url.length(), 0); in testGetUrls() 3450 spannable.setSpan(new URLSpan(email), 0, email.length(), 0); in testGetUrls() 3459 spannable.setSpan(new Object(), 0, 9, 0); in testGetUrls() 4066 ss.setSpan(new UnderlineSpan(), 0, 2, 0); in testSetExtractedText() 4067 ss.setSpan(new URLSpan("ctstest://TextView/test"), 1, 2, 0); in testSetExtractedText()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
D | GpsTestActivity.java | 146 spanText.setSpan(new ForegroundColorSpan(color), start, end, 0); in log()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BundleTest.java | 61 mSpannable.setSpan(new ForegroundColorSpan(0x123456), 0, 3, 0); in setUp()
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 76142 public abstract void setSpan( 77275 void setSpan( 77324 public void setSpan( 77450 private void setSpan( 77606 public void setSpan(
|