Home
last modified time | relevance | path

Searched defs:spannable (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DSpannableStringTest.java62 SpannableString spannable = SpannableString.valueOf(text); in testValueOf() local
79 SpannableString spannable = new SpannableString(text); in testSetSpan() local
109 SpannableString spannable = new SpannableString("hello, world"); in testRemoveSpan() local
134 SpannableString spannable = new SpannableString(text); in testSubSequence() local
DSpannable_FactoryTest.java42 Spannable spannable = factory.newSpannable(text); in testNewSpannable() local
DSpannableStringBuilderSpanTest.java139 private void verifySpanPositions(Spannable spannable, int replaceStart, int replaceEnd, in verifySpanPositions()
371 void initSpans(Spannable spannable, int rangeStart, int rangeEnd, int flag) { in initSpans()
437 public void reset(Spannable spannable) { in reset()
518 SpannableStringBuilder spannable = new SpannableStringBuilder("1 selection_to_replace"); in testReplace_discardsParagraphSpanInSourceIfThereIsNoNewLineBefore() local
531 SpannableStringBuilder spannable = new SpannableStringBuilder("1\nselection_to_replace"); in testReplace_retainsParagraphSpanInSourceIfThereIsNewLineBefore() local
546 SpannableStringBuilder spannable = new SpannableStringBuilder("selection_to_replace"); in testReplace_retainsParagraphSpanInSourceIfStartIsZero() local
562 SpannableStringBuilder spannable = new SpannableStringBuilder("selection_to_replace\n"); in testReplace_retainsParagraphSpanInSourceIfEndIsEqualToLengthOfString() local
578 SpannableStringBuilder spannable = new SpannableStringBuilder("r remaining\n"); in testReplace_discardsParagraphSpanInSourceIfThereIsNoNewLineAfter() local
DSelectionTest.java979 Spannable spannable = new SpannableStringBuilder("abcdef"); in testRemoveSelectionOnlyTriggersOneSpanRemoved() local
DSpannableStringBuilderTest.java851 final SpannableStringBuilder spannable = new SpannableStringBuilder(text); in testReplace_shouldNotThrowIndexOutOfBoundsExceptionForLongText() local
/cts/tests/tests/text/src/android/text/method/cts/
DLinkMovementMethodTest.java119 Spannable spannable = new SpannableString("test sequence"); in testOnTakeFocus() local
462 Spannable spannable = new SpannableString("test sequence"); in testInitialize() local
505 private void assertSelection(Spannable spannable, int start, int end) { in assertSelection()
510 private void assertSelection(Spannable spannable, int position) { in assertSelection()
514 private void assertSelectClickableLeftToRight(Spannable spannable, in assertSelectClickableLeftToRight()
520 private void assertSelectClickableRightToLeft(Spannable spannable, in assertSelectClickableRightToLeft()
DTouchTest.java131 final SpannableString spannable = new SpannableString(finalText); in testOnTouchEvent() local
DEditorState.java157 final Spannable spannable = new SpannableString(sb.toString()); in setByString() local
DArrowKeyMovementMethodTest.java963 Spannable spannable = new SpannableString("test content"); in testInitialize() local
1008 SpannableString spannable = new SpannableString("Test Content"); in testOnKeyUp() local
DScrollingMovementMethodTest.java599 final SpannableString spannable = new SpannableString("Test Content"); in testOnKeyUp() local
/cts/tests/tests/text/src/android/text/util/cts/
DLinkifyTest.java107 SpannableString spannable = new SpannableString("name@gmail.com, " in testAddLinksToSpannable() local
147 SpannableString spannable = SpannableString.valueOf(text); in testAddLinksToTextView() local
265 SpannableString spannable = new SpannableString(text); in testAddLinksToSpannableWithScheme() local
290 SpannableString spannable = new SpannableString(text); in testAddLinksToSpannableWithSchemeNullPattern() local
299 SpannableString spannable = new SpannableString(text); in testAddLinksToSpannableWithSchemeAndFilter() local
342 SpannableString spannable = new SpannableString(text); in testAddLinksToSpannableWithSchemeAndFilterNullPattern() local
356 SpannableString spannable = new SpannableString( in testAddLinksPhoneNumbers() local
468 final Spannable spannable = new SpannableString(text); in testAddLinks_UrlSpanFactory_withSpannable() local
488 final SpannableString spannable = new SpannableString(text); in testAddLinks_UrlSpanFactory_withSpannableAndFilter() local
509 Spannable spannable = new SpannableString("hey man.its me"); in testAddLinks_doesNotAddLinksForUrlWithoutProtocolAndWithoutKnownTld() local
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DPhoneNumberUtilsTest.java366 Spannable spannable = new SpannableString("Hello 6502223333"); in testAddPhoneTtsSpan() local
381 Spannable spannable = (Spannable) PhoneNumberUtils.createTtsSpannable(phoneNumber); in testGetPhoneTtsSpannable() local
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java2406 final Spannable spannable = (Spannable)textView.getText(); in hasSpansAtMiddleOfText() local
2420 final Spannable spannable = (Spannable) mTextView.getText(); in testCutAndPaste_withAndWithoutStyle() local
4671 SpannableString spannable = new SpannableString(string); in testGetUrls() local