Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DWordComposerTests.java50 assertTrue(wc.moveCursorByAndReturnIfInsideComposingWord(2)); in testMoveCursor()
53 assertTrue(wc.moveCursorByAndReturnIfInsideComposingWord(1)); in testMoveCursor()
57 assertTrue(wc.moveCursorByAndReturnIfInsideComposingWord(1)); in testMoveCursor()
60 assertFalse(wc.moveCursorByAndReturnIfInsideComposingWord(1)); in testMoveCursor()
61 assertFalse(wc.moveCursorByAndReturnIfInsideComposingWord(15)); in testMoveCursor()
79 assertTrue(wc.moveCursorByAndReturnIfInsideComposingWord(6)); in testMoveCursor()
81 assertTrue(wc.moveCursorByAndReturnIfInsideComposingWord(1)); in testMoveCursor()
87 assertTrue(wc.moveCursorByAndReturnIfInsideComposingWord(7)); in testMoveCursor()
92 assertTrue(wc.moveCursorByAndReturnIfInsideComposingWord(7)); in testMoveCursor()
97 assertTrue(wc.moveCursorByAndReturnIfInsideComposingWord(-3)); in testMoveCursor()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DWordComposer.java234 public boolean moveCursorByAndReturnIfInsideComposingWord(final int expectedMoveAmount) { in moveCursorByAndReturnIfInsideComposingWord() method in WordComposer
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
DInputLogic.java381 && !mWordComposer.moveCursorByAndReturnIfInsideComposingWord(moveAmount))) { in onUpdateSelection()