/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 | Editor.java | 598 int middle = (mTextView.getSelectionStart() + mTextView.getSelectionEnd()) / 2; in replace() 1248 int selectionEnd = mTextView.getSelectionEnd(); in touchPositionIsInSelection() 1315 final int end = mTextView.getSelectionEnd(); in startDragAndDrop() 1417 int selEnd = mTextView.getSelectionEnd(); in onFocusChanged() 1840 outText.selectionEnd = mTextView.getSelectionEnd(); in extractTextInternal() 1898 final int selectionEnd = mTextView.getSelectionEnd(); in sendUpdateSelection() 1917 final int selectionEnd = mTextView.getSelectionEnd(); in onDraw() 2425 final int selectionEnd = mTextView.getSelectionEnd(); in shouldOfferToShowSuggestions() 2484 mTextView.getSelectionEnd(), SuggestionSpan.class); in isCursorInsideEasyCorrectionSpan() 2715 final int end = mTextView.getSelectionEnd(); in shouldBlink() [all …]
|
D | TextView.java | 2134 Selection.setSelection(mSpannable, getSelectionEnd()); in onActivityResult() 5888 end = getSelectionEnd(); in onSaveInstanceState() 6387 int end = getSelectionEnd(); in setTextKeepState() 7448 int where = getSelectionEnd(); in invalidateCursor() 7545 int curs = getSelectionEnd(); in onPreDraw() 7832 final int selEnd = getSelectionEnd(); in getUpdatedHighlightPath() 8048 int selEnd = getSelectionEnd(); in getFocusedRect() 8694 outAttrs.initialSelEnd = getSelectionEnd(); in onCreateInputConnection() 10026 int end = getSelectionEnd(); in moveCursorToVisibleOffset() 10155 public int getSelectionEnd() { in getSelectionEnd() method in TextView.Drawables [all …]
|
D | SelectionActionModeHelper.java | 127 int selectionEnd = textView.getSelectionEnd(); in sortSelctionIndicesFromTextView() 268 final boolean noSelection = mTextView.getSelectionEnd() == mTextView.getSelectionStart(); in skipTextClassification()
|
D | SpellChecker.java | 268 final int selectionEnd = Selection.getSelectionEnd(editable); in spellCheck()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | BaseInputConnection.java | 228 int b = Selection.getSelectionEnd(content); in deleteSurroundingText() 398 int b = Selection.getSelectionEnd(content); in deleteSurroundingTextInCodePoints() 476 int b = Selection.getSelectionEnd(content); in getCursorCapsMode() 503 int b = Selection.getSelectionEnd(content); in getTextBeforeCursor() 534 int b = Selection.getSelectionEnd(content); in getSelectedText() 559 int b = Selection.getSelectionEnd(content); in getTextAfterCursor() 807 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 | 557 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 | 760 int end = getSelectionEnd(); in shrink() 773 int selEnd = getSelectionEnd(); in shrink() 1639 int end = getSelectionEnd(); in commitDefault() 1647 if (whatEnd != getSelectionEnd()) { in commitDefault() 1662 int end = getSelectionEnd(); in commitByCharacter() 1673 && end == getSelectionEnd() && !isPhoneQuery() in commitChip() 1710 if (end == getSelectionEnd()) { in commitChip() 1796 int selEnd = getSelectionEnd(); in handleEdit() 1878 int end = getSelectionEnd(); in performFiltering() 2273 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 | 109 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()
|