Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/inputmethod/
DEditorInfo.java918 int newBeforeCursorLength = Math.min(subTextBeforeCursorLength, in trimLongSurroundingText() local
922 int newBeforeCursorHead = subTextBeforeCursorLength - newBeforeCursorLength; in trimLongSurroundingText()
926 selStart - newBeforeCursorLength, TrimPolicy.HEAD)) { in trimLongSurroundingText()
928 newBeforeCursorLength = newBeforeCursorLength - 1; in trimLongSurroundingText()
936 final int newTextLength = newBeforeCursorLength + newSelLength + newAfterCursorLength; in trimLongSurroundingText()
940 newBeforeCursorHead + newBeforeCursorLength); in trimLongSurroundingText()
953 final int newSelHead = newBeforeCursorHead + newBeforeCursorLength; in trimLongSurroundingText()