Home
last modified time | relevance | path

Searched refs:mSelectionStart (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/method/
DEditorState.java59 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()
DForwardDeleteTest.java62 mTextView.setSelection(state.mSelectionStart, state.mSelectionEnd); in forwardDelete()
69 state.mSelectionStart = mTextView.getSelectionStart(); in forwardDelete()
DBackspaceTest.java64 mTextView.setSelection(state.mSelectionStart, state.mSelectionEnd); in backspace()
71 state.mSelectionStart = mTextView.getSelectionStart(); in backspace()
/frameworks/base/core/java/android/view/inputmethod/
DSurroundingText.java45 private final int mSelectionStart; field in SurroundingText
79 mSelectionStart = selectionStart; in SurroundingText()
101 return mSelectionStart; in getSelectionStart()
130 out.writeInt(mSelectionStart); in writeToParcel()
189 return mSelectionStart == that.mSelectionStart in isEqualTo()
DCursorAnchorInfo.java55 private final int mSelectionStart; field in CursorAnchorInfo
159 mSelectionStart = source.readInt(); in CursorAnchorInfo()
184 dest.writeInt(mSelectionStart); in writeToParcel()
234 if (mSelectionStart != that.mSelectionStart || mSelectionEnd != that.mSelectionEnd) { in equals()
286 + " mSelection=" + mSelectionStart + "," + mSelectionEnd in toString()
307 private int mSelectionStart = -1; field in CursorAnchorInfo.Builder
329 mSelectionStart = newStart; in setSelectionRange()
520 mSelectionStart = -1; in reset()
551 return new CursorAnchorInfo(builder.mSelectionStart, builder.mSelectionEnd, in create()
568 mSelectionStart = selectionStart; in CursorAnchorInfo()
[all …]
/frameworks/base/core/java/android/widget/
DSelectionActionModeHelper.java542 private int mSelectionStart; field in SelectionActionModeHelper.SelectionTracker
561 mOriginalStart = mSelectionStart = selectionStart; in onOriginalSelection()
593 mSelectionStart = result.mStart; in onClassifiedSelection()
595 mAllowReset = mSelectionStart != mOriginalStart || mSelectionEnd != mOriginalEnd; in onClassifiedSelection()
606 mSelectionStart = selectionStart; in onSelectionUpdated()
649 && textIndex >= mSelectionStart && textIndex <= mSelectionEnd in resetSelection()
655 mSelectionStart = sortedSelectionIndices[0]; in resetSelection()
668 if (isSelectionStarted() && start == mSelectionStart && end == mSelectionEnd) { in onTextChanged()
682 return mSelectionStart >= 0 && mSelectionEnd >= 0 && mSelectionStart != mSelectionEnd; in isSelectionStarted()
709 mSelectionStart, mSelectionEnd, in run()
[all …]
DNumberPicker.java2389 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/
DStaticLayoutTest.java431 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/boot/hiddenapi/
Dhiddenapi-max-target-o.txt59750 Landroid/view/inputmethod/CursorAnchorInfo$Builder;->mSelectionStart:I
59764 Landroid/view/inputmethod/CursorAnchorInfo;->mSelectionStart:I
67738 Landroid/widget/NumberPicker$SetSelectionCommand;->mSelectionStart:I
68979 Landroid/widget/SelectionActionModeHelper$SelectionTracker;->mSelectionStart:I
69016 Landroid/widget/SelectionActionModeHelper$TextClassificationHelper;->mSelectionStart:I