/frameworks/base/core/java/android/text/method/ |
D | BaseKeyListener.java | 428 int selectionEnd = Selection.getSelectionEnd(content); in deleteSelection() local 429 if (selectionEnd < selectionStart) { in deleteSelection() 430 int temp = selectionEnd; in deleteSelection() 431 selectionEnd = selectionStart; in deleteSelection() 434 if (selectionStart != selectionEnd) { in deleteSelection() 435 content.delete(selectionStart, selectionEnd); in deleteSelection() 444 final int selectionEnd = Selection.getSelectionEnd(content); in deleteLineFromCursor() local 447 if (selectionStart < selectionEnd) { in deleteLineFromCursor() 449 selectionMax = selectionEnd; in deleteLineFromCursor() 451 selectionMin = selectionEnd; in deleteLineFromCursor() [all …]
|
D | ArrowKeyMovementMethod.java | 224 final int selectionEnd = widget.getSelectionEnd(); in leftWord() local 226 wordIterator.setCharSequence(buffer, selectionEnd, selectionEnd); in leftWord() 233 final int selectionEnd = widget.getSelectionEnd(); in rightWord() local 235 wordIterator.setCharSequence(buffer, selectionEnd, selectionEnd); in rightWord()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | SurroundingText.java | 76 @IntRange(from = 0) int selectionStart, @IntRange(from = 0) int selectionEnd, in SurroundingText() 80 mSelectionEnd = selectionEnd; in SurroundingText() 148 final int selectionEnd = in.readInt(); 151 text == null ? "" : text, selectionHead, selectionEnd, offset);
|
D | ExtractedText.java | 70 public int selectionEnd; field in ExtractedText 110 dest.writeInt(selectionEnd); in writeToParcel() 127 res.selectionEnd = source.readInt();
|
D | CursorAnchorInfo.java | 560 private CursorAnchorInfo(int selectionStart, int selectionEnd, int composingTextStart, in CursorAnchorInfo() argument 569 mSelectionEnd = selectionEnd; in CursorAnchorInfo()
|
/frameworks/base/core/java/android/widget/ |
D | SelectionActionModeHelper.java | 113 private static int[] sortSelectionIndices(int selectionStart, int selectionEnd) { in sortSelectionIndices() argument 114 if (selectionStart < selectionEnd) { in sortSelectionIndices() 115 return new int[]{selectionStart, selectionEnd}; in sortSelectionIndices() 117 return new int[]{selectionEnd, selectionStart}; in sortSelectionIndices() 129 int selectionEnd = textView.getSelectionEnd(); in sortSelectionIndicesFromTextView() local 131 return sortSelectionIndices(selectionStart, selectionEnd); in sortSelectionIndicesFromTextView() 506 private void resetTextClassificationHelper(int selectionStart, int selectionEnd) { in resetTextClassificationHelper() argument 507 if (selectionStart < 0 || selectionEnd < 0) { in resetTextClassificationHelper() 511 selectionEnd = sortedSelectionIndices[1]; in resetTextClassificationHelper() 516 selectionStart, selectionEnd, in resetTextClassificationHelper() [all …]
|
D | EditText.java | 281 final int selectionEnd = getSelectionEnd(); in performStylingAction() local 282 if (selectionStart < 0 || selectionEnd < 0) { in performStylingAction() 285 int min = Math.min(selectionStart, selectionEnd); in performStylingAction() 286 int max = Math.max(selectionStart, selectionEnd); in performStylingAction()
|
D | Editor.java | 1243 int selectionStart, selectionEnd; in selectCurrentWord() local 1251 selectionEnd = ((Spanned) mTextView.getText()).getSpanEnd(urlSpan); in selectCurrentWord() 1259 selectionEnd = wordIterator.getEnd(maxOffset); in selectCurrentWord() 1261 if (selectionStart == BreakIterator.DONE || selectionEnd == BreakIterator.DONE in selectCurrentWord() 1262 || selectionStart == selectionEnd) { in selectCurrentWord() 1266 selectionEnd = TextUtils.unpackRangeEndFromLong(range); in selectCurrentWord() 1270 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd); in selectCurrentWord() local 1271 return selectionEnd > selectionStart; in selectCurrentWord() 1402 int selectionEnd = mTextView.getSelectionEnd(); in touchPositionIsInSelection() local 1404 if (selectionStart == selectionEnd) { in touchPositionIsInSelection() [all …]
|
D | SpellChecker.java | 291 final int selectionEnd = Selection.getSelectionEnd(editable); in spellCheck() local 299 + ", sel start = " + selectionStart + ", sel end = " + selectionEnd); in spellCheck() 320 } else if (selectionEnd <= start || selectionStart > end) { in spellCheck() 340 + 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()
|
/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/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/ |
D | PinPadViewBinder.kt | 46 passwordField.selectionEnd - 1, in bind() 47 passwordField.selectionEnd in bind()
|
/frameworks/base/core/tests/InputMethodCoreTests/src/android/view/inputmethod/ |
D | BaseInputConnectionTest.java | 738 int selectionEnd, in prepareContent() argument 743 Selection.setSelection(mEditable, selectionStart, selectionEnd); in prepareContent() 747 verifyContent(text, selectionStart, selectionEnd, composingSpanStart, composingSpanEnd); in prepareContent() 761 int selectionEnd, in verifyContent() argument 767 assertThat(Selection.getSelectionEnd(mEditable)).isEqualTo(selectionEnd); in verifyContent()
|
/frameworks/base/core/java/android/text/ |
D | SpannableStringBuilder.java | 544 int selectionEnd = 0; in replace() local 547 selectionEnd = Selection.getSelectionEnd(this); in replace() 563 if (selectionEnd > start && selectionEnd < end) { in replace() 564 final long diff = selectionEnd - start; in replace() 566 selectionEnd = start + offset; in replace() 569 setSpan(false, Selection.SELECTION_END, selectionEnd, selectionEnd, in replace()
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | ViewNode.java | 813 public void setText(CharSequence text, int selectionStart, int selectionEnd) { in setText() argument 817 t.mTextSelectionEnd = selectionEnd; in setText() 1069 int selectionEnd = text != null in writeToParcel() local 1074 out.writeInt(selectionEnd); in writeToParcel()
|
/frameworks/base/core/java/android/view/ |
D | ViewStructure.java | 251 public abstract void setText(CharSequence text, int selectionStart, int selectionEnd); in setText() argument
|
D | View.java | 16105 int selectionEnd; in traverseAtGranularity() local 16112 selectionEnd = forward ? segmentEnd : segmentStart; in traverseAtGranularity() 16114 selectionStart = selectionEnd= forward ? segmentEnd : segmentStart; in traverseAtGranularity() 16116 setAccessibilitySelection(selectionStart, selectionEnd); in traverseAtGranularity()
|
/frameworks/base/core/java/android/app/assist/ |
D | AssistStructure.java | 2078 public void setText(CharSequence text, int selectionStart, int selectionEnd) { in setText() argument 2083 t.mTextSelectionEnd = selectionEnd; in setText()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 4499 + " selectionEnd=" + mExtractedText.selectionEnd
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 35644 field public int selectionEnd;
|
/frameworks/base/core/api/ |
D | current.txt | 56102 field public int selectionEnd;
|