Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputConnection.java766 int indexOfCodePointInJavaChars = textBeforeCursor.length(); in isCursorTouchingWord() local
767 int consideredCodePoint = 0 == indexOfCodePointInJavaChars ? Constants.NOT_A_CODE in isCursorTouchingWord()
768 : textBeforeCursor.codePointBefore(indexOfCodePointInJavaChars); in isCursorTouchingWord()
771 indexOfCodePointInJavaChars -= Character.charCount(consideredCodePoint); in isCursorTouchingWord()
772 consideredCodePoint = 0 == indexOfCodePointInJavaChars ? Constants.NOT_A_CODE in isCursorTouchingWord()
773 : textBeforeCursor.codePointBefore(indexOfCodePointInJavaChars); in isCursorTouchingWord()