Home
last modified time | relevance | path

Searched refs:typedLength (Results 1 – 3 of 3) sorted by relevance

/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DInputLogicTestsLanguageWithoutSpaces.java71 final int typedLength = WORD_TO_TYPE.length() - 1; // -1 because space gets eaten in testStartComposingInsideText() local
75 mLatinIME.onUpdateSelection(0, 0, typedLength, typedLength, -1, -1); in testStartComposingInsideText()
77 mLatinIME.onUpdateSelection(typedLength, typedLength, in testStartComposingInsideText()
94 final int typedLength = WORD_TO_TYPE.length(); in testMovingCursorInsideWordAndType() local
98 mLatinIME.onUpdateSelection(0, 0, typedLength, typedLength, 0, typedLength); in testMovingCursorInsideWordAndType()
102 mLatinIME.onUpdateSelection(typedLength, typedLength, in testMovingCursorInsideWordAndType()
103 CURSOR_POS, CURSOR_POS, 0, typedLength); in testMovingCursorInsideWordAndType()
108 assertEquals("move cursor inside text", typedLength, in testMovingCursorInsideWordAndType()
H A DBlueUnderlineTests.java65 final int typedLength = STRING_TO_TYPE.length(); in testBlueUnderlineOnBackspace() local
73 mLatinIME.onUpdateSelection(0, 0, typedLength + 1, typedLength + 1, -1, -1); in testBlueUnderlineOnBackspace()
94 final int typedLength = STRING_TO_TYPE.length(); in testBlueUnderlineDisappearsWhenCursorMoved() local
99 mLatinIME.onUpdateSelection(0, 0, typedLength, typedLength, -1, -1); in testBlueUnderlineDisappearsWhenCursorMoved()
105 mLatinIME.onUpdateSelection(typedLength, typedLength, in testBlueUnderlineDisappearsWhenCursorMoved()
H A DInputLogicTests.java109 final int typedLength = STRING_TO_TYPE.length(); in testDeleteSelection() local
119 mLatinIME.onUpdateSelection(0, 0, typedLength, typedLength, -1, -1); in testDeleteSelection()
122 mLatinIME.onUpdateSelection(typedLength, typedLength, in testDeleteSelection()
130 final int typedLength = STRING_TO_TYPE.length(); in testDeleteSelectionTwice() local
140 mLatinIME.onUpdateSelection(0, 0, typedLength, typedLength, -1, -1); in testDeleteSelectionTwice()
143 mLatinIME.onUpdateSelection(typedLength, typedLength, in testDeleteSelectionTwice()
334 final int typedLength = STRING_TO_TYPE.length(); in testBackspaceAtStartAfterAutocorrect() local
338 sendUpdateForCursorMoveTo(typedLength); in testBackspaceAtStartAfterAutocorrect()
348 final int typedLength = STRING_TO_TYPE.length(); in testAutoCorrectThenMoveCursorThenBackspace() local
352 sendUpdateForCursorMoveTo(typedLength); in testAutoCorrectThenMoveCursorThenBackspace()
[all …]