Searched refs:mSelectionStart (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | EditorState.java | 59 public int mSelectionStart = -1; field in EditorState 75 mSelectionStart = -1; in setByString() 97 if (mSelectionStart != -1 || mSelectionEnd != -1) { in setByString() 101 mSelectionStart = mSelectionEnd = sb.length(); in setByString() 103 if (mSelectionStart != -1) { in setByString() 107 mSelectionStart = sb.length(); in setByString() 131 if (mSelectionStart == -1 || mSelectionEnd == -1) { in setByString() 135 } else if (mSelectionStart != -1) { in setByString() 142 } else if (mSelectionStart > mSelectionEnd) { in setByString() 180 Assert.assertEquals(expected.mSelectionStart, mSelectionStart); in assertEquals()
|
D | ForwardDeleteTest.java | 62 mTextView.setSelection(state.mSelectionStart, state.mSelectionEnd); in forwardDelete() 69 state.mSelectionStart = mTextView.getSelectionStart(); in forwardDelete()
|
D | BackspaceTest.java | 64 mTextView.setSelection(state.mSelectionStart, state.mSelectionEnd); in backspace() 71 state.mSelectionStart = mTextView.getSelectionStart(); in backspace()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | CursorAnchorInfo.java | 50 private final int mSelectionStart; field in CursorAnchorInfo 134 mSelectionStart = source.readInt(); in CursorAnchorInfo() 156 dest.writeInt(mSelectionStart); in writeToParcel() 203 if (mSelectionStart != that.mSelectionStart || mSelectionEnd != that.mSelectionEnd) { in equals() 242 + " mSelection=" + mSelectionStart + "," + mSelectionEnd in toString() 259 private int mSelectionStart = -1; field in CursorAnchorInfo.Builder 277 mSelectionStart = newStart; in setSelectionRange() 400 mSelectionStart = -1; in reset() 428 return new CursorAnchorInfo(builder.mSelectionStart, builder.mSelectionEnd, in create() 440 mSelectionStart = selectionStart; in CursorAnchorInfo() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | SelectionActionModeHelper.java | 533 private int mSelectionStart; field in SelectionActionModeHelper.SelectionTracker 552 mOriginalStart = mSelectionStart = selectionStart; in onOriginalSelection() 583 mSelectionStart = result.mStart; in onClassifiedSelection() 585 mAllowReset = mSelectionStart != mOriginalStart || mSelectionEnd != mOriginalEnd; in onClassifiedSelection() 596 mSelectionStart = selectionStart; in onSelectionUpdated() 637 && textIndex >= mSelectionStart && textIndex <= mSelectionEnd in resetSelection() 643 mSelectionStart = sortedSelectionIndices[0]; 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 | 2389 private int mSelectionStart; field in NumberPicker.SetSelectionCommand 2400 mSelectionStart = selectionStart; 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() 433 final int newOffset = layout.getOffsetToRightOf(state.mSelectionStart); in moveCursorToRightCursorableOffset() 434 state.mSelectionStart = state.mSelectionEnd = newOffset; in moveCursorToRightCursorableOffset() 438 assertEquals("The editor has selection", state.mSelectionStart, state.mSelectionEnd); in moveCursorToLeftCursorableOffset() 440 final int newOffset = layout.getOffsetToLeftOf(state.mSelectionStart); in moveCursorToLeftCursorableOffset() 441 state.mSelectionStart = state.mSelectionEnd = newOffset; in moveCursorToLeftCursorableOffset()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 74822 Landroid/view/inputmethod/CursorAnchorInfo$Builder;->mSelectionStart:I 74836 Landroid/view/inputmethod/CursorAnchorInfo;->mSelectionStart:I 82810 Landroid/widget/NumberPicker$SetSelectionCommand;->mSelectionStart:I 84051 Landroid/widget/SelectionActionModeHelper$SelectionTracker;->mSelectionStart:I 84088 Landroid/widget/SelectionActionModeHelper$TextClassificationHelper;->mSelectionStart:I
|