Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java47 ArrayList<PtNode> mData;
62 public PtNodeArray(ArrayList<PtNode> data) { in PtNodeArray()
82 public static final class PtNode { class in FusionDictionary
102 public PtNode(final int[] chars, final ArrayList<WeightedString> bigrams, in PtNode() method in FusionDictionary.PtNode
114 public PtNode(final int[] chars, final ArrayList<WeightedString> bigrams, in PtNode() method in FusionDictionary.PtNode
125 public void addChild(PtNode n) { in addChild()
286 ArrayList<PtNode> stack = ptNodeArray.mData; in checkStack()
306 PtNode ptNode0 = findWordInTree(mRootNodeArray, word0); in setBigram()
308 final PtNode ptNode1 = findWordInTree(mRootNodeArray, word1); in setBigram()
344 PtNode currentPtNode = null; in add()
[all …]
DBinaryDictEncoderUtils.java21 import com.android.inputmethod.latin.makedict.FusionDictionary.PtNode;
78 private static int getPtNodeCharactersSize(final PtNode ptNode, in getPtNodeCharactersSize()
98 private static int getPtNodeMaximumSize(final PtNode ptNode, in getPtNodeMaximumSize()
124 for (PtNode node : ptNodeArray.mData) { in calculatePtNodeArrayMaximumSize()
137 private static int getNodeHeaderSize(final PtNode ptNode, in getNodeHeaderSize()
240 final ArrayList<PtNode> branches = ptNodeArray.mData; in flattenTreeInner()
241 for (PtNode ptNode : branches) { in flattenTreeInner()
287 final int offsetFromStartOfCurrentNodeArray, final PtNode targetPtNode) { in getOffsetToTargetPtNodeDuringUpdate()
324 for (PtNode ptNode : ptNodeArray.mData) { in computeActualPtNodeArraySize()
368 for (final PtNode ptNode : nodeArray.mData) { in initializePtNodeArraysCachedAddresses()
[all …]
DVer2DictEncoder.java23 import com.android.inputmethod.latin.makedict.FusionDictionary.PtNode;
209 private void writePtNodeFlags(final PtNode ptNode, in writePtNodeFlags()
234 private void writeChildrenPosition(final PtNode ptNode, in writeChildrenPosition()
255 final PtNode target = in writeBigrams()
271 public void writePtNode(final PtNode ptNode, final FusionDictionary dict, in writePtNode()
DDictEncoder.java21 import com.android.inputmethod.latin.makedict.FusionDictionary.PtNode;
37 public void writePtNode(final PtNode ptNode, final FusionDictionary dict, in writePtNode()
DVer4DictEncoder.java25 import com.android.inputmethod.latin.makedict.FusionDictionary.PtNode;
130 public void writePtNode(PtNode ptNode, FusionDictionary dict, in writePtNode()
DBinaryDictDecoderEncoderTests.java30 import com.android.inputmethod.latin.makedict.FusionDictionary.PtNode;
189 final PtNode ptNode = FusionDictionary.findWordInTree(dict.mRootNodeArray, word); in checkDictionary()
197 final PtNode ptNode = FusionDictionary.findWordInTree(dict.mRootNodeArray, in checkDictionary()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DDiff.java20 import com.android.inputmethod.latin.makedict.FusionDictionary.PtNode;
111 final PtNode word1PtNode = FusionDictionary.findWordInTree(dict1.mRootNodeArray, in diffWords()
142 final PtNode word0PtNode = FusionDictionary.findWordInTree(dict0.mRootNodeArray, in diffWords()
DInfo.java21 import com.android.inputmethod.latin.makedict.FusionDictionary.PtNode;
59 final PtNode ptNode = FusionDictionary.findWordInTree(dict.mRootNodeArray, word); in showWordInfo()
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/
DFusionDictionaryTest.java21 import com.android.inputmethod.latin.makedict.FusionDictionary.PtNode;
76 final PtNode ptNode = FusionDictionary.findWordInTree(dict.mRootNodeArray, word); in checkDictionary()