Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputConnection.java665 final int checkLength = NUM_CHARS_TO_GET_BEFORE_CURSOR - 1; in getNgramContextFromNthPreviousWord() local
666 final String reference = prev.length() <= checkLength ? prev.toString() in getNgramContextFromNthPreviousWord()
667 : prev.subSequence(prev.length() - checkLength, prev.length()).toString(); in getNgramContextFromNthPreviousWord()
673 if (internal.length() > checkLength) { in getNgramContextFromNthPreviousWord()
674 internal.delete(0, internal.length() - checkLength); in getNgramContextFromNthPreviousWord()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DRomkanFullKatakana.java175 int checkLength = Math.min(cursor, MAX_LENGTH); in convert() local
176 for (int i = 1; i <= checkLength; i++) { in convert()
DRomkan.java171 int checkLength = Math.min(cursor, MAX_LENGTH); in convert() local
172 for (int i = 1; i <= checkLength; i++) { in convert()