Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java393 int differentCharIndex = 0; // Set by the loop to the index of the char that differs in add() local
397 differentCharIndex = compareArrays(currentGroup.mChars, word, charIndex); in add()
398 if (ARRAYS_ARE_EQUAL != differentCharIndex in add()
399 && differentCharIndex < currentGroup.mChars.length) break; in add()
417 if (differentCharIndex == currentGroup.mChars.length) { in add()
418 if (charIndex + differentCharIndex >= word.length) { in add()
428 Arrays.copyOfRange(word, charIndex + differentCharIndex, word.length), in add()
435 if (0 == differentCharIndex) { in add()
446 Arrays.copyOfRange(currentGroup.mChars, differentCharIndex, in add()
454 if (charIndex + differentCharIndex >= word.length) { in add()
[all …]