Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/inputmethod/cts/
DExtractedTextTest.java30 extractedText.selectionStart = 2; in testWriteToParcel()
40 assertEquals(extractedText.selectionStart, target.selectionStart); 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.java241 final int selectionStart = 10; in testAccessMovementMethod() local
250 selectionStart, selectionEnd); in testAccessMovementMethod()
257 assertEquals(selectionStart, Selection.getSelectionStart(mTextView.getText())); in testAccessMovementMethod()
262 assertEquals(selectionStart, Selection.getSelectionStart(mTextView.getText())); in testAccessMovementMethod()
263 assertEquals(selectionStart, Selection.getSelectionEnd(mTextView.getText())); in testAccessMovementMethod()
269 selectionStart, selectionEnd); in testAccessMovementMethod()
276 assertEquals(selectionStart, Selection.getSelectionStart(mTextView.getText())); in testAccessMovementMethod()
281 assertEquals(selectionStart, Selection.getSelectionStart(mTextView.getText())); in testAccessMovementMethod()
2217 int selectionStart = 5;
2219 Selection.setSelection((Spannable) mTextView.getText(), selectionStart);
[all …]