Searched refs:dictEncoder (Results 1 – 4 of 4) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictEncoderUtils.java | 653 final DictEncoder dictEncoder, final PtNodeArray ptNodeArray, in writePlacedPtNodeArray() argument 656 dictEncoder.setPosition(ptNodeArray.mCachedAddressAfterUpdate); in writePlacedPtNodeArray() 659 dictEncoder.writePtNodeCount(ptNodeCount); in writePlacedPtNodeArray() 662 if (dictEncoder.getPosition() != ptNode.mCachedAddressAfterUpdate) { in writePlacedPtNodeArray() 664 + "of the node : " + dictEncoder.getPosition() + " <> " in writePlacedPtNodeArray() 673 dictEncoder.writePtNode(ptNode, dict, codePointToOneByteCodeMap); in writePlacedPtNodeArray() 675 if (dictEncoder.getPosition() != ptNodeArray.mCachedAddressAfterUpdate in writePlacedPtNodeArray() 678 + (dictEncoder.getPosition() - ptNodeArray.mCachedAddressAfterUpdate) in writePlacedPtNodeArray()
|
D | BinaryDictDecoderEncoderTests.java | 166 final DictEncoder dictEncoder = BinaryDictUtils.getDictEncoder(file, formatOptions); in timeWritingDictToFile() local 172 dictEncoder.writeDictionary(dict, formatOptions); in timeWritingDictToFile() 288 final DictEncoder dictEncoder = new Ver2DictEncoder(file, in testCharacterTableIsPresent() local 296 dictEncoder.writeDictionary(sourcedict, formatOptions); in testCharacterTableIsPresent()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | DictionaryMaker.java | 291 final DictEncoder dictEncoder; in writeBinaryDictionary() local 294 dictEncoder = new Ver4DictEncoder(outputFile); in writeBinaryDictionary() 296 dictEncoder = new Ver2DictEncoder(outputFile, codePointTableMode); in writeBinaryDictionary() 298 dictEncoder.writeDictionary(dict, formatOptions); in writeBinaryDictionary()
|
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/ |
D | BinaryDictOffdeviceUtilsTests.java | 103 final DictEncoder dictEncoder = new Ver2DictEncoder(out); in testGetRawDictWorks() local 104 dictEncoder.writeDictionary(dict, new FormatOptions(FormatSpec.VERSION202, false)); in testGetRawDictWorks() 179 final DictEncoder dictEncoder = BinaryDictUtils.getDictEncoder(file, formatOptions); in runTestHeaderReaderProcessorWithOneSpec() local 180 dictEncoder.writeDictionary(dict, formatOptions); in runTestHeaderReaderProcessorWithOneSpec()
|