Home
last modified time | relevance | path

Searched refs:getSelectionStart (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/java/android/text/
DSelection.java40 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()
DSpannableStringBuilder.java545 selectionStart = Selection.getSelectionStart(this); in replace()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java227 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/
DBaseInputConnection.java223 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()
DCursorAnchorInfo.java506 public int getSelectionStart() { in getSelectionStart() method in CursorAnchorInfo
/frameworks/base/core/java/android/text/method/
DBaseKeyListener.java377 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()
DMultiTapKeyListener.java98 int a = Selection.getSelectionStart(content); in onKeyDown()
273 int st = Selection.getSelectionStart(buf); in run()
DNumberKeyListener.java109 int a = Selection.getSelectionStart(content); in onKeyDown()
DLinkMovementMethod.java117 int a = Selection.getSelectionStart(buffer); in action()
DQwertyKeyListener.java99 int a = Selection.getSelectionStart(content); in onKeyDown()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewAssertions.java112 int selectionStart = textView.getSelectionStart(); in hasInsertionPointerAtIndex()
170 int selectionStart = textView.getSelectionStart();
DTextViewActions.java456 mTextView.getSelectionStart() : mTextView.getSelectionEnd(); in locateHandlePointsTextIndex()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DTouchableMovementMethod.java62 lastEventResult = Selection.getSelectionStart(buffer) != -1; in onTouchEvent()
/frameworks/base/core/java/android/widget/
DEditor.java462 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 …]
DTextView.java5850 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 …]
DSelectionActionModeHelper.java127 int selectionStart = textView.getSelectionStart(); in sortSelectionIndicesFromTextView()
269 final boolean noSelection = mTextView.getSelectionEnd() == mTextView.getSelectionStart(); in skipTextClassification()
DSpellChecker.java267 final int selectionStart = Selection.getSelectionStart(editable); in spellCheck()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/span/
DLinkSpanTest.java90 assertThat(Selection.getSelectionStart(textView.getText())).isEqualTo(0); in onClick_shouldClearSelection()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DEditTextCursorMovementPerfTest.java105 Assert.assertEquals(mCursorPos, Selection.getSelectionStart(editText.getText())); in testCursorMovement()
DEditTextBackspacePerfTest.java105 Assert.assertEquals(mCursorPos, Selection.getSelectionStart(editText.getText())); in prepareTextForBackspace()
/frameworks/base/core/java/android/transition/
DChangeText.java134 textview.getSelectionStart()); in captureValues()
/frameworks/base/core/tests/coretests/src/android/text/method/
DForwardDeleteTest.java69 state.mSelectionStart = mTextView.getSelectionStart(); in forwardDelete()
DBackspaceTest.java71 state.mSelectionStart = mTextView.getSelectionStart(); in backspace()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java2861 int selStart = getSelectionStart(); in onTextChanged()
2947 final int start = getSelectionStart(); in handlePasteClip()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt29788 method public static final int getSelectionStart(java.lang.CharSequence);
35575 method public int getSelectionStart();
38811 method public int getSelectionStart();

12