Home
last modified time | relevance | path

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

/frameworks/base/core/tests/InputMethodCoreTests/src/android/view/inputmethod/
DEditorInfoTest.java74 TEST_EDITOR_INFO.initialSelStart = 0;
145 editorInfo.initialSelStart = 0; in setInitialText_cursorAtHead_dividesByCursorPosition()
146 editorInfo.initialSelEnd = editorInfo.initialSelStart + selectionLength; in setInitialText_cursorAtHead_dividesByCursorPosition()
150 new SurroundingText(testText, editorInfo.initialSelStart, in setInitialText_cursorAtHead_dividesByCursorPosition()
165 editorInfo.initialSelStart = testText.length() - selectionLength; in setInitialText_cursorAtTail_dividesByCursorPosition()
170 new SurroundingText(testText, editorInfo.initialSelStart, in setInitialText_cursorAtTail_dividesByCursorPosition()
184 editorInfo.initialSelStart = testText.length() / 2; in setInitialText_cursorAtMiddle_dividesByCursorPosition()
185 editorInfo.initialSelEnd = editorInfo.initialSelStart + selectionLength; in setInitialText_cursorAtMiddle_dividesByCursorPosition()
186 final int expectedTextBeforeCursorLength = editorInfo.initialSelStart; in setInitialText_cursorAtMiddle_dividesByCursorPosition()
189 new SurroundingText(testText, editorInfo.initialSelStart, in setInitialText_cursorAtMiddle_dividesByCursorPosition()
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DEditorInfo.java414 public int initialSelStart = -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.java3094 editorInfo.initialSelStart = mCursorSelStart = textSnapshot.getSelectionStart(); in doInvalidateInput()
3257 mCursorSelStart = editorInfo.initialSelStart; 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.txt35627 field public int initialSelStart;
/frameworks/base/core/api/
Dcurrent.txt56084 field public int initialSelStart;