/frameworks/base/core/java/android/text/ |
D | Selection.java | 48 public static final int getSelectionEnd(CharSequence text) { in getSelectionEnd() method in Selection 73 int oend = getSelectionEnd(text); in setSelection() 124 int end = getSelectionEnd(text); in moveUp() 170 int end = getSelectionEnd(text); in moveDown() 215 int end = getSelectionEnd(text); in moveLeft() 240 int end = getSelectionEnd(text); in moveRight() 262 int end = getSelectionEnd(text); in extendUp() 291 int end = getSelectionEnd(text); in extendDown() 320 int end = getSelectionEnd(text); in extendLeft() 336 int end = getSelectionEnd(text); in extendRight() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneNumberWatcherTest.java | 42 assertEquals(formatted1.length(), Selection.getSelectionEnd(number)); in testAppendChars() 53 assertEquals(formatted2.length(), Selection.getSelectionEnd(number)); in testAppendChars() 70 assertEquals(result1.length(), Selection.getSelectionEnd(number)); in testRemoveLastChars() 79 assertEquals(result2.length(), Selection.getSelectionEnd(number)); in testRemoveLastChars() 97 assertEquals(5, Selection.getSelectionEnd(number)); in testInsertChars() 108 assertEquals(12, Selection.getSelectionEnd(number)); in testInsertChars() 126 assertEquals(expected1.length(), Selection.getSelectionEnd(number)); in testStopFormatting() 139 assertEquals(5, Selection.getSelectionEnd(number)); in testStopFormatting() 152 assertEquals(9, Selection.getSelectionEnd(number)); in testStopFormatting() 170 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 | 96 int b = Selection.getSelectionEnd(content); in onKeyDown() 196 selEnd = Selection.getSelectionEnd(content); in onKeyDown() 271 int en = Selection.getSelectionEnd(buf); in run() 277 Selection.setSelection(buf, Selection.getSelectionEnd(buf)); in run()
|
D | BaseKeyListener.java | 327 final int start = Selection.getSelectionEnd(content); in backspaceOrForwardDelete() 356 if (currentCursorOffset != Selection.getSelectionEnd(content)) { in deleteUntilWordBoundary() 402 int selectionEnd = Selection.getSelectionEnd(content); in deleteSelection() 485 int selectionEnd = Selection.getSelectionEnd(content); in onKeyOther()
|
D | QwertyKeyListener.java | 95 int b = Selection.getSelectionEnd(content); in onKeyDown() 226 selEnd = Selection.getSelectionEnd(content); in onKeyDown() 280 selEnd = Selection.getSelectionEnd(content); in onKeyDown()
|
D | NumberKeyListener.java | 102 int b = Selection.getSelectionEnd(content); in onKeyDown()
|
D | CharacterPickerDialog.java | 94 int selEnd = Selection.getSelectionEnd(mText); in replaceCharacterAndClose()
|
D | LinkMovementMethod.java | 113 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 | 361 int middle = (mTextView.getSelectionStart() + mTextView.getSelectionEnd()) / 2; in replace() 984 int selectionEnd = mTextView.getSelectionEnd(); in touchPositionIsInSelection() 1088 final int end = mTextView.getSelectionEnd(); in startDragAndDrop() 1143 int selEnd = mTextView.getSelectionEnd(); in onFocusChanged() 1560 outText.selectionEnd = mTextView.getSelectionEnd(); in extractTextInternal() 1609 final int selectionEnd = mTextView.getSelectionEnd(); in sendUpdateSelection() 1628 final int selectionEnd = mTextView.getSelectionEnd(); in onDraw() 2038 final int selectionEnd = mTextView.getSelectionEnd(); in shouldOfferToShowSuggestions() 2097 mTextView.getSelectionEnd(), SuggestionSpan.class); in isCursorInsideEasyCorrectionSpan() 2301 final int end = mTextView.getSelectionEnd(); in shouldBlink() [all …]
|
D | TextView.java | 1523 Selection.setSelection((Spannable) mText, getSelectionEnd()); in onActivityResult() 4128 end = getSelectionEnd(); in onSaveInstanceState() 4534 int end = getSelectionEnd(); in setTextKeepState() 5276 int where = getSelectionEnd(); in invalidateCursor() 5373 int curs = getSelectionEnd(); in onPreDraw() 5658 final int selEnd = getSelectionEnd(); in getUpdatedHighlightPath() 5877 int selEnd = getSelectionEnd(); in getFocusedRect() 6497 outAttrs.initialSelEnd = getSelectionEnd(); in onCreateInputConnection() 7657 int end = getSelectionEnd(); in moveCursorToVisibleOffset() 7784 public int getSelectionEnd() { in getSelectionEnd() method in TextView [all …]
|
D | SpellChecker.java | 265 final int selectionEnd = Selection.getSelectionEnd(editable); in spellCheck()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | BaseInputConnection.java | 225 int b = Selection.getSelectionEnd(content); in deleteSurroundingText() 382 int b = Selection.getSelectionEnd(content); in deleteSurroundingTextInCodePoints() 460 int b = Selection.getSelectionEnd(content); in getCursorCapsMode() 487 int b = Selection.getSelectionEnd(content); in getTextBeforeCursor() 518 int b = Selection.getSelectionEnd(content); in getSelectedText() 543 int b = Selection.getSelectionEnd(content); in getTextAfterCursor() 790 b = Selection.getSelectionEnd(content); in replaceText()
|
D | CursorAnchorInfo.java | 453 public int getSelectionEnd() { in getSelectionEnd() method in CursorAnchorInfo
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | TextViewAssertions.java | 109 int selectionEnd = textView.getSelectionEnd(); in hasInsertionPointerAtIndex() 155 int selectionEnd = textView.getSelectionEnd();
|
D | TextViewActions.java | 439 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 | 708 int end = getSelectionEnd(); in shrink() 721 int selEnd = getSelectionEnd(); in shrink() 1485 int end = getSelectionEnd(); in commitDefault() 1493 if (whatEnd != getSelectionEnd()) { in commitDefault() 1508 int end = getSelectionEnd(); in commitByCharacter() 1519 && end == getSelectionEnd() && !isPhoneQuery()) { in commitChip() 1557 if (end == getSelectionEnd()) { in commitChip() 1643 int selEnd = getSelectionEnd(); in handleEdit() 1708 int end = getSelectionEnd(); in performFiltering() 2048 int end = getSelectionEnd(); in submitItemAtPosition() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
D | CursorAnchorInfoTest.java | 108 assertEquals(SELECTION_END, info.getSelectionEnd()); in testBuilder() 133 assertEquals(SELECTION_END, info2.getSelectionEnd()); in testBuilder() 160 assertEquals(SELECTION_END, info3.getSelectionEnd()); in testBuilder() 186 assertEquals(-1, uninitializedInfo.getSelectionEnd()); in testBuilder()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberFormattingTextWatcher.java | 108 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 | 65 state.mSelectionEnd = mTextView.getSelectionEnd(); in forwardDelete()
|
D | BackspaceTest.java | 65 state.mSelectionEnd = mTextView.getSelectionEnd(); in backspace()
|
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/ |
D | GridWidgetTest.java | 2094 assertEquals(((TextView) mGridView.getChildAt(0)).getSelectionEnd(), 2); in testChildStates() 2096 assertEquals(((TextView) mGridView.getChildAt(1)).getSelectionEnd(), 2); in testChildStates() 2112 assertEquals(((TextView) mGridView.getChildAt(0)).getSelectionEnd(), 2); in testChildStates() 2114 assertEquals(((TextView) mGridView.getChildAt(1)).getSelectionEnd(), 2); in testChildStates() 2164 assertEquals(-1, ((TextView) mGridView.getChildAt(i)).getSelectionEnd()); in testNoDispatchSaveChildState()
|