/cts/tests/tests/text/src/android/text/cts/ |
D | SpannableStringTest.java | 62 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
|
D | Spannable_FactoryTest.java | 42 Spannable spannable = factory.newSpannable(text); in testNewSpannable() local
|
D | SpannableStringBuilderSpanTest.java | 139 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
|
D | SelectionTest.java | 979 Spannable spannable = new SpannableStringBuilder("abcdef"); in testRemoveSelectionOnlyTriggersOneSpanRemoved() local
|
D | SpannableStringBuilderTest.java | 851 final SpannableStringBuilder spannable = new SpannableStringBuilder(text); in testReplace_shouldNotThrowIndexOutOfBoundsExceptionForLongText() local
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | LinkMovementMethodTest.java | 119 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()
|
D | TouchTest.java | 131 final SpannableString spannable = new SpannableString(finalText); in testOnTouchEvent() local
|
D | EditorState.java | 157 final Spannable spannable = new SpannableString(sb.toString()); in setByString() local
|
D | ArrowKeyMovementMethodTest.java | 963 Spannable spannable = new SpannableString("test content"); in testInitialize() local 1008 SpannableString spannable = new SpannableString("Test Content"); in testOnKeyUp() local
|
D | ScrollingMovementMethodTest.java | 589 final SpannableString spannable = new SpannableString("Test Content"); in testOnKeyUp() local
|
/cts/tests/tests/text/src/android/text/util/cts/ |
D | LinkifyTest.java | 107 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/ |
D | PhoneNumberUtilsTest.java | 335 Spannable spannable = new SpannableString("Hello 6502223333"); in testAddPhoneTtsSpan() local 350 Spannable spannable = (Spannable) PhoneNumberUtils.createTtsSpannable(phoneNumber); in testGetPhoneTtsSpannable() local
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 2406 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
|