Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/view/inputmethod/
H A DInputConnection.java389 CharSequence textAfterCursor = getTextAfterCursor(afterLength, flags); in getSurroundingText() local
390 if (textAfterCursor == null) { in getSurroundingText()
398 TextUtils.concat(textBeforeCursor, selectedText, textAfterCursor); in getSurroundingText()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
H A DEditorInfoTest.java435 final CharSequence textAfterCursor = in assertExpectedTextLength() local
456 assertNull(textAfterCursor); in assertExpectedTextLength()
458 assertEquals(expectAfterCursorLength.intValue(), textAfterCursor.length()); in assertExpectedTextLength()