Searched refs:selectionEnd (Results 1 – 5 of 5) sorted by relevance
/cts/tests/inputmethod/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/inputmethod/src/android/view/inputmethod/cts/ |
D | ExtractedTextTest.java | 36 extractedText.selectionEnd = 11; in testWriteToParcel() 46 assertEquals(extractedText.selectionEnd, target.selectionEnd); in testWriteToParcel()
|
D | BaseInputConnectionTest.java | 269 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/ |
D | BaseKeyListenerTest.java | 588 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/ |
D | TextViewTest.java | 322 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 …]
|