Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/view/inputmethod/
H A DEditorInfo.java875 int newBeforeCursorLength = Math.min(subTextBeforeCursorLength, in trimLongSurroundingText() local
879 int newBeforeCursorHead = subTextBeforeCursorLength - newBeforeCursorLength; in trimLongSurroundingText()
883 selStart - newBeforeCursorLength, TrimPolicy.HEAD)) { in trimLongSurroundingText()
885 newBeforeCursorLength = newBeforeCursorLength - 1; in trimLongSurroundingText()
893 final int newTextLength = newBeforeCursorLength + newSelLength + newAfterCursorLength; in trimLongSurroundingText()
897 newBeforeCursorHead + newBeforeCursorLength); in trimLongSurroundingText()
910 final int newSelHead = newBeforeCursorHead + newBeforeCursorLength; in trimLongSurroundingText()