Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictEncoderUtils.java731 final DictEncoder dictEncoder, final PtNodeArray ptNodeArray) { in writePlacedPtNodeArray() argument
733 dictEncoder.setPosition(ptNodeArray.mCachedAddressAfterUpdate); in writePlacedPtNodeArray()
736 dictEncoder.writePtNodeCount(ptNodeCount); in writePlacedPtNodeArray()
743 if (dictEncoder.getPosition() != ptNode.mCachedAddressAfterUpdate) { in writePlacedPtNodeArray()
745 + "of the node : " + dictEncoder.getPosition() + " <> " in writePlacedPtNodeArray()
754 dictEncoder.writePtNode(ptNode, dict); in writePlacedPtNodeArray()
756 if (dictEncoder.getPosition() != ptNodeArray.mCachedAddressAfterUpdate in writePlacedPtNodeArray()
759 + (dictEncoder.getPosition() - ptNodeArray.mCachedAddressAfterUpdate) in writePlacedPtNodeArray()
DBinaryDictDecoderEncoderTests.java181 final DictEncoder dictEncoder = BinaryDictUtils.getDictEncoder(file, formatOptions); in timeWritingDictToFile() local
187 dictEncoder.writeDictionary(dict, formatOptions); in timeWritingDictToFile()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DDictionaryMaker.java362 final DictEncoder dictEncoder; in writeBinaryDictionary() local
364 dictEncoder = new Ver4DictEncoder(outputFile); in writeBinaryDictionary()
366 dictEncoder = new Ver2DictEncoder(outputFile); in writeBinaryDictionary()
368 dictEncoder.writeDictionary(dict, formatOptions); in writeBinaryDictionary()
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtilsTests.java69 final DictEncoder dictEncoder = new Ver2DictEncoder(out); in testGetRawDictWorks() local
70 dictEncoder.writeDictionary(dict, new FormatOptions(2, false)); in testGetRawDictWorks()