Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java345 int differentCharIndex = 0; // Set by the loop to the index of the char that differs in add() local
349 differentCharIndex = compareCharArrays(currentPtNode.mChars, word, charIndex); in add()
350 if (ARRAYS_ARE_EQUAL != differentCharIndex in add()
351 && differentCharIndex < currentPtNode.mChars.length) break; in add()
369 if (differentCharIndex == currentPtNode.mChars.length) { in add()
370 if (charIndex + differentCharIndex >= word.length) { in add()
380 Arrays.copyOfRange(word, charIndex + differentCharIndex, word.length), in add()
387 if (0 == differentCharIndex) { in add()
398 Arrays.copyOfRange(currentPtNode.mChars, differentCharIndex, in add()
406 if (charIndex + differentCharIndex >= word.length) { in add()
[all …]