/frameworks/base/core/java/android/text/method/ |
D | BaseKeyListener.java | 402 int selectionEnd = Selection.getSelectionEnd(content); in deleteSelection() local 403 if (selectionEnd < selectionStart) { in deleteSelection() 404 int temp = selectionEnd; in deleteSelection() 405 selectionEnd = selectionStart; in deleteSelection() 408 if (selectionStart != selectionEnd) { in deleteSelection() 409 content.delete(selectionStart, selectionEnd); in deleteSelection() 485 int selectionEnd = Selection.getSelectionEnd(content); in onKeyOther() local 486 if (selectionEnd < selectionStart) { in onKeyOther() 487 int temp = selectionEnd; in onKeyOther() 488 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/view/inputmethod/ |
D | ExtractedText.java | 68 public int selectionEnd; field in ExtractedText 101 dest.writeInt(selectionEnd); in writeToParcel() 117 res.selectionEnd = source.readInt();
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | TextViewAssertions.java | 109 int selectionEnd = textView.getSelectionEnd(); in hasInsertionPointerAtIndex() local 112 assertThat(selectionEnd, index); in hasInsertionPointerAtIndex() 155 int selectionEnd = textView.getSelectionEnd(); 158 .subSequence(selectionStart, selectionEnd)
|
/frameworks/base/core/java/android/view/ |
D | ViewStructure.java | 167 public abstract void setText(CharSequence text, int selectionStart, int selectionEnd); in setText() argument
|
D | View.java | 9660 int selectionEnd; in traverseAtGranularity() local 9666 selectionEnd = forward ? segmentEnd : segmentStart; in traverseAtGranularity() 9668 selectionStart = selectionEnd= forward ? segmentEnd : segmentStart; in traverseAtGranularity() 9670 setAccessibilitySelection(selectionStart, selectionEnd); in traverseAtGranularity()
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 838 int selectionStart, selectionEnd; in selectCurrentWord() local 846 selectionEnd = ((Spanned) mTextView.getText()).getSpanEnd(urlSpan); in selectCurrentWord() 854 selectionEnd = wordIterator.getEnd(maxOffset); in selectCurrentWord() 856 if (selectionStart == BreakIterator.DONE || selectionEnd == BreakIterator.DONE || in selectCurrentWord() 857 selectionStart == selectionEnd) { in selectCurrentWord() 861 selectionEnd = TextUtils.unpackRangeEndFromLong(range); in selectCurrentWord() 865 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd); in selectCurrentWord() local 866 return selectionEnd > selectionStart; in selectCurrentWord() 984 int selectionEnd = mTextView.getSelectionEnd(); in touchPositionIsInSelection() local 986 if (selectionStart == selectionEnd) { in touchPositionIsInSelection() [all …]
|
D | SpellChecker.java | 265 final int selectionEnd = Selection.getSelectionEnd(editable); in spellCheck() local 289 isEditing = !apostrophe && (selectionEnd <= start || selectionStart > end); in spellCheck() 291 isEditing = !apostrophe && (selectionEnd < start || selectionStart > end); in spellCheck() 301 + selectionEnd + ", start = " + start + ", end = " + end); in spellCheck()
|
D | NumberPicker.java | 2039 private void postSetSelectionCommand(int selectionStart, int selectionEnd) { in postSetSelectionCommand() argument 2046 mSetSelectionCommand.mSelectionEnd = selectionEnd; in postSetSelectionCommand()
|
D | TextView.java | 6572 int end = text.selectionEnd; in setExtractedText() 7793 final int selectionEnd = getSelectionEnd(); in hasSelection() local 7795 return selectionStart >= 0 && selectionStart != selectionEnd; in hasSelection()
|
/frameworks/base/core/java/android/text/ |
D | SpannableStringBuilder.java | 545 int selectionEnd = 0; in replace() local 548 selectionEnd = Selection.getSelectionEnd(this); in replace() 564 if (selectionEnd > start && selectionEnd < end) { in replace() 565 final long diff = selectionEnd - start; in replace() 567 selectionEnd = start + offset; in replace() 570 setSpan(false, Selection.SELECTION_END, selectionEnd, selectionEnd, in replace()
|
/frameworks/base/core/java/android/app/assist/ |
D | AssistStructure.java | 1204 public void setText(CharSequence text, int selectionStart, int selectionEnd) { in setText() argument 1208 t.mTextSelectionEnd = selectionEnd; in setText()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 2641 + " selectionEnd=" + mExtractedText.selectionEnd in dump()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 35644 field public int selectionEnd;
|
/frameworks/base/api/ |
D | current.txt | 44652 field public int selectionEnd;
|
D | system-current.txt | 47655 field public int selectionEnd;
|
D | test-current.txt | 44731 field public int selectionEnd;
|