Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DSelection.java37 public static final int getSelectionStart(CharSequence text) { in getSelectionStart() method in Selection
72 int ostart = getSelectionStart(text); in setSelection()
123 int start = getSelectionStart(text); in moveUp()
169 int start = getSelectionStart(text); in moveDown()
214 int start = getSelectionStart(text); in moveLeft()
239 int start = getSelectionStart(text); in moveRight()
DSpannableStringBuilder.java546 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.java224 int a = Selection.getSelectionStart(content); in deleteSurroundingText()
381 int a = Selection.getSelectionStart(content); in deleteSurroundingTextInCodePoints()
459 int a = Selection.getSelectionStart(content); in getCursorCapsMode()
486 int a = Selection.getSelectionStart(content); in getTextBeforeCursor()
517 int a = Selection.getSelectionStart(content); in getSelectedText()
542 int a = Selection.getSelectionStart(content); in getTextAfterCursor()
789 a = Selection.getSelectionStart(content); in replaceText()
DCursorAnchorInfo.java445 public int getSelectionStart() { in getSelectionStart() method in CursorAnchorInfo
/frameworks/base/core/java/android/text/method/
DBaseKeyListener.java354 int currentCursorOffset = Selection.getSelectionStart(content); in deleteUntilWordBoundary()
402 int selectionStart = Selection.getSelectionStart(content); in deleteSelection()
420 final int line = layout.getLineForOffset(Selection.getSelectionStart(content)); in deleteLine()
485 int selectionStart = Selection.getSelectionStart(content); in onKeyOther()
DMultiTapKeyListener.java95 int a = Selection.getSelectionStart(content); in onKeyDown()
270 int st = Selection.getSelectionStart(buf); in run()
DNumberKeyListener.java101 int a = Selection.getSelectionStart(content); in onKeyDown()
DLinkMovementMethod.java112 int a = Selection.getSelectionStart(buffer); in action()
DQwertyKeyListener.java94 int a = Selection.getSelectionStart(content); in onKeyDown()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewAssertions.java108 int selectionStart = textView.getSelectionStart(); in hasInsertionPointerAtIndex()
154 int selectionStart = textView.getSelectionStart();
DTextViewActions.java439 mTextView.getSelectionStart() : mTextView.getSelectionEnd(); in locateHandlePointsTextIndex()
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DCursorAnchorInfoTest.java107 assertEquals(SELECTION_START, info.getSelectionStart()); in testBuilder()
132 assertEquals(SELECTION_START, info2.getSelectionStart()); in testBuilder()
159 assertEquals(SELECTION_START, info3.getSelectionStart()); in testBuilder()
185 assertEquals(-1, uninitializedInfo.getSelectionStart()); in testBuilder()
/frameworks/base/core/java/android/widget/
DEditor.java361 int middle = (mTextView.getSelectionStart() + mTextView.getSelectionEnd()) / 2; in replace()
983 int selectionStart = mTextView.getSelectionStart(); in touchPositionIsInSelection()
1087 final int start = mTextView.getSelectionStart(); in startDragAndDrop()
1142 int selStart = mTextView.getSelectionStart(); in onFocusChanged()
1559 outText.selectionStart = mTextView.getSelectionStart(); in extractTextInternal()
1608 final int selectionStart = mTextView.getSelectionStart(); in sendUpdateSelection()
1627 final int selectionStart = mTextView.getSelectionStart(); in onDraw()
1851 final int offset = mTextView.getSelectionStart(); in updateCursorsPositions()
2037 final int selectionStart = mTextView.getSelectionStart(); in shouldOfferToShowSuggestions()
2096 SuggestionSpan[] suggestionSpans = spannable.getSpans(mTextView.getSelectionStart(), in isCursorInsideEasyCorrectionSpan()
[all …]
DTextView.java4132 start = getSelectionStart(); in onSaveInstanceState()
4538 int start = getSelectionStart(); in setTextKeepState()
5382 curs = getSelectionStart(); in onPreDraw()
5662 final int selStart = getSelectionStart(); in getUpdatedHighlightPath()
5888 int selStart = getSelectionStart(); in getFocusedRect()
6501 outAttrs.initialSelStart = getSelectionStart(); in onCreateInputConnection()
7661 int start = getSelectionStart(); in moveCursorToVisibleOffset()
7781 public int getSelectionStart() { in getSelectionStart() method in TextView
7782 return Selection.getSelectionStart(getText()); in getSelectionStart()
7797 final int selectionStart = getSelectionStart(); in hasSelection()
[all …]
DSpellChecker.java264 final int selectionStart = Selection.getSelectionStart(editable); in spellCheck()
/frameworks/base/core/java/android/transition/
DChangeText.java134 textview.getSelectionStart()); in captureValues()
/frameworks/base/core/tests/coretests/src/android/text/method/
DForwardDeleteTest.java64 state.mSelectionStart = mTextView.getSelectionStart(); in forwardDelete()
DBackspaceTest.java64 state.mSelectionStart = mTextView.getSelectionStart(); in backspace()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridWidgetTest.java2134 assertEquals(((TextView) mGridView.getChildAt(0)).getSelectionStart(), 1); in testChildStates()
2136 assertEquals(((TextView) mGridView.getChildAt(1)).getSelectionStart(), 1); in testChildStates()
2152 assertEquals(((TextView) mGridView.getChildAt(0)).getSelectionStart(), 1); in testChildStates()
2154 assertEquals(((TextView) mGridView.getChildAt(1)).getSelectionStart(), 1); in testChildStates()
2204 assertEquals(-1, ((TextView) mGridView.getChildAt(i)).getSelectionStart()); in testNoDispatchSaveChildState()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java2848 int selStart = getSelectionStart(); in onTextChanged()
2934 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();
/frameworks/base/api/
Dcurrent.txt38556 method public static final int getSelectionStart(java.lang.CharSequence);
44754 method public int getSelectionStart();
48136 method public int getSelectionStart();
Dsystem-current.txt41733 method public static final int getSelectionStart(java.lang.CharSequence);
47934 method public int getSelectionStart();
51670 method public int getSelectionStart();
Dtest-current.txt38642 method public static final int getSelectionStart(java.lang.CharSequence);
44840 method public int getSelectionStart();
48225 method public int getSelectionStart();