Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/java/android/view/inputmethod/
H A DEditorInfo.java676 int newBeforeCursorHead = subTextBeforeCursorLength - newBeforeCursorLength; in trimLongSurroundingText() local
681 newBeforeCursorHead = newBeforeCursorHead + 1; in trimLongSurroundingText()
693 final CharSequence beforeCursor = subText.subSequence(newBeforeCursorHead, in trimLongSurroundingText()
694 newBeforeCursorHead + newBeforeCursorLength); in trimLongSurroundingText()
701 .subSequence(newBeforeCursorHead, newBeforeCursorHead + newTextLength); in trimLongSurroundingText()
706 newBeforeCursorHead = 0; in trimLongSurroundingText()
707 final int newSelHead = newBeforeCursorHead + newBeforeCursorLength; in trimLongSurroundingText()