Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/inputmethod/cts/
DExtractedTextTest.java29 extractedText.selectionEnd = 11; in testWriteToParcel()
39 assertEquals(extractedText.selectionEnd, target.selectionEnd); in testWriteToParcel()
/cts/tests/tests/text/src/android/text/method/cts/
DBaseKeyListenerTest.java554 final boolean selectInTextView, final int selectionStart, final int selectionEnd) { in prepTextViewSync() argument
561 selectionStart, selectionEnd); in prepTextViewSync()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java242 final int selectionEnd = LONG_TEXT.length(); in testAccessMovementMethod() local
250 selectionStart, selectionEnd); in testAccessMovementMethod()
258 assertEquals(selectionEnd, Selection.getSelectionEnd(mTextView.getText())); in testAccessMovementMethod()
269 selectionStart, selectionEnd); in testAccessMovementMethod()
277 assertEquals(selectionEnd, Selection.getSelectionEnd(mTextView.getText())); in testAccessMovementMethod()
282 assertEquals(selectionEnd, Selection.getSelectionEnd(mTextView.getText())); in testAccessMovementMethod()
2218 int selectionEnd = 7;
2224 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd);
2226 assertEquals(selectionEnd, mTextView.getSelectionEnd());