Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/view/inputmethod/
H A DEditorInfo.java873 int newAfterCursorLength = Math.min(subTextAfterCursorLength, in trimLongSurroundingText() local
876 maxLengthMinusSelection - newAfterCursorLength); in trimLongSurroundingText()
888 selEnd + newAfterCursorLength - 1, TrimPolicy.TAIL)) { in trimLongSurroundingText()
889 newAfterCursorLength = newAfterCursorLength - 1; in trimLongSurroundingText()
893 final int newTextLength = newBeforeCursorLength + newSelLength + newAfterCursorLength; in trimLongSurroundingText()
899 selEnd + newAfterCursorLength); in trimLongSurroundingText()