/frameworks/base/core/java/android/text/method/ |
D | BaseKeyListener.java | 426 int selectionEnd = Selection.getSelectionEnd(content); in deleteSelection() local 427 if (selectionEnd < selectionStart) { in deleteSelection() 428 int temp = selectionEnd; in deleteSelection() 429 selectionEnd = selectionStart; in deleteSelection() 432 if (selectionStart != selectionEnd) { in deleteSelection() 433 content.delete(selectionStart, selectionEnd); in deleteSelection() 509 int selectionEnd = Selection.getSelectionEnd(content); in onKeyOther() local 510 if (selectionEnd < selectionStart) { in onKeyOther() 511 int temp = selectionEnd; in onKeyOther() 512 selectionEnd = selectionStart; in onKeyOther() [all …]
|
D | ArrowKeyMovementMethod.java | 199 final int selectionEnd = widget.getSelectionEnd(); in leftWord() local 201 wordIterator.setCharSequence(buffer, selectionEnd, selectionEnd); in leftWord() 208 final int selectionEnd = widget.getSelectionEnd(); in rightWord() local 210 wordIterator.setCharSequence(buffer, selectionEnd, selectionEnd); in rightWord()
|
/frameworks/base/core/java/android/widget/ |
D | SelectionActionModeHelper.java | 112 private static int[] sortSelectionIndices(int selectionStart, int selectionEnd) { in sortSelectionIndices() argument 113 if (selectionStart < selectionEnd) { in sortSelectionIndices() 114 return new int[]{selectionStart, selectionEnd}; in sortSelectionIndices() 116 return new int[]{selectionEnd, selectionStart}; in sortSelectionIndices() 128 int selectionEnd = textView.getSelectionEnd(); in sortSelectionIndicesFromTextView() local 130 return sortSelectionIndices(selectionStart, selectionEnd); in sortSelectionIndicesFromTextView() 497 private void resetTextClassificationHelper(int selectionStart, int selectionEnd) { in resetTextClassificationHelper() argument 498 if (selectionStart < 0 || selectionEnd < 0) { in resetTextClassificationHelper() 502 selectionEnd = sortedSelectionIndices[1]; in resetTextClassificationHelper() 507 selectionStart, selectionEnd, in resetTextClassificationHelper() [all …]
|
D | Editor.java | 969 int selectionStart, selectionEnd; in selectCurrentWord() local 977 selectionEnd = ((Spanned) mTextView.getText()).getSpanEnd(urlSpan); in selectCurrentWord() 985 selectionEnd = wordIterator.getEnd(maxOffset); in selectCurrentWord() 987 if (selectionStart == BreakIterator.DONE || selectionEnd == BreakIterator.DONE in selectCurrentWord() 988 || selectionStart == selectionEnd) { in selectCurrentWord() 992 selectionEnd = TextUtils.unpackRangeEndFromLong(range); in selectCurrentWord() 996 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd); in selectCurrentWord() local 997 return selectionEnd > selectionStart; in selectCurrentWord() 1112 int selectionEnd = mTextView.getSelectionEnd(); in touchPositionIsInSelection() local 1114 if (selectionStart == selectionEnd) { in touchPositionIsInSelection() [all …]
|
D | SpellChecker.java | 268 final int selectionEnd = Selection.getSelectionEnd(editable); in spellCheck() local 293 isEditing = selectionEnd <= start || selectionStart > end; in spellCheck() 295 isEditing = selectionEnd < start || selectionStart > end; in spellCheck() 305 + selectionEnd + ", start = " + start + ", end = " + end); in spellCheck()
|
D | NumberPicker.java | 2183 private void postSetSelectionCommand(int selectionStart, int selectionEnd) { in postSetSelectionCommand() argument 2187 mSetSelectionCommand.post(selectionStart, selectionEnd); in postSetSelectionCommand() 2399 public void post(int selectionStart, int selectionEnd) { in post() argument 2401 mSelectionEnd = selectionEnd; in post()
|
D | TextView.java | 8750 int end = text.selectionEnd; in setExtractedText() 10141 final int selectionEnd = getSelectionEnd(); in hasSelection() local 10143 return selectionStart >= 0 && selectionEnd > 0 && selectionStart != selectionEnd; in hasSelection()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | ExtractedText.java | 70 public int selectionEnd; field in ExtractedText 110 dest.writeInt(selectionEnd); in writeToParcel() 127 res.selectionEnd = source.readInt();
|
D | CursorAnchorInfo.java | 435 private CursorAnchorInfo(int selectionStart, int selectionEnd, int composingTextStart, in CursorAnchorInfo() argument 441 mSelectionEnd = selectionEnd; in CursorAnchorInfo()
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | TextViewAssertions.java | 113 int selectionEnd = textView.getSelectionEnd(); in hasInsertionPointerAtIndex() local 116 assertThat(selectionEnd, index); in hasInsertionPointerAtIndex() 171 int selectionEnd = textView.getSelectionEnd(); 174 .subSequence(selectionStart, selectionEnd)
|
/frameworks/base/core/java/android/text/ |
D | SpannableStringBuilder.java | 543 int selectionEnd = 0; in replace() local 546 selectionEnd = Selection.getSelectionEnd(this); in replace() 562 if (selectionEnd > start && selectionEnd < end) { in replace() 563 final long diff = selectionEnd - start; in replace() 565 selectionEnd = start + offset; in replace() 568 setSpan(false, Selection.SELECTION_END, selectionEnd, selectionEnd, in replace()
|
/frameworks/base/core/java/android/view/ |
D | ViewStructure.java | 190 public abstract void setText(CharSequence text, int selectionStart, int selectionEnd); in setText() argument
|
D | View.java | 13657 int selectionEnd; 13663 selectionEnd = forward ? segmentEnd : segmentStart; 13665 selectionStart = selectionEnd= forward ? segmentEnd : segmentStart; 13667 setAccessibilitySelection(selectionStart, selectionEnd);
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | ViewNode.java | 762 public void setText(CharSequence text, int selectionStart, int selectionEnd) { in setText() argument 766 t.mTextSelectionEnd = selectionEnd; in setText()
|
/frameworks/base/core/java/android/app/assist/ |
D | AssistStructure.java | 1822 public void setText(CharSequence text, int selectionStart, int selectionEnd) { in setText() argument 1826 t.mTextSelectionEnd = selectionEnd; in setText()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 3078 + " selectionEnd=" + mExtractedText.selectionEnd in dump()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 35644 field public int selectionEnd;
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 54409 field public int selectionEnd;
|
/frameworks/base/api/ |
D | current.txt | 54553 field public int selectionEnd;
|