Searched refs:getTextBeforeCursor (Results 1 – 5 of 5) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | RichInputConnection.java | 167 final CharSequence beforeCursor = getTextBeforeCursor(Constants.EDITOR_CONTENTS_CACHE_SIZE, in checkConsistencyForDebug() 402 public CharSequence getTextBeforeCursor(final int n, final int flags) { in getTextBeforeCursor() method in RichInputConnection 439 final CharSequence result = mIC.getTextBeforeCursor(n, flags); in getTextBeforeCursorAndDetectLaggyConnection() 566 getTextBeforeCursor(Constants.EDITOR_CONTENTS_CACHE_SIZE + (end - start), 0); in setComposingRegion() 663 final CharSequence prev = getTextBeforeCursor(NUM_CHARS_TO_GET_BEFORE_CURSOR, 0); in getNgramContextFromNthPreviousWord() 803 final CharSequence beforeText = getTextBeforeCursor(text.length(), 0); in sameAsTextBeforeCursor() 811 final CharSequence textBeforeCursor = getTextBeforeCursor(2, 0); in revertDoubleSpacePeriod() 834 final CharSequence textBeforeCursor = getTextBeforeCursor(2, 0); in revertSwapPunctuation() 926 final CharSequence textBeforeCursor = getTextBeforeCursor( in tryFixLyingCursorPosition()
|
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/service/ |
D | LeanbackImeService.java | 231 CharSequence textBeforeCursor = ic.getTextBeforeCursor(1000, 0); in getEditorText() 253 final CharSequence textLeft = ic.getTextBeforeCursor(1000, 0); in getCharLengthBeforeCursor() 278 CharSequence textBeforeCursor = ic.getTextBeforeCursor(1000, 0); in handleTextEntry()
|
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/ |
D | CarLatinIME.java | 302 CharSequence text = inputConnection.getTextBeforeCursor(1, 0);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | RichInputConnectionAndTextRangeTests.java | 112 public CharSequence getTextBeforeCursor(int n, int flags) { in getTextBeforeCursor() method in RichInputConnectionAndTextRangeTests.MockConnection
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/ |
D | InputLogic.java | 1336 final CharSequence lastTwo = mConnection.getTextBeforeCursor(3, 0); in tryPerformDoubleSpacePeriod() 1656 mConnection.getTextBeforeCursor(deleteLength, 0).subSequence(0, cancelLength); in revertCommit()
|