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.java672 int newBeforeCursorLength = Math.min(subTextBeforeCursorLength, in trimLongSurroundingText() local
676 int newBeforeCursorHead = subTextBeforeCursorLength - newBeforeCursorLength; in trimLongSurroundingText()
680 selStart - newBeforeCursorLength, TrimPolicy.HEAD)) { in trimLongSurroundingText()
682 newBeforeCursorLength = newBeforeCursorLength - 1; in trimLongSurroundingText()
690 final int newTextLength = newBeforeCursorLength + newSelLength + newAfterCursorLength; in trimLongSurroundingText()
694 newBeforeCursorHead + newBeforeCursorLength); in trimLongSurroundingText()
707 final int newSelHead = newBeforeCursorHead + newBeforeCursorLength; in trimLongSurroundingText()