/aosp14/frameworks/base/core/java/android/text/method/ |
H A D | BaseKeyListener.java | 429 if (selectionEnd < selectionStart) { in deleteSelection() 431 selectionEnd = selectionStart; in deleteSelection() 432 selectionStart = temp; in deleteSelection() 434 if (selectionStart != selectionEnd) { in deleteSelection() 435 content.delete(selectionStart, selectionEnd); in deleteSelection() 447 if (selectionStart < selectionEnd) { in deleteLineFromCursor() 448 selectionMin = selectionStart; in deleteLineFromCursor() 452 selectionMax = selectionStart; in deleteLineFromCursor() 529 if (selectionEnd < selectionStart) { in onKeyOther() 531 selectionEnd = selectionStart; in onKeyOther() [all …]
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | SelectionActionModeHelper.java | 114 if (selectionStart < selectionEnd) { in sortSelectionIndices() 117 return new int[]{selectionEnd, selectionStart}; in sortSelectionIndices() 128 int selectionStart = textView.getSelectionStart(); in sortSelectionIndicesFromTextView() local 507 if (selectionStart < 0 || selectionEnd < 0) { in resetTextClassificationHelper() 510 selectionStart = sortedSelectionIndices[0]; in resetTextClassificationHelper() 516 selectionStart, selectionEnd, in resetTextClassificationHelper() 569 selectionStart, in onOriginalSelection() local 603 int selectionStart, int selectionEnd, in onSelectionUpdated() argument 606 mSelectionStart = selectionStart; in onSelectionUpdated() 628 int selectionStart, int selectionEnd, in onSelectionAction() argument [all …]
|
H A D | EditText.java | 245 final int selectionStart = getSelectionStart(); in performStylingAction() local 247 if (selectionStart < 0 || selectionEnd < 0) { in performStylingAction() 250 int min = Math.min(selectionStart, selectionEnd); in performStylingAction() 251 int max = Math.max(selectionStart, selectionEnd); in performStylingAction()
|
H A D | SpellChecker.java | 290 final int selectionStart = Selection.getSelectionStart(editable); in spellCheck() local 299 + ", sel start = " + selectionStart + ", sel end = " + selectionEnd); in spellCheck() 316 if (selectionStart == end + 1 in spellCheck() 320 } else if (selectionEnd <= start || selectionStart > end) { in spellCheck() 328 isNotEditing = selectionStart == end in spellCheck() 329 && selectionStart > 0 in spellCheck() 330 && isSeparator(Character.codePointBefore(editable, selectionStart)); in spellCheck() 339 + mIds[i] + ", sel start = " + selectionStart + ", sel end = " in spellCheck()
|
H A D | Editor.java | 1240 int selectionStart, selectionEnd; in selectCurrentWord() local 1259 || selectionStart == selectionEnd) { in selectCurrentWord() 1268 return selectionEnd > selectionStart; in selectCurrentWord() 1401 if (selectionStart == selectionEnd) { in touchPositionIsInSelection() 1405 if (selectionStart > selectionEnd) { in touchPositionIsInSelection() 1406 int tmp = selectionStart; in touchPositionIsInSelection() 1407 selectionStart = selectionEnd; in touchPositionIsInSelection() 2633 if (selectionStart == selectionEnd) { in shouldOfferToShowSuggestions() 2652 if (selectionStart < spanStart || selectionStart > spanEnd) { in shouldOfferToShowSuggestions() 4785 if (selectionStart != selectionEnd) { in onGetContentRect() [all …]
|
H A 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 2400 mSelectionStart = selectionStart; in post()
|
H A D | TextView.java | 9898 int start = text.selectionStart; in setExtractedText() 11820 final int selectionStart = getSelectionStart(); in hasSelection() local 11824 if (selectionStart < selectionEnd) { in hasSelection() 11825 selectionMin = selectionStart; in hasSelection() 11829 selectionMax = selectionStart; in hasSelection() 13981 final int selectionStart = getSelectionStart(); in getCursorAnchorInfo() local 13982 builder.setSelectionRange(selectionStart, getSelectionEnd()); in getCursorAnchorInfo() 14049 if (0 <= selectionStart) { in getCursorAnchorInfo() 14051 selectionStart, OffsetMapping.MAP_STRATEGY_CURSOR); in getCursorAnchorInfo()
|
/aosp14/frameworks/base/core/java/android/view/inputmethod/ |
H A D | ExtractedText.java | 63 public int selectionStart; field in ExtractedText 109 dest.writeInt(selectionStart); in writeToParcel() 126 res.selectionStart = source.readInt();
|
H A D | SurroundingText.java | 76 @IntRange(from = 0) int selectionStart, @IntRange(from = 0) int selectionEnd, in SurroundingText() 79 mSelectionStart = selectionStart; in SurroundingText()
|
H A D | TextAppearanceInfo.java | 197 final int selectionStart = textView.getSelectionStart(); in createFromTextView() local 201 if (text instanceof Spanned && text.length() > 0 && selectionStart > 0) { in createFromTextView() 205 int lastCh = selectionStart - 1; in createFromTextView()
|
H A D | CursorAnchorInfo.java | 560 private CursorAnchorInfo(int selectionStart, int selectionEnd, int composingTextStart, in CursorAnchorInfo() argument 568 mSelectionStart = selectionStart; in CursorAnchorInfo()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
H A D | TextViewAssertions.java | 112 int selectionStart = textView.getSelectionStart(); in hasInsertionPointerAtIndex() local 115 assertThat(selectionStart, index); in hasInsertionPointerAtIndex() 170 int selectionStart = textView.getSelectionStart(); 174 .subSequence(selectionStart, selectionEnd)
|
/aosp14/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
H A D | BaseInputConnectionTest.java | 737 int selectionStart, in prepareContent() argument 743 Selection.setSelection(mEditable, selectionStart, selectionEnd); in prepareContent() 747 verifyContent(text, selectionStart, selectionEnd, composingSpanStart, composingSpanEnd); in prepareContent() 760 int selectionStart, in verifyContent() argument 766 assertThat(Selection.getSelectionStart(mEditable)).isEqualTo(selectionStart); in verifyContent()
|
/aosp14/frameworks/base/core/java/android/text/ |
H A D | SpannableStringBuilder.java | 543 int selectionStart = 0; in replace() local 546 selectionStart = Selection.getSelectionStart(this); in replace() 554 if (selectionStart > start && selectionStart < end) { in replace() 555 final long diff = selectionStart - start; in replace() 557 selectionStart = start + offset; in replace() 560 setSpan(false, Selection.SELECTION_START, selectionStart, selectionStart, in replace()
|
/aosp14/frameworks/base/core/java/android/view/contentcapture/ |
H A D | ViewNode.java | 813 public void setText(CharSequence text, int selectionStart, int selectionEnd) { in setText() argument 816 t.mTextSelectionStart = selectionStart; in setText() 1066 int selectionStart = text != null in writeToParcel() local 1073 out.writeInt(selectionStart); in writeToParcel()
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | ViewStructure.java | 216 public abstract void setText(CharSequence text, int selectionStart, int selectionEnd); in setText() argument
|
H A D | View.java | 15353 int selectionStart; in traverseAtGranularity() local 15357 selectionStart = getAccessibilitySelectionStart(); in traverseAtGranularity() 15358 if (selectionStart == ACCESSIBILITY_CURSOR_POSITION_UNDEFINED) { in traverseAtGranularity() 15359 selectionStart = forward ? segmentStart : segmentEnd; in traverseAtGranularity() 15363 selectionStart = selectionEnd= forward ? segmentEnd : segmentStart; in traverseAtGranularity() 15365 setAccessibilitySelection(selectionStart, selectionEnd); in traverseAtGranularity()
|
/aosp14/frameworks/base/core/java/android/app/assist/ |
H A D | AssistStructure.java | 2010 public void setText(CharSequence text, int selectionStart, int selectionEnd) { in setText() argument 2014 t.mTextSelectionStart = selectionStart; in setText()
|
/aosp14/frameworks/base/core/java/android/inputmethodservice/ |
H A D | InputMethodService.java | 4140 p.println(" selectionStart=" + mExtractedText.selectionStart
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/aosp14/frameworks/base/core/api/ |
H A D | current.txt | 55498 field public int selectionStart;
|