/frameworks/base/core/java/android/text/method/ |
D | BaseKeyListener.java | 102 int selectionEnd = Selection.getSelectionEnd(content); in deleteSelection() local 103 if (selectionEnd < selectionStart) { in deleteSelection() 104 int temp = selectionEnd; in deleteSelection() 105 selectionEnd = selectionStart; in deleteSelection() 108 if (selectionStart != selectionEnd) { in deleteSelection() 109 content.delete(selectionStart, selectionEnd); in deleteSelection() 184 int selectionEnd = Selection.getSelectionEnd(content); in onKeyOther() local 185 if (selectionEnd < selectionStart) { in onKeyOther() 186 int temp = selectionEnd; in onKeyOther() 187 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 | 65 public int selectionEnd; field in ExtractedText 95 dest.writeInt(selectionEnd); in writeToParcel() 110 res.selectionEnd = source.readInt();
|
/frameworks/base/core/java/android/webkit/ |
D | SearchBox.java | 57 void setSelection(int selectionStart, int selectionEnd); in setSelection() argument
|
D | SearchBoxImpl.java | 145 public void setSelection(int selectionStart, int selectionEnd) { in setSelection() argument 146 final String js = String.format(SET_SELECTION_SCRIPT, selectionStart, selectionEnd); in setSelection()
|
D | WebViewClassic.java | 232 int selectionEnd = Selection.getSelectionEnd(editable); in setTextAndKeepSelection() local 238 selectionEnd = Math.min(selectionEnd, editable.length()); in setTextAndKeepSelection() 239 setSelection(selectionStart, selectionEnd); in setTextAndKeepSelection() 246 int selectionEnd = Selection.getSelectionEnd(editable); in replaceSelection() local 247 text = limitReplaceTextByMaxLength(text, selectionEnd - selectionStart); in replaceSelection() 248 setNewText(selectionStart, selectionEnd, text); in replaceSelection() 249 editable.replace(selectionStart, selectionEnd, text); in replaceSelection() 442 int selectionEnd = Selection.getSelectionEnd(editable); in setupEditorInfo() local 443 if (selectionStart < 0 || selectionEnd < 0) { in setupEditorInfo() 445 selectionEnd = selectionStart; in setupEditorInfo() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewWordLimitsTest.java | 91 …private void verifySelectCurrentWord(Spannable text, int selectionStart, int selectionEnd, int cor… in verifySelectCurrentWord() argument 95 Selection.setSelection((Spannable)mTv.getText(), selectionStart, selectionEnd); in verifySelectCurrentWord() local
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 612 int selectionStart, selectionEnd; in selectCurrentWord() local 620 selectionEnd = ((Spanned) mTextView.getText()).getSpanEnd(urlSpan); in selectCurrentWord() 626 selectionEnd = wordIterator.getEnd(maxOffset); in selectCurrentWord() 628 if (selectionStart == BreakIterator.DONE || selectionEnd == BreakIterator.DONE || in selectCurrentWord() 629 selectionStart == selectionEnd) { in selectCurrentWord() 633 selectionEnd = TextUtils.unpackRangeEndFromLong(range); in selectCurrentWord() 637 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd); in selectCurrentWord() local 638 return selectionEnd > selectionStart; in selectCurrentWord() 683 int selectionEnd = mTextView.getSelectionEnd(); in touchPositionIsInSelection() local 685 if (selectionStart == selectionEnd) { in touchPositionIsInSelection() [all …]
|
D | SpellChecker.java | 270 final int selectionEnd = Selection.getSelectionEnd(editable); in spellCheck() local 288 isEditing = selectionEnd <= start || selectionStart > end; in spellCheck() 290 isEditing = selectionEnd < start || selectionStart > end; in spellCheck() 302 + selectionEnd + ", start = " + start + ", end = " + end); in spellCheck()
|
D | NumberPicker.java | 1853 private void postSetSelectionCommand(int selectionStart, int selectionEnd) { in postSetSelectionCommand() argument 1860 mSetSelectionCommand.mSelectionEnd = selectionEnd; in postSetSelectionCommand()
|
D | TextView.java | 5510 int end = text.selectionEnd; in setExtractedText() 6716 final int selectionEnd = getSelectionEnd(); in hasSelection() local 6718 return selectionStart >= 0 && selectionStart != selectionEnd; in hasSelection() 8387 final int selectionEnd = getSelectionEnd(); in getAccessibilityCursorPosition() local 8388 if (selectionEnd >= 0) { in getAccessibilityCursorPosition() 8389 return selectionEnd; in getAccessibilityCursorPosition()
|
/frameworks/base/core/java/android/text/ |
D | SpannableStringBuilder.java | 471 int selectionEnd = 0; in replace() local 474 selectionEnd = Selection.getSelectionEnd(this); in replace() 487 if (selectionEnd > start && selectionEnd < end) { in replace() 488 final int offset = (selectionEnd - start) * newLen / origLen; in replace() 489 selectionEnd = start + offset; in replace() 491 setSpan(false, Selection.SELECTION_END, selectionEnd, selectionEnd, in replace()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 2307 + " selectionEnd=" + mExtractedText.selectionEnd in dump()
|
/frameworks/base/api/ |
D | 14.txt | 24493 field public int selectionEnd;
|
D | 15.txt | 24645 field public int selectionEnd;
|
D | current.txt | 25810 field public int selectionEnd;
|
D | 16.txt | 25810 field public int selectionEnd;
|