Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DRecapitalizeStatus.java189 int nonWhitespaceEnd = len; in trim() local
190 for (; nonWhitespaceEnd > 0; in trim()
191 nonWhitespaceEnd = mStringBefore.offsetByCodePoints(nonWhitespaceEnd, -1)) { in trim()
192 final int codePoint = mStringBefore.codePointBefore(nonWhitespaceEnd); in trim()
197 if ((0 != nonWhitespaceStart || len != nonWhitespaceEnd) in trim()
198 && nonWhitespaceStart < nonWhitespaceEnd) { in trim()
199 mCursorEndAfter = mCursorStartBefore + nonWhitespaceEnd; in trim()
202 mStringBefore.substring(nonWhitespaceStart, nonWhitespaceEnd); in trim()