Searched defs:dictDecoder (Results 1 - 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictDecoderUtils.java311 * @param dictDecoder the dict decoder.
317 /* package for tests */ static WeightedString getWordAtPosition(final DictDecoder dictDecoder, argument
320 final int originalPos = dictDecoder.getPosition();
321 dictDecoder.setPosition(pos);
322 result = getWordAtPositionWithoutParentAddress(dictDecoder, headerSize, pos);
323 dictDecoder.setPosition(originalPos);
328 final DictDecoder dictDecoder, final int headerSize, final int pos) {
329 dictDecoder.setPosition(headerSize);
330 final int count = dictDecoder.readPtNodeCount();
331 int groupPos = dictDecoder
327 getWordAtPositionWithoutParentAddress( final DictDecoder dictDecoder, final int headerSize, final int pos) argument
[all...]
H A DBinaryDictIOUtils.java77 private static void readUnigramsAndBigramsBinaryInner(final DictDecoder dictDecoder, argument
97 if (dictDecoder.getPosition() != p.mAddress) dictDecoder.setPosition(p.mAddress);
101 p.mNumOfPtNode = dictDecoder.readPtNodeCount();
102 p.mAddress = dictDecoder.getPosition();
109 final PtNodeInfo ptNodeInfo = dictDecoder.readPtNode(p.mAddress);
127 p.mAddress = dictDecoder.getPosition();
141 * @param dictDecoder the dict decoder.
148 /* package */ static void readUnigramsAndBigramsBinary(final DictDecoder dictDecoder, argument
153 final DictionaryHeader header = dictDecoder
169 getTerminalPosition(final DictDecoder dictDecoder, final String word) argument
[all...]

Completed in 61 milliseconds