Home
last modified time | relevance | path

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

/frameworks/base/core/tests/InputMethodCoreTests/src/android/view/inputmethod/
DEditorInfoTest.java75 TEST_EDITOR_INFO.initialSelEnd = 1;
146 editorInfo.initialSelEnd = editorInfo.initialSelStart + selectionLength; in setInitialText_cursorAtHead_dividesByCursorPosition()
151 editorInfo.initialSelEnd, 0); in setInitialText_cursorAtHead_dividesByCursorPosition()
166 editorInfo.initialSelEnd = testText.length(); in setInitialText_cursorAtTail_dividesByCursorPosition()
171 editorInfo.initialSelEnd, 0); in setInitialText_cursorAtTail_dividesByCursorPosition()
185 editorInfo.initialSelEnd = editorInfo.initialSelStart + selectionLength; in setInitialText_cursorAtMiddle_dividesByCursorPosition()
187 final int expectedTextAfterCursorLength = testText.length() - editorInfo.initialSelEnd; in setInitialText_cursorAtMiddle_dividesByCursorPosition()
190 editorInfo.initialSelEnd, 0); in setInitialText_cursorAtMiddle_dividesByCursorPosition()
203 editorInfo.initialSelEnd = testText.length() / 2; in setInitialText_incorrectCursorOrder_correctsThenDivide()
204 editorInfo.initialSelStart = editorInfo.initialSelEnd + selectionLength; in setInitialText_incorrectCursorOrder_correctsThenDivide()
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DEditorInfo.java430 public int initialSelEnd = -1; field in EditorInfo
864 final int subTextSelStart = initialSelStart > initialSelEnd in setInitialSurroundingSubText()
865 ? initialSelEnd - subTextStart : initialSelStart - subTextStart; in setInitialSurroundingSubText()
866 final int subTextSelEnd = initialSelStart > initialSelEnd in setInitialSurroundingSubText()
867 ? initialSelStart - subTextStart : initialSelEnd - subTextStart; in setInitialSurroundingSubText()
1006 final int correctedTextSelStart = initialSelStart > initialSelEnd in getInitialSelectedText()
1007 ? initialSelEnd : initialSelStart; in getInitialSelectedText()
1008 final int correctedTextSelEnd = initialSelStart > initialSelEnd in getInitialSelectedText()
1009 ? initialSelStart : initialSelEnd; in getInitialSelectedText()
1020 if (initialSelStart < 0 || initialSelEnd < 0 || selLength != sourceSelLength) { in getInitialSelectedText()
[all …]
DInputMethodManager.java3095 editorInfo.initialSelEnd = mCursorSelEnd = textSnapshot.getSelectionEnd(); in doInvalidateInput()
3258 mCursorSelEnd = editorInfo.initialSelEnd; in startInputInner()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt35626 field public int initialSelEnd;
/frameworks/base/core/api/
Dcurrent.txt56083 field public int initialSelEnd;