Searched refs:selectionEnd (Results 1 – 6 of 6) sorted by relevance
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | InputConnectionTestUtils.java | 48 int selectionEnd = -1; in formatString() local 56 selectionEnd = builder.length(); in formatString() 72 if (selectionEnd < 0) { in formatString() 75 Selection.setSelection(builder, selectionStart, selectionEnd); in formatString()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | CursorAnchorInfoTest.java | 93 final int selectionEnd = 40; in testBuilder() local 107 builder.setSelectionRange(selectionStart, selectionEnd) in testBuilder() 121 assertEquals(selectionEnd, info.getSelectionEnd()); in testBuilder() 146 assertEquals(selectionEnd, info2.getSelectionEnd()); in testBuilder() 173 assertEquals(selectionEnd, info3.getSelectionEnd()); in testBuilder() 399 final int selectionEnd = 40; in testMatrixIsRequired() local 413 builder.setSelectionRange(selectionStart, selectionEnd) in testMatrixIsRequired()
|
D | ExtractedTextTest.java | 77 extractedText.selectionEnd = EXPECTED_SELECTION_END; in createForTest() 95 assertEquals(EXPECTED_SELECTION_END, extractedText.selectionEnd); in assertTestInstance()
|
D | BaseInputConnectionTest.java | 201 final int selectionEnd = Selection.getSelectionEnd(source); in createConnectionWithSelection() local 203 Selection.setSelection(editable, selectionStart, selectionEnd); in createConnectionWithSelection()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | BaseKeyListenerTest.java | 589 final boolean selectInTextView, final int selectionStart, final int selectionEnd) in prepTextViewSync() argument 596 selectionStart, selectionEnd); in prepTextViewSync()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 454 final int selectionEnd = LONG_TEXT.length(); in testAccessMovementMethod() local 461 selectionStart, selectionEnd); in testAccessMovementMethod() local 468 assertEquals(selectionEnd, Selection.getSelectionEnd(mTextView.getText())); in testAccessMovementMethod() 478 selectionStart, selectionEnd); in testAccessMovementMethod() local 485 assertEquals(selectionEnd, Selection.getSelectionEnd(mTextView.getText())); in testAccessMovementMethod() 490 assertEquals(selectionEnd, Selection.getSelectionEnd(mTextView.getText())); in testAccessMovementMethod() 3141 int selectionEnd = 7; in testSelection() local 3147 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd); in testSelection() local 3149 assertEquals(selectionEnd, mTextView.getSelectionEnd()); in testSelection() 5723 et.selectionEnd = 2; in testSetExtractedText() [all …]
|