/frameworks/base/core/java/android/text/ |
D | Selection.java | 51 public static final int getSelectionEnd(CharSequence text) { in getSelectionEnd() method in Selection 91 int oend = getSelectionEnd(text); in setSelection() 200 int end = getSelectionEnd(text); in moveUp() 271 int end = getSelectionEnd(text); in moveDown() 307 int end = getSelectionEnd(text); in moveLeft() 332 int end = getSelectionEnd(text); in moveRight() 354 int end = getSelectionEnd(text); in extendUp() 373 int end = getSelectionEnd(text); in extendDown() 392 int end = getSelectionEnd(text); in extendLeft() 408 int end = getSelectionEnd(text); in extendRight() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneNumberWatcherTest.java | 44 assertEquals(formatted1.length(), Selection.getSelectionEnd(number)); in testAppendChars() 55 assertEquals(formatted2.length(), Selection.getSelectionEnd(number)); in testAppendChars() 72 assertEquals(result1.length(), Selection.getSelectionEnd(number)); in testRemoveLastChars() 81 assertEquals(result2.length(), Selection.getSelectionEnd(number)); in testRemoveLastChars() 99 assertEquals(5, Selection.getSelectionEnd(number)); in testInsertChars() 110 assertEquals(12, Selection.getSelectionEnd(number)); in testInsertChars() 128 assertEquals(expected1.length(), Selection.getSelectionEnd(number)); in testStopFormatting() 141 assertEquals(5, Selection.getSelectionEnd(number)); in testStopFormatting() 154 assertEquals(9, Selection.getSelectionEnd(number)); in testStopFormatting() 172 assertEquals(expected1.length(), Selection.getSelectionEnd(number)); in testRestartFormatting() [all …]
|
/frameworks/base/core/java/android/text/method/ |
D | ArrowKeyMovementMethod.java | 39 return layout.getLineTop(layout.getLineForOffset(Selection.getSelectionEnd(buffer))); in getCurrentLineTop() 115 final int previousSelectionEnd = Selection.getSelectionEnd(buffer); in pageUp() 121 if (Selection.getSelectionEnd(buffer) == previousSelectionEnd) { in pageUp() 139 final int previousSelectionEnd = Selection.getSelectionEnd(buffer); in pageDown() 145 if (Selection.getSelectionEnd(buffer) == previousSelectionEnd) { in pageDown() 199 final int selectionEnd = widget.getSelectionEnd(); in leftWord() 208 final int selectionEnd = widget.getSelectionEnd(); in rightWord()
|
D | MultiTapKeyListener.java | 99 int b = Selection.getSelectionEnd(content); in onKeyDown() 199 selEnd = Selection.getSelectionEnd(content); in onKeyDown() 274 int en = Selection.getSelectionEnd(buf); in run() 280 Selection.setSelection(buf, Selection.getSelectionEnd(buf)); in run()
|
D | BaseKeyListener.java | 351 final int start = Selection.getSelectionEnd(content); in backspaceOrForwardDelete() 380 if (currentCursorOffset != Selection.getSelectionEnd(content)) { in deleteUntilWordBoundary() 426 int selectionEnd = Selection.getSelectionEnd(content); in deleteSelection() 509 int selectionEnd = Selection.getSelectionEnd(content); in onKeyOther()
|
D | QwertyKeyListener.java | 100 int b = Selection.getSelectionEnd(content); in onKeyDown() 231 selEnd = Selection.getSelectionEnd(content); in onKeyDown() 285 selEnd = Selection.getSelectionEnd(content); in onKeyDown()
|
D | CharacterPickerDialog.java | 95 int selEnd = Selection.getSelectionEnd(mText); in replaceCharacterAndClose()
|
D | NumberKeyListener.java | 112 int b = Selection.getSelectionEnd(content); in onKeyDown()
|
D | LinkMovementMethod.java | 118 int b = Selection.getSelectionEnd(buffer); in action()
|
/frameworks/base/core/java/android/widget/ |
D | MultiAutoCompleteTextView.java | 96 int end = getSelectionEnd(); in performFiltering() 121 int end = getSelectionEnd(); in enoughToFilter() 193 int end = getSelectionEnd(); in replaceText()
|
D | SelectionActionModeHelper.java | 117 mTextView.getSelectionEnd(), in startSelectionActionModeAsync() 177 mTextView.getSelectionStart(), mTextView.getSelectionEnd(), in onSelectionAction() 183 mTextView.getSelectionStart(), mTextView.getSelectionEnd(), in onSelectionDrag() 236 final boolean noSelection = mTextView.getSelectionEnd() == mTextView.getSelectionStart(); in skipTextClassification() 307 || mTextView.getSelectionEnd() != result.mEnd); in startSelectionActionModeWithSmartSelectAnimation() 458 mTextView.getSelectionStart(), mTextView.getSelectionEnd(), mTextClassification); in invalidateActionMode() 466 selectionEnd = mTextView.getSelectionEnd(); in resetTextClassificationHelper() 607 mSelectionEnd = editor.getTextView().getSelectionEnd(); in resetSelection() 609 textView.getSelectionStart(), textView.getSelectionEnd(), in resetSelection()
|
D | Editor.java | 462 int middle = (mTextView.getSelectionStart() + mTextView.getSelectionEnd()) / 2; in replace() 1112 int selectionEnd = mTextView.getSelectionEnd(); in touchPositionIsInSelection() 1179 final int end = mTextView.getSelectionEnd(); in startDragAndDrop() 1260 int selEnd = mTextView.getSelectionEnd(); in onFocusChanged() 1703 outText.selectionEnd = mTextView.getSelectionEnd(); in extractTextInternal() 1761 final int selectionEnd = mTextView.getSelectionEnd(); in sendUpdateSelection() 1780 final int selectionEnd = mTextView.getSelectionEnd(); in onDraw() 2288 final int selectionEnd = mTextView.getSelectionEnd(); in shouldOfferToShowSuggestions() 2347 mTextView.getSelectionEnd(), SuggestionSpan.class); in isCursorInsideEasyCorrectionSpan() 2569 final int end = mTextView.getSelectionEnd(); in shouldBlink() [all …]
|
D | TextView.java | 2108 Selection.setSelection(mSpannable, getSelectionEnd()); in onActivityResult() 5846 end = getSelectionEnd(); in onSaveInstanceState() 6345 int end = getSelectionEnd(); in setTextKeepState() 7405 int where = getSelectionEnd(); in invalidateCursor() 7502 int curs = getSelectionEnd(); in onPreDraw() 7789 final int selEnd = getSelectionEnd(); in getUpdatedHighlightPath() 8005 int selEnd = getSelectionEnd(); in getFocusedRect() 8667 outAttrs.initialSelEnd = getSelectionEnd(); in onCreateInputConnection() 9998 int end = getSelectionEnd(); in moveCursorToVisibleOffset() 10127 public int getSelectionEnd() { in getSelectionEnd() method in TextView.Drawables [all …]
|
D | SpellChecker.java | 268 final int selectionEnd = Selection.getSelectionEnd(editable); in spellCheck()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | BaseInputConnection.java | 224 int b = Selection.getSelectionEnd(content); in deleteSurroundingText() 381 int b = Selection.getSelectionEnd(content); in deleteSurroundingTextInCodePoints() 459 int b = Selection.getSelectionEnd(content); in getCursorCapsMode() 486 int b = Selection.getSelectionEnd(content); in getTextBeforeCursor() 517 int b = Selection.getSelectionEnd(content); in getSelectedText() 542 int b = Selection.getSelectionEnd(content); in getTextAfterCursor() 789 b = Selection.getSelectionEnd(content); in replaceText()
|
D | CursorAnchorInfo.java | 514 public int getSelectionEnd() { in getSelectionEnd() method in CursorAnchorInfo
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | TextViewAssertions.java | 113 int selectionEnd = textView.getSelectionEnd(); in hasInsertionPointerAtIndex() 171 int selectionEnd = textView.getSelectionEnd();
|
D | TextViewActions.java | 456 mTextView.getSelectionStart() : mTextView.getSelectionEnd(); in locateHandlePointsTextIndex()
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 228 int oldSelEnd = Selection.getSelectionEnd(getText()); in onTouchEvent() 236 Selection.getSelectionEnd(getText())); in onTouchEvent() 280 boolean selection = getSelectionStart() != getSelectionEnd(); in onTextContextMenuItem() 1303 public int getSelectionEnd() { in getSelectionEnd() method in EditStyledText.EditorManager 1474 int min = Math.min(getSelectionStart(), getSelectionEnd()); in copyToClipBoard() 1475 int max = Math.max(getSelectionStart(), getSelectionEnd()); in copyToClipBoard() 1490 int min = Math.min(getSelectionStart(), getSelectionEnd()); in cutToClipBoard() 1491 int max = Math.max(getSelectionStart(), getSelectionEnd()); in cutToClipBoard() 1519 int min = Math.min(mEST.getSelectionStart(), mEST.getSelectionEnd()); in pasteFromClipboard() 1520 int max = Math.max(mEST.getSelectionStart(), mEST.getSelectionEnd()); in pasteFromClipboard() [all …]
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 757 int end = getSelectionEnd(); in shrink() 770 int selEnd = getSelectionEnd(); in shrink() 1636 int end = getSelectionEnd(); in commitDefault() 1644 if (whatEnd != getSelectionEnd()) { in commitDefault() 1659 int end = getSelectionEnd(); in commitByCharacter() 1670 && end == getSelectionEnd() && !isPhoneQuery() in commitChip() 1707 if (end == getSelectionEnd()) { in commitChip() 1793 int selEnd = getSelectionEnd(); in handleEdit() 1875 int end = getSelectionEnd(); in performFiltering() 2270 int end = getSelectionEnd(); in submitItemAtPosition() [all …]
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/span/ |
D | LinkSpanTest.java | 91 assertThat(Selection.getSelectionEnd(textView.getText())).isEqualTo(0); in onClick_shouldClearSelection()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberFormattingTextWatcher.java | 110 String formatted = reformat(s, Selection.getSelectionEnd(s)); in afterTextChanged()
|
/frameworks/base/core/java/android/transition/ |
D | ChangeText.java | 136 textview.getSelectionEnd()); in captureValues()
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | ForwardDeleteTest.java | 70 state.mSelectionEnd = mTextView.getSelectionEnd(); in forwardDelete()
|
D | BackspaceTest.java | 72 state.mSelectionEnd = mTextView.getSelectionEnd(); in backspace()
|