Home
last modified time | relevance | path

Searched refs:selectedText (Results 1 – 2 of 2) sorted by relevance

/cts/tests/pdf/module/src/android/graphics/pdf/cts/module/
DPdfRendererPreVTest.java486 List<String> selectedText = LINE_BREAK_PATTERN.splitAsStream( in selectPageText_textSpreadAcrossMultipleLines() local
490 assertThat(selectedText.size()).isEqualTo(2); in selectPageText_textSpreadAcrossMultipleLines()
491 assertThat(selectedText.get(0)).isEqualTo("And more text. And more text. And more text. "); in selectPageText_textSpreadAcrossMultipleLines()
492 assertThat(selectedText.get(1)).isEqualTo(" And more text"); in selectPageText_textSpreadAcrossMultipleLines()
513 List<String> selectedText = LINE_BREAK_PATTERN.splitAsStream( in selectPageText_rightToLeft() local
517 assertThat(selectedText.get(0)).isEqualTo( in selectPageText_rightToLeft()
519 assertThat(selectedText.get(1)).isEqualTo( in selectPageText_rightToLeft()
521 assertThat(selectedText.get(2)).isEqualTo(" And more text. And more text. And more text. "); in selectPageText_rightToLeft()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DEditorInfoTest.java413 final CharSequence selectedText = in assertExpectedTextLength() local
430 assertNull(selectedText); in assertExpectedTextLength()
432 assertEquals(expectSelectionLength.intValue(), selectedText.length()); in assertExpectedTextLength()
474 final CharSequence selectedText = in concatInitialSurroundingText() local
480 return TextUtils.concat(textBeforeCursor, selectedText, textAfterCursor); in concatInitialSurroundingText()