/frameworks/base/core/java/android/text/ |
D | Selection.java | 40 public static final int getSelectionStart(CharSequence text) { in getSelectionStart() method in Selection 90 int ostart = getSelectionStart(text); in setSelection() 199 int start = getSelectionStart(text); in moveUp() 270 int start = getSelectionStart(text); in moveDown() 306 int start = getSelectionStart(text); in moveLeft() 331 int start = getSelectionStart(text); in moveRight()
|
D | SpannableStringBuilder.java | 545 selectionStart = Selection.getSelectionStart(this); in replace()
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 227 int oldSelStart = Selection.getSelectionStart(getText()); in onTouchEvent() 235 mManager.showSoftKey(Selection.getSelectionStart(getText()), in onTouchEvent() 280 boolean selection = getSelectionStart() != getSelectionEnd(); in onTextContextMenuItem() 1052 uri, mEST.getMaxImageWidthPx()), mEST.getSelectionStart()); in insertImageFromUri() 1057 resId, mEST.getMaxImageWidthDip()), mEST.getSelectionStart()); in insertImageFromResId() 1064 int curpos = mEST.getSelectionStart(); in insertHorizontalLine() 1299 public int getSelectionStart() { in getSelectionStart() 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() [all …]
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | BaseInputConnection.java | 223 int a = Selection.getSelectionStart(content); in deleteSurroundingText() 380 int a = Selection.getSelectionStart(content); in deleteSurroundingTextInCodePoints() 458 int a = Selection.getSelectionStart(content); in getCursorCapsMode() 485 int a = Selection.getSelectionStart(content); in getTextBeforeCursor() 516 int a = Selection.getSelectionStart(content); in getSelectedText() 541 int a = Selection.getSelectionStart(content); in getTextAfterCursor() 788 a = Selection.getSelectionStart(content); in replaceText()
|
D | CursorAnchorInfo.java | 506 public int getSelectionStart() { in getSelectionStart() method in CursorAnchorInfo
|
/frameworks/base/core/java/android/text/method/ |
D | BaseKeyListener.java | 377 int currentCursorOffset = Selection.getSelectionStart(content); in deleteUntilWordBoundary() 425 int selectionStart = Selection.getSelectionStart(content); in deleteSelection() 443 final int line = layout.getLineForOffset(Selection.getSelectionStart(content)); in deleteLine() 508 int selectionStart = Selection.getSelectionStart(content); in onKeyOther()
|
D | MultiTapKeyListener.java | 98 int a = Selection.getSelectionStart(content); in onKeyDown() 273 int st = Selection.getSelectionStart(buf); in run()
|
D | NumberKeyListener.java | 109 int a = Selection.getSelectionStart(content); in onKeyDown()
|
D | LinkMovementMethod.java | 117 int a = Selection.getSelectionStart(buffer); in action()
|
D | QwertyKeyListener.java | 99 int a = Selection.getSelectionStart(content); in onKeyDown()
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | TextViewAssertions.java | 112 int selectionStart = textView.getSelectionStart(); in hasInsertionPointerAtIndex() 170 int selectionStart = textView.getSelectionStart();
|
D | TextViewActions.java | 456 mTextView.getSelectionStart() : mTextView.getSelectionEnd(); in locateHandlePointsTextIndex()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | TouchableMovementMethod.java | 62 lastEventResult = Selection.getSelectionStart(buffer) != -1; in onTouchEvent()
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 462 int middle = (mTextView.getSelectionStart() + mTextView.getSelectionEnd()) / 2; in replace() 1111 int selectionStart = mTextView.getSelectionStart(); in touchPositionIsInSelection() 1178 final int start = mTextView.getSelectionStart(); in startDragAndDrop() 1259 int selStart = mTextView.getSelectionStart(); in onFocusChanged() 1702 outText.selectionStart = mTextView.getSelectionStart(); in extractTextInternal() 1760 final int selectionStart = mTextView.getSelectionStart(); in sendUpdateSelection() 1779 final int selectionStart = mTextView.getSelectionStart(); in onDraw() 2065 final int offset = mTextView.getSelectionStart(); in updateCursorPosition() 2287 final int selectionStart = mTextView.getSelectionStart(); in shouldOfferToShowSuggestions() 2346 SuggestionSpan[] suggestionSpans = spannable.getSpans(mTextView.getSelectionStart(), in isCursorInsideEasyCorrectionSpan() [all …]
|
D | TextView.java | 5850 start = getSelectionStart(); in onSaveInstanceState() 6349 int start = getSelectionStart(); in setTextKeepState() 7511 curs = getSelectionStart(); in onPreDraw() 7793 final int selStart = getSelectionStart(); in getUpdatedHighlightPath() 8016 int selStart = getSelectionStart(); in getFocusedRect() 8671 outAttrs.initialSelStart = getSelectionStart(); in onCreateInputConnection() 10002 int start = getSelectionStart(); in moveCursorToVisibleOffset() 10124 public int getSelectionStart() { in getSelectionStart() method in TextView.Drawables 10125 return Selection.getSelectionStart(getText()); in getSelectionStart() 10140 final int selectionStart = getSelectionStart(); in hasSelection() [all …]
|
D | SelectionActionModeHelper.java | 127 int selectionStart = textView.getSelectionStart(); in sortSelectionIndicesFromTextView() 269 final boolean noSelection = mTextView.getSelectionEnd() == mTextView.getSelectionStart(); in skipTextClassification()
|
D | SpellChecker.java | 267 final int selectionStart = Selection.getSelectionStart(editable); in spellCheck()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/span/ |
D | LinkSpanTest.java | 90 assertThat(Selection.getSelectionStart(textView.getText())).isEqualTo(0); in onClick_shouldClearSelection()
|
/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
D | EditTextCursorMovementPerfTest.java | 105 Assert.assertEquals(mCursorPos, Selection.getSelectionStart(editText.getText())); in testCursorMovement()
|
D | EditTextBackspacePerfTest.java | 105 Assert.assertEquals(mCursorPos, Selection.getSelectionStart(editText.getText())); in prepareTextForBackspace()
|
/frameworks/base/core/java/android/transition/ |
D | ChangeText.java | 134 textview.getSelectionStart()); in captureValues()
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | ForwardDeleteTest.java | 69 state.mSelectionStart = mTextView.getSelectionStart(); in forwardDelete()
|
D | BackspaceTest.java | 71 state.mSelectionStart = mTextView.getSelectionStart(); in backspace()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 2861 int selStart = getSelectionStart(); in onTextChanged() 2947 final int start = getSelectionStart(); in handlePasteClip()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 29788 method public static final int getSelectionStart(java.lang.CharSequence); 35575 method public int getSelectionStart(); 38811 method public int getSelectionStart();
|