Searched refs:selectionEnd (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/view/src/android/view/inputmethod/cts/util/ |
D | InputConnectionTestUtils.java | 47 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/ |
D | ExtractedTextTest.java | 29 extractedText.selectionEnd = 11; in testWriteToParcel() 39 assertEquals(extractedText.selectionEnd, target.selectionEnd); in testWriteToParcel()
|
D | BaseInputConnectionTest.java | 273 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/ |
D | BaseKeyListenerTest.java | 550 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/ |
D | TextViewTest.java | 250 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 …]
|