Home
last modified time | relevance | path

Searched refs:selectionEnd (Results 1 – 7 of 7) sorted by relevance

/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DInputConnectionTestUtils.java48 int selectionEnd = -1; in formatString() local
56 selectionEnd = builder.length(); in formatString()
72 if (selectionEnd < 0) { in formatString()
75 Selection.setSelection(builder, selectionStart, selectionEnd); in formatString()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DCursorAnchorInfoTest.java93 final int selectionEnd = 40; in testBuilder() local
107 builder.setSelectionRange(selectionStart, selectionEnd) in testBuilder()
121 assertEquals(selectionEnd, info.getSelectionEnd()); in testBuilder()
146 assertEquals(selectionEnd, info2.getSelectionEnd()); in testBuilder()
173 assertEquals(selectionEnd, info3.getSelectionEnd()); in testBuilder()
399 final int selectionEnd = 40; in testMatrixIsRequired() local
413 builder.setSelectionRange(selectionStart, selectionEnd) in testMatrixIsRequired()
DExtractedTextTest.java77 extractedText.selectionEnd = EXPECTED_SELECTION_END; in createForTest()
95 assertEquals(EXPECTED_SELECTION_END, extractedText.selectionEnd); in assertTestInstance()
DBaseInputConnectionTest.java201 final int selectionEnd = Selection.getSelectionEnd(source); in createConnectionWithSelection() local
203 Selection.setSelection(editable, selectionStart, selectionEnd); in createConnectionWithSelection()
DSpellCheckerTest.kt658 start <= editText.selectionStart && editText.selectionEnd <= end in <lambda>()
/cts/tests/tests/text/src/android/text/method/cts/
DBaseKeyListenerTest.java589 final boolean selectInTextView, final int selectionStart, final int selectionEnd) in prepTextViewSync() argument
596 selectionStart, selectionEnd); in prepTextViewSync()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java454 final int selectionEnd = LONG_TEXT.length(); in testAccessMovementMethod() local
461 selectionStart, selectionEnd); in testAccessMovementMethod() local
468 assertEquals(selectionEnd, Selection.getSelectionEnd(mTextView.getText())); in testAccessMovementMethod()
478 selectionStart, selectionEnd); in testAccessMovementMethod() local
485 assertEquals(selectionEnd, Selection.getSelectionEnd(mTextView.getText())); in testAccessMovementMethod()
490 assertEquals(selectionEnd, Selection.getSelectionEnd(mTextView.getText())); in testAccessMovementMethod()
3141 int selectionEnd = 7; in testSelection() local
3147 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd); in testSelection() local
3149 assertEquals(selectionEnd, mTextView.getSelectionEnd()); in testSelection()
5723 et.selectionEnd = 2; in testSetExtractedText()
[all …]