Home
last modified time | relevance | path

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

/aosp12/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/service/
H A DLeanbackImeService.java232 CharSequence textAfterCursor = ic.getTextAfterCursor(1000, 0); in getEditorText() local
236 if (textAfterCursor != null) { in getEditorText()
237 editorText.append(textAfterCursor); in getEditorText()
286 CharSequence textAfterCursor = ic.getTextAfterCursor(1000, 0); in handleTextEntry() local
287 if (textAfterCursor != null && textAfterCursor.length() > 0) { in handleTextEntry()
/aosp12/frameworks/base/core/java/android/view/inputmethod/
H A DInputConnection.java330 CharSequence textAfterCursor = getTextAfterCursor(afterLength, flags); in getSurroundingText() local
331 if (textAfterCursor == null) { in getSurroundingText()
339 TextUtils.concat(textBeforeCursor, selectedText, textAfterCursor); in getSurroundingText()
/aosp12/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
H A DEditorInfoTest.java398 final CharSequence textAfterCursor = in assertExpectedTextLength() local
419 assertNull(textAfterCursor); in assertExpectedTextLength()
421 assertEquals(expectAfterCursorLength.intValue(), textAfterCursor.length()); in assertExpectedTextLength()