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.java60 assertTrue(wc.moveCursorByAndReturnIfInsideComposingWord(2)); in testMoveCursor()
63 assertTrue(wc.moveCursorByAndReturnIfInsideComposingWord(1)); in testMoveCursor()
67 assertTrue(wc.moveCursorByAndReturnIfInsideComposingWord(1)); in testMoveCursor()
70 assertFalse(wc.moveCursorByAndReturnIfInsideComposingWord(1)); in testMoveCursor()
71 assertFalse(wc.moveCursorByAndReturnIfInsideComposingWord(15)); in testMoveCursor()
89 assertTrue(wc.moveCursorByAndReturnIfInsideComposingWord(6)); in testMoveCursor()
91 assertTrue(wc.moveCursorByAndReturnIfInsideComposingWord(1)); in testMoveCursor()
97 assertTrue(wc.moveCursorByAndReturnIfInsideComposingWord(7)); in testMoveCursor()
102 assertTrue(wc.moveCursorByAndReturnIfInsideComposingWord(7)); in testMoveCursor()
107 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()