Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputLogicTestsLanguageWithoutSpaces.java72 final int typedLength = WORD_TO_TYPE.length() - 1; // -1 because space gets eaten in testStartComposingInsideText() local
76 mLatinIME.onUpdateSelection(0, 0, typedLength, typedLength, -1, -1); in testStartComposingInsideText()
78 mLatinIME.onUpdateSelection(typedLength, typedLength, in testStartComposingInsideText()
95 final int typedLength = WORD_TO_TYPE.length(); in testMovingCursorInsideWordAndType() local
99 mLatinIME.onUpdateSelection(0, 0, typedLength, typedLength, 0, typedLength); in testMovingCursorInsideWordAndType()
103 mLatinIME.onUpdateSelection(typedLength, typedLength, in testMovingCursorInsideWordAndType()
104 CURSOR_POS, CURSOR_POS, 0, typedLength); in testMovingCursorInsideWordAndType()
109 assertEquals("move cursor inside text", typedLength, in testMovingCursorInsideWordAndType()
DBlueUnderlineTests.java66 final int typedLength = STRING_TO_TYPE.length(); in testBlueUnderlineOnBackspace() local
74 mLatinIME.onUpdateSelection(0, 0, typedLength + 1, typedLength + 1, -1, -1); in testBlueUnderlineOnBackspace()
95 final int typedLength = STRING_TO_TYPE.length(); in testBlueUnderlineDisappearsWhenCursorMoved() local
100 mLatinIME.onUpdateSelection(0, 0, typedLength, typedLength, -1, -1); in testBlueUnderlineDisappearsWhenCursorMoved()
106 mLatinIME.onUpdateSelection(typedLength, typedLength, in testBlueUnderlineDisappearsWhenCursorMoved()
DInputLogicTests.java110 final int typedLength = STRING_TO_TYPE.length(); in testDeleteSelection() local
120 mLatinIME.onUpdateSelection(0, 0, typedLength, typedLength, -1, -1); in testDeleteSelection()
123 mLatinIME.onUpdateSelection(typedLength, typedLength, in testDeleteSelection()
131 final int typedLength = STRING_TO_TYPE.length(); in testDeleteSelectionTwice() local
141 mLatinIME.onUpdateSelection(0, 0, typedLength, typedLength, -1, -1); in testDeleteSelectionTwice()
144 mLatinIME.onUpdateSelection(typedLength, typedLength, in testDeleteSelectionTwice()
335 final int typedLength = STRING_TO_TYPE.length(); in testBackspaceAtStartAfterAutocorrect() local
339 sendUpdateForCursorMoveTo(typedLength); in testBackspaceAtStartAfterAutocorrect()
349 final int typedLength = STRING_TO_TYPE.length(); in testAutoCorrectThenMoveCursorThenBackspace() local
353 sendUpdateForCursorMoveTo(typedLength); in testAutoCorrectThenMoveCursorThenBackspace()
[all …]