Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictIOUtils.java109 final PtNodeInfo ptNodeInfo = dictDecoder.readPtNode(p.mAddress); in readUnigramsAndBigramsBinaryInner() local
110 for (int i = 0; i < ptNodeInfo.mCharacters.length; ++i) { in readUnigramsAndBigramsBinaryInner()
111 pushedChars[index++] = ptNodeInfo.mCharacters[i]; in readUnigramsAndBigramsBinaryInner()
114 if (ptNodeInfo.isTerminal()) {// found word in readUnigramsAndBigramsBinaryInner()
115 words.put(ptNodeInfo.mOriginalAddress, new String(pushedChars, 0, index)); in readUnigramsAndBigramsBinaryInner()
117 ptNodeInfo.mOriginalAddress, ptNodeInfo.mProbabilityInfo.mProbability); in readUnigramsAndBigramsBinaryInner()
118 if (ptNodeInfo.mBigrams != null) { in readUnigramsAndBigramsBinaryInner()
119 bigrams.put(ptNodeInfo.mOriginalAddress, ptNodeInfo.mBigrams); in readUnigramsAndBigramsBinaryInner()
130 if (hasChildrenAddress(ptNodeInfo.mChildrenAddress)) { in readUnigramsAndBigramsBinaryInner()
131 final Position childrenPos = new Position(ptNodeInfo.mChildrenAddress, index); in readUnigramsAndBigramsBinaryInner()