Home
last modified time | relevance | path

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

/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DInputConnectionTestUtils.java47 int selectionEnd = -1; in formatString() local
55 selectionEnd = builder.length(); in formatString()
71 if (selectionEnd < 0) { in formatString()
74 Selection.setSelection(builder, selectionStart, selectionEnd); in formatString()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DExtractedTextTest.java36 extractedText.selectionEnd = 11; in testWriteToParcel()
46 assertEquals(extractedText.selectionEnd, target.selectionEnd); in testWriteToParcel()
DBaseInputConnectionTest.java269 final int selectionEnd = Selection.getSelectionEnd(source); in createDummyConnectionWithSelection() local
271 Selection.setSelection(editable, selectionStart, selectionEnd); in createDummyConnectionWithSelection()
/cts/tests/tests/text/src/android/text/method/cts/
DBaseKeyListenerTest.java588 final boolean selectInTextView, final int selectionStart, final int selectionEnd) in prepTextViewSync() argument
595 selectionStart, selectionEnd); in prepTextViewSync()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java322 final int selectionEnd = LONG_TEXT.length(); in testAccessMovementMethod() local
329 selectionStart, selectionEnd); in testAccessMovementMethod() local
336 assertEquals(selectionEnd, Selection.getSelectionEnd(mTextView.getText())); in testAccessMovementMethod()
346 selectionStart, selectionEnd); in testAccessMovementMethod() local
353 assertEquals(selectionEnd, Selection.getSelectionEnd(mTextView.getText())); in testAccessMovementMethod()
358 assertEquals(selectionEnd, Selection.getSelectionEnd(mTextView.getText())); in testAccessMovementMethod()
2918 int selectionEnd = 7; in testSelection() local
2924 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd); in testSelection() local
2926 assertEquals(selectionEnd, mTextView.getSelectionEnd()); in testSelection()
4968 et.selectionEnd = 2; in testSetExtractedText()
[all …]