Searched refs:checkLength (Results 1 – 3 of 3) sorted by relevance
665 final int checkLength = NUM_CHARS_TO_GET_BEFORE_CURSOR - 1; in getNgramContextFromNthPreviousWord() local666 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()
175 int checkLength = Math.min(cursor, MAX_LENGTH); in convert() local176 for (int i = 1; i <= checkLength; i++) { in convert()
171 int checkLength = Math.min(cursor, MAX_LENGTH); in convert() local172 for (int i = 1; i <= checkLength; i++) { in convert()