Home
last modified time | relevance | path

Searched refs:textBeforeCursor (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputConnection.java258 final CharSequence textBeforeCursor = getTextBeforeCursorAndDetectLaggyConnection( in reloadTextCache() local
263 if (null == textBeforeCursor) { in reloadTextCache()
271 mCommittedTextBeforeComposingText.append(textBeforeCursor); in reloadTextCache()
565 final CharSequence textBeforeCursor = in setComposingRegion() local
568 if (!TextUtils.isEmpty(textBeforeCursor)) { in setComposingRegion()
574 Math.max(textBeforeCursor.length() - (mExpectedSelStart - start), 0); in setComposingRegion()
575 mComposingText.append(textBeforeCursor.subSequence(indexOfStartOfComposingText, in setComposingRegion()
576 textBeforeCursor.length())); in setComposingRegion()
578 textBeforeCursor.subSequence(0, indexOfStartOfComposingText)); in setComposingRegion()
765 final String textBeforeCursor = mCommittedTextBeforeComposingText.toString(); in isCursorTouchingWord() local
[all …]
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/service/
DLeanbackImeService.java231 CharSequence textBeforeCursor = ic.getTextBeforeCursor(1000, 0); in getEditorText() local
233 if (textBeforeCursor != null) { in getEditorText()
234 editorText.append(textBeforeCursor); in getEditorText()
278 CharSequence textBeforeCursor = ic.getTextBeforeCursor(1000, 0); in handleTextEntry() local
279 int newCursorPosition = textBeforeCursor == null ? 0 : textBeforeCursor.length(); in handleTextEntry()