Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictEncoderUtils.java362 final ArrayList<PtNodeArray> flatNodes) { in initializePtNodeArraysCachedAddresses() argument
364 for (final PtNodeArray nodeArray : flatNodes) { in initializePtNodeArraysCachedAddresses()
383 private static void updatePtNodeArraysCachedAddresses(final ArrayList<PtNodeArray> flatNodes) { in updatePtNodeArraysCachedAddresses() argument
384 for (final PtNodeArray nodeArray : flatNodes) { in updatePtNodeArraysCachedAddresses()
407 final ArrayList<PtNodeArray> flatNodes, in computeAddresses() argument
410 for (final PtNodeArray n : flatNodes) { in computeAddresses()
413 final int offset = initializePtNodeArraysCachedAddresses(flatNodes); in computeAddresses()
423 for (final PtNodeArray ptNodeArray : flatNodes) { in computeAddresses()
435 updatePtNodeArraysCachedAddresses(flatNodes); in computeAddresses()
440 final PtNodeArray lastPtNodeArray = flatNodes.get(flatNodes.size() - 1); in computeAddresses()
[all …]
DVer2DictEncoder.java160 ArrayList<PtNodeArray> flatNodes = BinaryDictEncoderUtils.flattenTree(dict.mRootNodeArray); in writeDictionary() local
163 BinaryDictEncoderUtils.computeAddresses(dict, flatNodes, in writeDictionary()
166 if (MakedictLog.DBG) BinaryDictEncoderUtils.checkFlatPtNodeArrayList(flatNodes); in writeDictionary()
169 final PtNodeArray lastNodeArray = flatNodes.get(flatNodes.size() - 1); in writeDictionary()
175 for (PtNodeArray nodeArray : flatNodes) { in writeDictionary()
179 if (MakedictLog.DBG) BinaryDictEncoderUtils.showStatistics(flatNodes); in writeDictionary()