Home
last modified time | relevance | path

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

/cts/tests/tests/view/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/tests/view/src/android/view/inputmethod/cts/
DExtractedTextTest.java29 extractedText.selectionEnd = 11; in testWriteToParcel()
39 assertEquals(extractedText.selectionEnd, target.selectionEnd); in testWriteToParcel()
DBaseInputConnectionTest.java273 final int selectionEnd = Selection.getSelectionEnd(source); in createDummyConnectionWithSelection() local
275 Selection.setSelection(editable, selectionStart, selectionEnd); in createDummyConnectionWithSelection()
/cts/tests/tests/text/src/android/text/method/cts/
DBaseKeyListenerTest.java550 final boolean selectInTextView, final int selectionStart, final int selectionEnd) { in prepTextViewSync() argument
557 selectionStart, selectionEnd); in prepTextViewSync()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java250 final int selectionEnd = LONG_TEXT.length(); in testAccessMovementMethod() local
258 selectionStart, selectionEnd); in testAccessMovementMethod()
266 assertEquals(selectionEnd, Selection.getSelectionEnd(mTextView.getText())); in testAccessMovementMethod()
277 selectionStart, selectionEnd); in testAccessMovementMethod()
285 assertEquals(selectionEnd, Selection.getSelectionEnd(mTextView.getText())); in testAccessMovementMethod()
290 assertEquals(selectionEnd, Selection.getSelectionEnd(mTextView.getText())); in testAccessMovementMethod()
2548 int selectionEnd = 7;
2554 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd);
2556 assertEquals(selectionEnd, mTextView.getSelectionEnd());
4045 et.selectionEnd = 2; in testSetExtractedText()
[all …]