Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java342 int charIndex = 0; in add() local
346 int nodeIndex = findIndexOfChar(mRootNodeArray, word[charIndex]); in add()
349 differentCharIndex = compareCharArrays(currentPtNode.mChars, word, charIndex); in add()
353 charIndex += currentPtNode.mChars.length; in add()
354 if (charIndex >= word.length) break; in add()
356 nodeIndex = findIndexOfChar(currentNodeArray, word[charIndex]); in add()
361 final int insertionIndex = findInsertionIndex(currentNodeArray, word[charIndex]); in add()
362 final PtNode newPtNode = new PtNode(Arrays.copyOfRange(word, charIndex, word.length), in add()
370 if (charIndex + differentCharIndex >= word.length) { in add()
380 Arrays.copyOfRange(word, charIndex + differentCharIndex, word.length), in add()
[all …]