Home
last modified time | relevance | path

Searched refs:initialSelEnd (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DEditorInfoTest.java109 editorInfo.initialSelEnd = editorInfo.initialSelStart + selectionLength; in setInitialText_cursorAtHead_dividesByCursorPosition()
114 editorInfo.initialSelEnd, 0); in setInitialText_cursorAtHead_dividesByCursorPosition()
129 editorInfo.initialSelEnd = testText.length(); in setInitialText_cursorAtTail_dividesByCursorPosition()
134 editorInfo.initialSelEnd, 0); in setInitialText_cursorAtTail_dividesByCursorPosition()
148 editorInfo.initialSelEnd = editorInfo.initialSelStart + selectionLength; in setInitialText_cursorAtMiddle_dividesByCursorPosition()
150 final int expectedTextAfterCursorLength = testText.length() - editorInfo.initialSelEnd; in setInitialText_cursorAtMiddle_dividesByCursorPosition()
153 editorInfo.initialSelEnd, 0); in setInitialText_cursorAtMiddle_dividesByCursorPosition()
166 editorInfo.initialSelEnd = testText.length() / 2; in setInitialText_incorrectCursorOrder_correctsThenDivide()
167 editorInfo.initialSelStart = editorInfo.initialSelEnd + selectionLength; in setInitialText_incorrectCursorOrder_correctsThenDivide()
173 editorInfo.initialSelEnd, in setInitialText_incorrectCursorOrder_correctsThenDivide()
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DEditorInfo.java418 public int initialSelEnd = -1; field in EditorInfo
618 final int subTextSelStart = initialSelStart > initialSelEnd in setInitialSurroundingSubText()
619 ? initialSelEnd - subTextStart : initialSelStart - subTextStart; in setInitialSurroundingSubText()
620 final int subTextSelEnd = initialSelStart > initialSelEnd in setInitialSurroundingSubText()
621 ? initialSelStart - subTextStart : initialSelEnd - subTextStart; in setInitialSurroundingSubText()
760 final int correctedTextSelStart = initialSelStart > initialSelEnd in getInitialSelectedText()
761 ? initialSelEnd : initialSelStart; in getInitialSelectedText()
762 final int correctedTextSelEnd = initialSelStart > initialSelEnd in getInitialSelectedText()
763 ? initialSelStart : initialSelEnd; in getInitialSelectedText()
774 if (initialSelStart < 0 || initialSelEnd < 0 || selLength != sourceSelLength) { in getInitialSelectedText()
[all …]
DInputMethodManager.java1964 mCursorSelEnd = tba.initialSelEnd; in startInputInner()
/frameworks/base/core/java/android/widget/
DTextView.java8788 outAttrs.initialSelEnd = getSelectionEnd(); in onCreateInputConnection()
/frameworks/base/core/api/
Dcurrent.txt51775 field public int initialSelEnd;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt35626 field public int initialSelEnd;