Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/inputmethod/
DEditorInfo.java608 public void setInitialSurroundingSubText(@NonNull CharSequence subText, int subTextStart) { in setInitialSurroundingSubText() argument
619 ? initialSelEnd - subTextStart : initialSelStart - subTextStart; in setInitialSurroundingSubText()
621 ? initialSelStart - subTextStart : initialSelEnd - subTextStart; in setInitialSurroundingSubText()
625 if (subTextStart < 0 || subTextSelStart < 0 || subTextSelEnd > subTextLength) { in setInitialSurroundingSubText()
632 subTextSelEnd, subTextStart); in setInitialSurroundingSubText()
636 trimLongSurroundingText(subText, subTextSelStart, subTextSelEnd, subTextStart); in setInitialSurroundingSubText()
658 int subTextStart) { in trimLongSurroundingText() argument
708 final int newOffset = subTextStart + selStart - newSelHead; in trimLongSurroundingText()