HomeSort by relevance Sort by last modified time
    Searched refs:DictDecoder (Results 1 - 7 of 7) sorted by null

  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
BinaryDictIOUtils.java 21 import com.android.inputmethod.latin.makedict.DictDecoder.DictionaryBufferFactory;
41 * @param bufferType The type of buffer, as one of USE_* in DictDecoder.
44 public static DictDecoder getDictDecoder(final File dictFile, final long offset,
49 public static DictDecoder getDictDecoder(final File dictFile, final long offset,
54 public static DictDecoder getDictDecoder(final File dictFile, final long offset,
56 return getDictDecoder(dictFile, offset, length, DictDecoder.USE_READONLY_BYTEBUFFER);
77 private static void readUnigramsAndBigramsBinaryInner(final DictDecoder dictDecoder,
97 if (dictDecoder.getPosition() != p.mAddress) dictDecoder.setPosition(p.mAddress)
    [all...]
AbstractDictDecoder.java 29 public abstract class AbstractDictDecoder implements DictDecoder {
BinaryDictDecoderUtils.java 311 * @param dictDecoder the dict decoder.
317 /* package for tests */ static WeightedString getWordAtPosition(final DictDecoder dictDecoder,
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)
    [all...]
DictDecoder.java 37 public interface DictDecoder {
  /packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
BinaryDictOffdeviceUtils.java 21 import com.android.inputmethod.latin.makedict.DictDecoder;
286 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(
288 DictDecoder.USE_BYTEARRAY);
294 return dictDecoder.readDictionaryBinary(false /* deleteDictIfBroken */);
DictionaryMaker.java 21 import com.android.inputmethod.latin.makedict.DictDecoder;
234 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(file, 0, file.length());
235 return dictDecoder.readDictionaryBinary(false /* deleteDictIfBroken */);
  /packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/
BinaryDictOffdeviceUtilsTests.java 26 import com.android.inputmethod.latin.makedict.DictDecoder;
111 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(decodeSpec.mResult, 0,
114 dictDecoder.readDictionaryBinary(false /* deleteDictIfBroken */);

Completed in 200 milliseconds