Searched refs:selectionStart (Results 1 – 8 of 8) sorted by relevance
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | InputConnectionTestUtils.java | 53 int selectionStart = -1; in formatString() local 59 selectionStart = builder.length(); in formatString() 75 if (selectionStart < 0) { in formatString() 81 Selection.setSelection(builder, selectionStart, selectionEnd); in formatString() 122 final int selectionStart = Selection.getSelectionStart(source); 125 Selection.setSelection(editable, selectionStart, selectionEnd);
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | TextSnapshotTest.java | 97 final int selectionStart = Selection.getSelectionStart(text); in surroundingText() local 98 assertThat(selectionStart).isGreaterThan(-1); in surroundingText() 103 selectionStart - offset, in surroundingText()
|
D | ExtractedTextTest.java | 78 extractedText.selectionStart = EXPECTED_SELECTION_START; in createForTest() 96 assertEquals(EXPECTED_SELECTION_START, extractedText.selectionStart); in assertTestInstance()
|
D | CursorAnchorInfoTest.java | 135 final int selectionStart = 30; in testBuilder() local 156 builder.setSelectionRange(selectionStart, selectionEnd) in testBuilder() 173 assertEquals(selectionStart, info.getSelectionStart()); in testBuilder() 206 assertEquals(selectionStart, info2.getSelectionStart()); in testBuilder() 237 assertEquals(selectionStart, info3.getSelectionStart()); in testBuilder() 526 final int selectionStart = 30; 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 | 513 final int selectionStart = 10; in testAccessMovementMethod() local 521 selectionStart, selectionEnd); in testAccessMovementMethod() local 527 assertEquals(selectionStart, Selection.getSelectionStart(mTextView.getText())); in testAccessMovementMethod() 532 assertEquals(selectionStart, Selection.getSelectionStart(mTextView.getText())); in testAccessMovementMethod() 533 assertEquals(selectionStart, Selection.getSelectionEnd(mTextView.getText())); in testAccessMovementMethod() 538 selectionStart, selectionEnd); in testAccessMovementMethod() local 544 assertEquals(selectionStart, Selection.getSelectionStart(mTextView.getText())); in testAccessMovementMethod() 549 assertEquals(selectionStart, Selection.getSelectionStart(mTextView.getText())); in testAccessMovementMethod() 3222 int selectionStart = 5; in testSelection() local 3224 Selection.setSelection((Spannable) mTextView.getText(), selectionStart); in testSelection() local [all …]
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 56098 field public int selectionStart;
|