/frameworks/base/core/java/android/text/method/ |
D | BaseKeyListener.java | 425 int selectionStart = Selection.getSelectionStart(content); in deleteSelection() local 427 if (selectionEnd < selectionStart) { in deleteSelection() 429 selectionEnd = selectionStart; in deleteSelection() 430 selectionStart = temp; in deleteSelection() 432 if (selectionStart != selectionEnd) { in deleteSelection() 433 content.delete(selectionStart, selectionEnd); in deleteSelection() 508 int selectionStart = Selection.getSelectionStart(content); in onKeyOther() local 510 if (selectionEnd < selectionStart) { in onKeyOther() 512 selectionEnd = selectionStart; in onKeyOther() 513 selectionStart = temp; in onKeyOther() [all …]
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | ExtractedText.java | 63 public int selectionStart; field in ExtractedText 109 dest.writeInt(selectionStart); in writeToParcel() 126 res.selectionStart = source.readInt();
|
/frameworks/base/core/java/android/widget/ |
D | SelectionActionModeHelper.java | 455 private void resetTextClassificationHelper(int selectionStart, int selectionEnd) { in resetTextClassificationHelper() argument 456 if (selectionStart < 0 || selectionEnd < 0) { in resetTextClassificationHelper() 458 selectionStart = mTextView.getSelectionStart(); in resetTextClassificationHelper() 464 selectionStart, selectionEnd, in resetTextClassificationHelper() 504 CharSequence text, int selectionStart, int selectionEnd, boolean isLink) { in onOriginalSelection() argument 509 mOriginalStart = mSelectionStart = selectionStart; in onOriginalSelection() 514 text, selectionStart, in onOriginalSelection() local 547 int selectionStart, int selectionEnd, in onSelectionUpdated() argument 550 mSelectionStart = selectionStart; in onSelectionUpdated() 553 mLogger.logSelectionModified(selectionStart, selectionEnd, classification, null); in onSelectionUpdated() [all …]
|
D | Editor.java | 951 int selectionStart, selectionEnd; in selectCurrentWord() local 958 selectionStart = ((Spanned) mTextView.getText()).getSpanStart(urlSpan); in selectCurrentWord() 966 selectionStart = wordIterator.getBeginning(minOffset); in selectCurrentWord() 969 if (selectionStart == BreakIterator.DONE || selectionEnd == BreakIterator.DONE in selectCurrentWord() 970 || selectionStart == selectionEnd) { in selectCurrentWord() 973 selectionStart = TextUtils.unpackRangeStartFromLong(range); in selectCurrentWord() 978 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd); in selectCurrentWord() local 979 return selectionEnd > selectionStart; in selectCurrentWord() 1093 int selectionStart = mTextView.getSelectionStart(); in touchPositionIsInSelection() local 1096 if (selectionStart == selectionEnd) { in touchPositionIsInSelection() [all …]
|
D | SpellChecker.java | 264 final int selectionStart = Selection.getSelectionStart(editable); in spellCheck() local 282 if (selectionStart == end + 1 in spellCheck() 290 isEditing = selectionEnd <= start || selectionStart > end; in spellCheck() 292 isEditing = selectionEnd < start || selectionStart > end; in spellCheck() 301 + mIds[i] + ", sel start = " + selectionStart + ", sel end = " in spellCheck()
|
D | NumberPicker.java | 2088 private void postSetSelectionCommand(int selectionStart, int selectionEnd) { in postSetSelectionCommand() argument 2092 mSetSelectionCommand.post(selectionStart, selectionEnd); in postSetSelectionCommand() 2304 public void post(int selectionStart, int selectionEnd) { in post() argument 2305 mSelectionStart = selectionStart; in post()
|
D | TextView.java | 7963 int start = text.selectionStart; in setExtractedText() 9350 final int selectionStart = getSelectionStart(); in hasSelection() local 9353 return selectionStart >= 0 && selectionEnd > 0 && selectionStart != selectionEnd; in hasSelection()
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | TextViewAssertions.java | 111 int selectionStart = textView.getSelectionStart(); in hasInsertionPointerAtIndex() local 114 assertThat(selectionStart, index); in hasInsertionPointerAtIndex() 169 int selectionStart = textView.getSelectionStart(); 173 .subSequence(selectionStart, selectionEnd)
|
/frameworks/support/emoji/core/src/main/java/androidx/emoji/widget/ |
D | EmojiTextWatcher.java | 124 final int selectionStart = Selection.getSelectionStart(text); in onInitialized() local 129 EmojiInputFilter.updateSelection(text, selectionStart, selectionEnd); in onInitialized()
|
D | EmojiInputFilter.java | 113 final int selectionStart = Selection.getSelectionStart(result); in onInitialized() local 119 updateSelection((Spannable) result, selectionStart, selectionEnd); in onInitialized() local
|
/frameworks/support/emoji/core/src/main/java/androidx/emoji/text/ |
D | EmojiProcessor.java | 379 final int selectionStart = Selection.getSelectionStart(editable); in handleDeleteSurroundingText() local 382 if (hasInvalidSelection(selectionStart, selectionEnd)) { in handleDeleteSurroundingText() 390 start = CodepointIndexFinder.findIndexBackward(editable, selectionStart, in handleDeleteSurroundingText() 400 start = Math.max(selectionStart - beforeLength, 0); in handleDeleteSurroundingText()
|
/frameworks/base/core/java/android/text/ |
D | SpannableStringBuilder.java | 541 int selectionStart = 0; in replace() local 544 selectionStart = Selection.getSelectionStart(this); in replace() 552 if (selectionStart > start && selectionStart < end) { in replace() 553 final long diff = selectionStart - start; in replace() 555 selectionStart = start + offset; in replace() 558 setSpan(false, Selection.SELECTION_START, selectionStart, selectionStart, in replace()
|
/frameworks/base/core/java/android/view/ |
D | ViewStructure.java | 186 public abstract void setText(CharSequence text, int selectionStart, int selectionEnd); in setText() argument
|
D | View.java | 12216 int selectionStart; 12219 selectionStart = getAccessibilitySelectionStart(); 12220 if (selectionStart == ACCESSIBILITY_CURSOR_POSITION_UNDEFINED) { 12221 selectionStart = forward ? segmentStart : segmentEnd; 12225 selectionStart = selectionEnd= forward ? segmentEnd : segmentStart; 12227 setAccessibilitySelection(selectionStart, selectionEnd);
|
/frameworks/base/core/java/android/app/assist/ |
D | AssistStructure.java | 1714 public void setText(CharSequence text, int selectionStart, int selectionEnd) { in setText() argument 1717 t.mTextSelectionStart = selectionStart; in setText()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 2893 p.println(" selectionStart=" + mExtractedText.selectionStart in dump()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 35645 field public int selectionStart;
|
/frameworks/base/api/ |
D | current.txt | 50143 field public int selectionStart;
|
/frameworks/base/config/ |
D | hiddenapi-public-dex.txt | 48771 Landroid/view/inputmethod/ExtractedText;->selectionStart:I
|