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.java213 SpannableString spannable = new SpannableString(mTextView.getText()); in testCallPreviousParagraph() local
222 SpannableString spannable = new SpannableString(mTextView.getText()); in testCallNextParagraph() local
231 SpannableString spannable = new SpannableString(view.getText()); in previousParagraphCall() local
247 SpannableString spannable = new SpannableString(view.getText()); in nextParagraphCall() local
DLinkMovementMethodTest.java130 Spannable spannable = new SpannableString("test sequence"); in testOnTakeFocus() local
519 Spannable spannable = new SpannableString("test sequence"); in testInitialize() local
564 private void assertSelection(Spannable spannable, int start, int end) { in assertSelection()
569 private void assertSelection(Spannable spannable, int position) { in assertSelection()
573 private void assertSelectClickableLeftToRight(Spannable spannable, in assertSelectClickableLeftToRight()
579 private void assertSelectClickableRightToLeft(Spannable spannable, in assertSelectClickableRightToLeft()
DTouchTest.java143 final SpannableString spannable = new SpannableString(finalText); in testOnTouchEvent() local
DEditorState.java157 final Spannable spannable = new SpannableString(sb.toString()); in setByString() local
DArrowKeyMovementMethodTest.java975 Spannable spannable = new SpannableString("test content"); in testInitialize() local
1020 SpannableString spannable = new SpannableString("Test Content"); in testOnKeyUp() local
DScrollingMovementMethodTest.java624 final SpannableString spannable = new SpannableString("Test Content"); in testOnKeyUp() local
/cts/tests/tests/text/src/android/text/util/cts/
DLinkifyTest.java110 SpannableString spannable = new SpannableString("name@gmail.com, " in testAddLinksToSpannable() local
150 SpannableString spannable = SpannableString.valueOf(text); in testAddLinksToTextView() local
268 SpannableString spannable = new SpannableString(text); in testAddLinksToSpannableWithScheme() local
293 SpannableString spannable = new SpannableString(text); in testAddLinksToSpannableWithSchemeNullPattern() local
302 SpannableString spannable = new SpannableString(text); in testAddLinksToSpannableWithSchemeAndFilter() local
345 SpannableString spannable = new SpannableString(text); in testAddLinksToSpannableWithSchemeAndFilterNullPattern() local
359 SpannableString spannable = new SpannableString( in testAddLinksPhoneNumbers() local
471 final Spannable spannable = new SpannableString(text); in testAddLinks_UrlSpanFactory_withSpannable() local
491 final SpannableString spannable = new SpannableString(text); in testAddLinks_UrlSpanFactory_withSpannableAndFilter() local
512 Spannable spannable = new SpannableString("hey man.its me"); in testAddLinks_doesNotAddLinksForUrlWithoutProtocolAndWithoutKnownTld() local
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DPhoneNumberUtilsTest.java393 Spannable spannable = new SpannableString("Hello 6502223333"); in testAddPhoneTtsSpan() local
408 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.java116 SpannableString spannable = new SpannableString("Hello this is some text"); in testIsStyledText() local
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java2583 final Spannable spannable = (Spannable)textView.getText(); in hasSpansAtMiddleOfText() local
2597 final Spannable spannable = (Spannable) mTextView.getText(); in testCutAndPaste_withAndWithoutStyle() local
4925 SpannableString spannable = new SpannableString(string); in testGetUrls() local