/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | PlainTextEditText.java | 50 int selectionStart = getSelectionStart(); in onTextContextMenuItem() local 57 final int startIndex = selectionStart - 1; in onTextContextMenuItem() 58 final int pasteStringLength = selectionStart - selectionStartPrePaste; in onTextContextMenuItem() 68 sb.replace(selectionStartPrePaste, selectionStart, url); in onTextContextMenuItem() 70 selectionStart = selectionStartPrePaste + url.length(); in onTextContextMenuItem() 71 selectionEnd = selectionStart; in onTextContextMenuItem() 79 setSelection(selectionStart, selectionEnd); in onTextContextMenuItem()
|
/aosp12/frameworks/base/core/java/android/text/method/ |
H A 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 …]
|
/aosp12/frameworks/base/core/java/android/widget/ |
H A D | SelectionActionModeHelper.java | 113 if (selectionStart < selectionEnd) { in sortSelectionIndices() 116 return new int[]{selectionEnd, selectionStart}; in sortSelectionIndices() 127 int selectionStart = textView.getSelectionStart(); in sortSelectionIndicesFromTextView() local 497 if (selectionStart < 0 || selectionEnd < 0) { in resetTextClassificationHelper() 500 selectionStart = sortedSelectionIndices[0]; in resetTextClassificationHelper() 506 selectionStart, selectionEnd, in resetTextClassificationHelper() 559 selectionStart, in onOriginalSelection() local 593 int selectionStart, int selectionEnd, in onSelectionUpdated() argument 596 mSelectionStart = selectionStart; in onSelectionUpdated() 618 int selectionStart, int selectionEnd, in onSelectionAction() argument [all …]
|
H A D | SpellChecker.java | 289 final int selectionStart = Selection.getSelectionStart(editable); in spellCheck() local 298 + ", sel start = " + selectionStart + ", sel end = " + selectionEnd); in spellCheck() 315 if (selectionStart == end + 1 in spellCheck() 319 } else if (selectionEnd <= start || selectionStart > end) { in spellCheck() 327 isNotEditing = selectionStart == end in spellCheck() 328 && selectionStart > 0 in spellCheck() 329 && isSeparator(Character.codePointBefore(editable, selectionStart)); in spellCheck() 338 + mIds[i] + ", sel start = " + selectionStart + ", sel end = " in spellCheck()
|
H A D | Editor.java | 1178 int selectionStart, selectionEnd; in selectCurrentWord() local 1197 || selectionStart == selectionEnd) { in selectCurrentWord() 1206 return selectionEnd > selectionStart; in selectCurrentWord() 1323 if (selectionStart == selectionEnd) { in touchPositionIsInSelection() 1327 if (selectionStart > selectionEnd) { in touchPositionIsInSelection() 1328 int tmp = selectionStart; in touchPositionIsInSelection() 1329 selectionStart = selectionEnd; in touchPositionIsInSelection() 2528 if (selectionStart == selectionEnd) { in shouldOfferToShowSuggestions() 2547 if (selectionStart < spanStart || selectionStart > spanEnd) { in shouldOfferToShowSuggestions() 4594 if (0 <= selectionStart) { in updatePosition() [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 | 8862 int start = text.selectionStart; in setExtractedText() 10265 final int selectionStart = getSelectionStart(); in hasSelection() local 10268 return selectionStart >= 0 && selectionEnd > 0 && selectionStart != selectionEnd; in hasSelection()
|
/aosp12/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()
|
/aosp12/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)
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | CursorAnchorInfoUtils.java | 121 final int selectionStart = textView.getSelectionStart(); in extractFromTextViewInternal() local 122 builder.setSelectionRange(selectionStart, textView.getSelectionEnd()); in extractFromTextViewInternal() 234 if (0 <= selectionStart) { in extractFromTextViewInternal() 235 final int offset = selectionStart; in extractFromTextViewInternal()
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
H A D | DialpadFragment.java | 1447 int selectionStart; in updateDialString() local 1454 selectionStart = Math.min(anchor, point); in updateDialString() 1457 if (selectionStart == -1) { in updateDialString() 1458 selectionStart = selectionEnd = this.digits.length(); in updateDialString() 1463 if (canAddDigit(digits, selectionStart, selectionEnd, newDigit)) { in updateDialString() 1464 digits.replace(selectionStart, selectionEnd, Character.toString(newDigit)); in updateDialString() 1466 if (selectionStart != selectionEnd) { in updateDialString() 1468 this.digits.setSelection(selectionStart + 1); in updateDialString()
|
/aosp12/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()
|
/aosp12/frameworks/base/core/java/android/view/ |
H A D | ViewStructure.java | 192 public abstract void setText(CharSequence text, int selectionStart, int selectionEnd); in setText() argument
|
H A D | View.java | 14299 int selectionStart; in traverseAtGranularity() local 14302 selectionStart = getAccessibilitySelectionStart(); in traverseAtGranularity() 14303 if (selectionStart == ACCESSIBILITY_CURSOR_POSITION_UNDEFINED) { in traverseAtGranularity() 14304 selectionStart = forward ? segmentStart : segmentEnd; in traverseAtGranularity() 14308 selectionStart = selectionEnd= forward ? segmentEnd : segmentStart; in traverseAtGranularity() 14310 setAccessibilitySelection(selectionStart, selectionEnd); in traverseAtGranularity()
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | RichInputConnection.java | 179 if (et.selectionStart != mExpectedSelStart in checkConsistencyForDebug() 182 + "\nActual selection start = " + et.selectionStart in checkConsistencyForDebug() 188 Log.e(TAG, "Exp <> Actual : " + mExpectedSelStart + " <> " + et.selectionStart); in checkConsistencyForDebug()
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/ |
H A D | InputLogic.java | 1395 final int selectionStart = mConnection.getExpectedSelectionStart(); in performRecapitalization() local 1397 final int numCharsSelected = selectionEnd - selectionStart; in performRecapitalization() 1405 || !mRecapitalizeStatus.isSetAt(selectionStart, selectionEnd)) { in performRecapitalization() 1409 mRecapitalizeStatus.start(selectionStart, selectionEnd, selectedText.toString(), in performRecapitalization()
|
/aosp12/frameworks/base/core/java/android/view/contentcapture/ |
H A D | ViewNode.java | 808 public void setText(CharSequence text, int selectionStart, int selectionEnd) { in setText() argument 811 t.mTextSelectionStart = selectionStart; in setText()
|
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
H A D | RichInputConnectionAndTextRangeTests.java | 253 et.selectionStart = 7; in testGetWordRangeAtCursor()
|
/aosp12/frameworks/base/core/java/android/app/assist/ |
H A D | AssistStructure.java | 1998 public void setText(CharSequence text, int selectionStart, int selectionEnd) { in setText() argument 2001 t.mTextSelectionStart = selectionStart; in setText()
|
/aosp12/frameworks/base/core/java/android/inputmethodservice/ |
H A D | InputMethodService.java | 3408 p.println(" selectionStart=" + mExtractedText.selectionStart in dump()
|
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/aosp12/frameworks/base/core/api/ |
H A D | current.txt | 51893 field public int selectionStart;
|
/aosp12/frameworks/opt/setupwizard/tools/docs/ |
H A D | android-22.txt | 35645 field public int selectionStart;
|