Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java341 PtNodeArray currentNodeArray = mRootNodeArray; in add() local
348 currentPtNode = currentNodeArray.mData.get(nodeIndex); in add()
355 currentNodeArray = currentPtNode.mChildren; in add()
356 nodeIndex = findIndexOfChar(currentNodeArray, word[charIndex]); in add()
361 final int insertionIndex = findInsertionIndex(currentNodeArray, word[charIndex]); in add()
365 currentNodeArray.mData.add(insertionIndex, newPtNode); in add()
366 if (DBG) checkStack(currentNodeArray); in add()
425 currentNodeArray.mData.set(nodeIndex, newParent); in add()
427 if (DBG) checkStack(currentNodeArray); in add()
DBinaryDictEncoderUtils.java263 private static int getOffsetToTargetNodeArrayDuringUpdate(final PtNodeArray currentNodeArray, in getOffsetToTargetNodeArrayDuringUpdate() argument
266 < currentNodeArray.mCachedAddressBeforeUpdate); in getOffsetToTargetNodeArrayDuringUpdate()
269 - (currentNodeArray.mCachedAddressAfterUpdate in getOffsetToTargetNodeArrayDuringUpdate()
273 - (currentNodeArray.mCachedAddressBeforeUpdate + offsetFromStartOfCurrentNodeArray); in getOffsetToTargetNodeArrayDuringUpdate()
286 private static int getOffsetToTargetPtNodeDuringUpdate(final PtNodeArray currentNodeArray, in getOffsetToTargetPtNodeDuringUpdate() argument
288 final int oldOffsetBasePoint = currentNodeArray.mCachedAddressBeforeUpdate in getOffsetToTargetPtNodeDuringUpdate()
298 final int newOffsetBasePoint = currentNodeArray.mCachedAddressAfterUpdate in getOffsetToTargetPtNodeDuringUpdate()