/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 | 111 private static int[] sortSelctionIndices(int selectionStart, int selectionEnd) { in sortSelctionIndices() argument 112 if (selectionStart < selectionEnd) { in sortSelctionIndices() 113 return new int[]{selectionStart, selectionEnd}; in sortSelctionIndices() 115 return new int[]{selectionEnd, selectionStart}; in sortSelctionIndices() 127 int selectionEnd = textView.getSelectionEnd(); in sortSelctionIndicesFromTextView() local 129 return sortSelctionIndices(selectionStart, selectionEnd); in sortSelctionIndicesFromTextView() 495 private void resetTextClassificationHelper(int selectionStart, int selectionEnd) { in resetTextClassificationHelper() argument 496 if (selectionStart < 0 || selectionEnd < 0) { in resetTextClassificationHelper() 500 selectionEnd = sortedSelectionIndices[1]; in resetTextClassificationHelper() 505 selectionStart, selectionEnd, in resetTextClassificationHelper() [all …]
|
D | Editor.java | 1105 int selectionStart, selectionEnd; in selectCurrentWord() local 1113 selectionEnd = ((Spanned) mTextView.getText()).getSpanEnd(urlSpan); in selectCurrentWord() 1121 selectionEnd = wordIterator.getEnd(maxOffset); in selectCurrentWord() 1123 if (selectionStart == BreakIterator.DONE || selectionEnd == BreakIterator.DONE in selectCurrentWord() 1124 || selectionStart == selectionEnd) { in selectCurrentWord() 1128 selectionEnd = TextUtils.unpackRangeEndFromLong(range); in selectCurrentWord() 1132 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd); in selectCurrentWord() local 1133 return selectionEnd > selectionStart; in selectCurrentWord() 1248 int selectionEnd = mTextView.getSelectionEnd(); in touchPositionIsInSelection() local 1250 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 | 2184 private void postSetSelectionCommand(int selectionStart, int selectionEnd) { in postSetSelectionCommand() argument 2188 mSetSelectionCommand.post(selectionStart, selectionEnd); in postSetSelectionCommand() 2400 public void post(int selectionStart, int selectionEnd) { in post() argument 2402 mSelectionEnd = selectionEnd; in post()
|
D | TextView.java | 8773 int end = text.selectionEnd; in setExtractedText() 10164 final int selectionEnd = getSelectionEnd(); in hasSelection() local 10166 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 | EditorInfo.java | 903 int selectionEnd) { in InitialSurroundingText() argument 906 mSelectionEnd = selectionEnd; in InitialSurroundingText() 968 final int selectionEnd = source.readInt(); 970 return new InitialSurroundingText(initialText, selectionHead, selectionEnd);
|
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 | 14010 int selectionEnd; 14016 selectionEnd = forward ? segmentEnd : segmentStart; 14018 selectionStart = selectionEnd= forward ? segmentEnd : segmentStart; 14020 setAccessibilitySelection(selectionStart, selectionEnd);
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | ViewNode.java | 792 public void setText(CharSequence text, int selectionStart, int selectionEnd) { in setText() argument 796 t.mTextSelectionEnd = selectionEnd; in setText()
|
/frameworks/base/core/java/android/app/assist/ |
D | AssistStructure.java | 1868 public void setText(CharSequence text, int selectionStart, int selectionEnd) { in setText() argument 1872 t.mTextSelectionEnd = selectionEnd; in setText()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 3324 + " selectionEnd=" + mExtractedText.selectionEnd in dump()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 35644 field public int selectionEnd;
|
/frameworks/base/api/ |
D | current.txt | 56923 field public int selectionEnd;
|