Searched refs:mSelectionEnd (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | EditorState.java | 60 public int mSelectionEnd = -1; field in EditorState 76 mSelectionEnd = -1; in setByString() 97 if (mSelectionStart != -1 || mSelectionEnd != -1) { in setByString() 101 mSelectionStart = mSelectionEnd = sb.length(); in setByString() 109 if (mSelectionEnd != -1) { in setByString() 113 mSelectionEnd = sb.length(); in setByString() 131 if (mSelectionStart == -1 || mSelectionEnd == -1) { in setByString() 132 if (mSelectionEnd != -1) { in setByString() 142 } else if (mSelectionStart > mSelectionEnd) { in setByString() 181 Assert.assertEquals(expected.mSelectionEnd, mSelectionEnd); in assertEquals()
|
D | ForwardDeleteTest.java | 62 mTextView.setSelection(state.mSelectionStart, state.mSelectionEnd); in forwardDelete() 70 state.mSelectionEnd = mTextView.getSelectionEnd(); in forwardDelete()
|
D | BackspaceTest.java | 64 mTextView.setSelection(state.mSelectionStart, state.mSelectionEnd); in backspace() 72 state.mSelectionEnd = mTextView.getSelectionEnd(); in backspace()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | CursorAnchorInfo.java | 55 private final int mSelectionEnd; field in CursorAnchorInfo 135 mSelectionEnd = source.readInt(); in CursorAnchorInfo() 157 dest.writeInt(mSelectionEnd); in writeToParcel() 203 if (mSelectionStart != that.mSelectionStart || mSelectionEnd != that.mSelectionEnd) { in equals() 242 + " mSelection=" + mSelectionStart + "," + mSelectionEnd in toString() 260 private int mSelectionEnd = -1; field in CursorAnchorInfo.Builder 278 mSelectionEnd = newEnd; in setSelectionRange() 401 mSelectionEnd = -1; in reset() 428 return new CursorAnchorInfo(builder.mSelectionStart, builder.mSelectionEnd, in create() 441 mSelectionEnd = selectionEnd; in CursorAnchorInfo() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | SelectionActionModeHelper.java | 534 private int mSelectionEnd; field in SelectionActionModeHelper.SelectionTracker 553 mOriginalEnd = mSelectionEnd = selectionEnd; in onOriginalSelection() 584 mSelectionEnd = result.mEnd; in onClassifiedSelection() 585 mAllowReset = mSelectionStart != mOriginalStart || mSelectionEnd != mOriginalEnd; in onClassifiedSelection() 597 mSelectionEnd = selectionEnd; in onSelectionUpdated() 637 && textIndex >= mSelectionStart && textIndex <= mSelectionEnd in resetSelection() 644 mSelectionEnd = sortedSelectionIndices[1]; in resetSelection() 656 if (isSelectionStarted() && start == mSelectionStart && end == mSelectionEnd) { in onTextChanged() 670 return mSelectionStart >= 0 && mSelectionEnd >= 0 && mSelectionStart != mSelectionEnd; in isSelectionStarted() 697 mSelectionStart, mSelectionEnd, in run() [all …]
|
D | NumberPicker.java | 2390 private int mSelectionEnd; field in NumberPicker.SetSelectionCommand 2401 mSelectionEnd = selectionEnd; in post() 2419 mInputText.setSelection(mSelectionStart, mSelectionEnd); in run()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | StaticLayoutTest.java | 431 assertEquals("The editor has selection", state.mSelectionStart, state.mSelectionEnd); in moveCursorToRightCursorableOffset() 434 state.mSelectionStart = state.mSelectionEnd = newOffset; in moveCursorToRightCursorableOffset() 438 assertEquals("The editor has selection", state.mSelectionStart, state.mSelectionEnd); in moveCursorToLeftCursorableOffset() 441 state.mSelectionStart = state.mSelectionEnd = newOffset; in moveCursorToLeftCursorableOffset()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 74821 Landroid/view/inputmethod/CursorAnchorInfo$Builder;->mSelectionEnd:I 74835 Landroid/view/inputmethod/CursorAnchorInfo;->mSelectionEnd:I 82809 Landroid/widget/NumberPicker$SetSelectionCommand;->mSelectionEnd:I 84050 Landroid/widget/SelectionActionModeHelper$SelectionTracker;->mSelectionEnd:I 84087 Landroid/widget/SelectionActionModeHelper$TextClassificationHelper;->mSelectionEnd:I
|