Searched refs:selectionEnd (Results 1 – 8 of 8) sorted by relevance
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | InputConnectionTestUtils.java | 54 int selectionEnd = -1; in formatString() local 62 selectionEnd = builder.length(); in formatString() 78 if (selectionEnd < 0) { in formatString() 81 Selection.setSelection(builder, selectionStart, selectionEnd); in formatString() 123 final int selectionEnd = Selection.getSelectionEnd(source); 125 Selection.setSelection(editable, selectionStart, selectionEnd);
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | TextSnapshotTest.java | 99 final int selectionEnd = Selection.getSelectionEnd(text); in surroundingText() local 100 assertThat(selectionEnd).isGreaterThan(-1); in surroundingText() 104 selectionEnd - offset, in surroundingText()
|
D | ExtractedTextTest.java | 79 extractedText.selectionEnd = EXPECTED_SELECTION_END; in createForTest() 97 assertEquals(EXPECTED_SELECTION_END, extractedText.selectionEnd); in assertTestInstance()
|
D | CursorAnchorInfoTest.java | 136 final int selectionEnd = 40; in testBuilder() local 156 builder.setSelectionRange(selectionStart, selectionEnd) in testBuilder() 174 assertEquals(selectionEnd, info.getSelectionEnd()); in testBuilder() 207 assertEquals(selectionEnd, info2.getSelectionEnd()); in testBuilder() 238 assertEquals(selectionEnd, info3.getSelectionEnd()); in testBuilder() 527 final int selectionEnd = 40; in testMatrixIsRequired() local 541 builder.setSelectionRange(selectionStart, selectionEnd) in testMatrixIsRequired()
|
D | SpellCheckerTest.kt | 721 start <= editText.selectionStart && editText.selectionEnd <= end in <lambda>()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | BaseKeyListenerTest.java | 617 final boolean selectInTextView, final int selectionStart, final int selectionEnd) in prepTextViewSync() argument 624 selectionStart, selectionEnd); in prepTextViewSync() 640 final int selectionStart, final int selectionEnd, int lineCount) in prepTextViewWithLinesSync() argument 657 selectionStart, selectionEnd); in prepTextViewWithLinesSync()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 514 final int selectionEnd = LONG_TEXT.length(); in testAccessMovementMethod() local 521 selectionStart, selectionEnd); in testAccessMovementMethod() local 528 assertEquals(selectionEnd, Selection.getSelectionEnd(mTextView.getText())); in testAccessMovementMethod() 538 selectionStart, selectionEnd); in testAccessMovementMethod() local 545 assertEquals(selectionEnd, Selection.getSelectionEnd(mTextView.getText())); in testAccessMovementMethod() 550 assertEquals(selectionEnd, Selection.getSelectionEnd(mTextView.getText())); in testAccessMovementMethod() 3223 int selectionEnd = 7; in testSelection() local 3229 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd); in testSelection() local 3231 assertEquals(selectionEnd, mTextView.getSelectionEnd()); in testSelection() 5947 et.selectionEnd = 2; in testSetExtractedText() [all …]
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 56097 field public int selectionEnd;
|