Searched refs:PtNodeArray (Results 1 – 7 of 7) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictEncoderUtils.java | 22 import com.android.inputmethod.latin.makedict.FusionDictionary.PtNodeArray; 88 private static int getPtNodeCountSize(final PtNodeArray nodeArray) { in getPtNodeCountSize() 121 private static void calculatePtNodeArrayMaximumSize(final PtNodeArray ptNodeArray, in calculatePtNodeArrayMaximumSize() 212 /* package for tests */ static ArrayList<PtNodeArray> flattenTree( in flattenTree() 213 final PtNodeArray rootNodeArray) { in flattenTree() 216 final ArrayList<PtNodeArray> flatTree = new ArrayList<>(treeSize); in flattenTree() 220 private static ArrayList<PtNodeArray> flattenTreeInner(final ArrayList<PtNodeArray> list, in flattenTreeInner() 221 final PtNodeArray ptNodeArray) { in flattenTreeInner() 263 private static int getOffsetToTargetNodeArrayDuringUpdate(final PtNodeArray currentNodeArray, in getOffsetToTargetNodeArrayDuringUpdate() 264 final int offsetFromStartOfCurrentNodeArray, final PtNodeArray targetNodeArray) { in getOffsetToTargetNodeArrayDuringUpdate() [all …]
|
D | FusionDictionary.java | 46 public static final class PtNodeArray { class in FusionDictionary 59 public PtNodeArray() { in PtNodeArray() method in FusionDictionary.PtNodeArray 62 public PtNodeArray(ArrayList<PtNode> data) { in PtNodeArray() method in FusionDictionary.PtNodeArray 89 PtNodeArray mChildren; 116 final boolean isPossiblyOffensive, final PtNodeArray children) { in PtNode() 127 mChildren = new PtNodeArray(); in addChild() 231 public final PtNodeArray mRootNodeArray; 233 public FusionDictionary(final PtNodeArray rootNodeArray, final DictionaryOptions options) { in FusionDictionary() 285 private static void checkStack(PtNodeArray ptNodeArray) { in checkStack() 341 PtNodeArray currentNodeArray = mRootNodeArray; in add() [all …]
|
D | Ver4DictDecoder.java | 66 new FusionDictionary(new FusionDictionary.PtNodeArray(), header.mDictionaryOptions); in readDictionaryBinary()
|
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/ |
D | BinaryDictEncoderFlattenTreeTests.java | 20 import com.android.inputmethod.latin.makedict.FusionDictionary.PtNodeArray; 34 final FusionDictionary dict = new FusionDictionary(new PtNodeArray(), in testFlattenNodes() 46 final ArrayList<PtNodeArray> result = in testFlattenNodes() 50 final PtNodeArray n = result.remove(0); in testFlattenNodes()
|
D | FusionDictionaryTest.java | 22 import com.android.inputmethod.latin.makedict.FusionDictionary.PtNodeArray; 99 final FusionDictionary dict = new FusionDictionary(new PtNodeArray(), in testFusion()
|
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/ |
D | BinaryDictOffdeviceUtilsTests.java | 33 import com.android.inputmethod.latin.makedict.FusionDictionary.PtNodeArray; 87 final FusionDictionary dict = new FusionDictionary(new PtNodeArray(), testOptions); in testGetRawDictWorks() 169 final FusionDictionary dict = new FusionDictionary(new PtNodeArray(), in runTestHeaderReaderProcessorWithOneSpec()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | CombinedInputOutput.java | 22 import com.android.inputmethod.latin.makedict.FusionDictionary.PtNodeArray; 95 new FusionDictionary(new PtNodeArray(), new DictionaryOptions(attributes)); in readDictionaryCombined()
|