Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DSelectionParagraphTest.java55 private void assertSelection(Spannable spannable, int start, int end) { in assertSelection()
64 final SpannableString spannable = new SpannableString(TEST_STRING); in testMoveParagraphNext_from_beginning_cursor() local
80 final SpannableString spannable = new SpannableString(TEST_STRING); in testMoveParagraphNext_from_middle_cursor() local
97 final SpannableString spannable = new SpannableString(TEST_STRING); in testMoveParagraphNext_from_paragraph_bounds_cursor() local
119 final SpannableString spannable = new SpannableString(TEST_STRING); in testMoveParagraphNext_from_end_cursor() local
133 final SpannableString spannable = new SpannableString(TEST_STRING); in testMoveParagraphNext_from_beginning_middle_selection() local
150 final SpannableString spannable = new SpannableString(TEST_STRING); in testMoveParagraphNext_from_beginning_paragraph_bounds_selection() local
167 final SpannableString spannable = new SpannableString(TEST_STRING); in testMoveParagraphNext_from_beginning_end_selection() local
181 final SpannableString spannable = new SpannableString(TEST_STRING); in testMoveParagraphNext_from_middle_middle_selection() local
195 final SpannableString spannable = new SpannableString(TEST_STRING); in testMoveParagraphNext_from_middle_paragraph_bounds_selection() local
[all …]
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/
DBaseMovementMethodTest.java206 SpannableString spannable = new SpannableString(mTextView.getText()); in testCallPreviousParagraph() local
215 SpannableString spannable = new SpannableString(mTextView.getText()); in testCallNextParagraph() local
224 SpannableString spannable = new SpannableString(view.getText()); in previousParagraphCall() local
240 SpannableString spannable = new SpannableString(view.getText()); in nextParagraphCall() local
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.java132 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.java616 final SpannableString spannable = new SpannableString("Test Content"); in testOnKeyUp() local
/cts/tests/tests/text/src/android/text/util/cts/
DLinkifyTest.java108 SpannableString spannable = new SpannableString("name@gmail.com, " in testAddLinksToSpannable() local
148 SpannableString spannable = SpannableString.valueOf(text); in testAddLinksToTextView() local
266 SpannableString spannable = new SpannableString(text); in testAddLinksToSpannableWithScheme() local
291 SpannableString spannable = new SpannableString(text); in testAddLinksToSpannableWithSchemeNullPattern() local
300 SpannableString spannable = new SpannableString(text); in testAddLinksToSpannableWithSchemeAndFilter() local
343 SpannableString spannable = new SpannableString(text); in testAddLinksToSpannableWithSchemeAndFilterNullPattern() local
357 SpannableString spannable = new SpannableString( in testAddLinksPhoneNumbers() local
469 final Spannable spannable = new SpannableString(text); in testAddLinks_UrlSpanFactory_withSpannable() local
489 final SpannableString spannable = new SpannableString(text); in testAddLinks_UrlSpanFactory_withSpannableAndFilter() local
510 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/apps/CtsVerifier/src/com/android/cts/verifier/controls/
DControlsPanelTestUtils.java32 Spannable spannable = Spannable.Factory.getInstance().newSpannable(text); in addImage() local
/cts/tests/tests/content/src/android/content/cts/
DClipDescriptionTest.java104 SpannableString spannable = new SpannableString("Hello this is some text"); in testIsStyledText() local
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java2564 final Spannable spannable = (Spannable)textView.getText(); in hasSpansAtMiddleOfText() local
2578 final Spannable spannable = (Spannable) mTextView.getText(); in testCutAndPaste_withAndWithoutStyle() local
4853 SpannableString spannable = new SpannableString(string); in testGetUrls() local