Searched refs:DictDecoder (Results 1 – 8 of 8) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictIOUtils.java | 21 import com.android.inputmethod.latin.makedict.DictDecoder.DictionaryBufferFactory; 44 public static DictDecoder getDictDecoder(final File dictFile, final long offset, in getDictDecoder() 49 public static DictDecoder getDictDecoder(final File dictFile, final long offset, in getDictDecoder() 54 public static DictDecoder getDictDecoder(final File dictFile, final long offset, in getDictDecoder() 56 return getDictDecoder(dictFile, offset, length, DictDecoder.USE_READONLY_BYTEBUFFER); in getDictDecoder() 77 private static void readUnigramsAndBigramsBinaryInner(final DictDecoder dictDecoder, in readUnigramsAndBigramsBinaryInner() 148 /* package */ static void readUnigramsAndBigramsBinary(final DictDecoder dictDecoder, in readUnigramsAndBigramsBinary() 169 /* package */ static int getTerminalPosition(final DictDecoder dictDecoder, in getTerminalPosition()
|
D | BinaryDictDecoderEncoderTests.java | 217 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(file, 0, file.length(), in timeReadingAndCheckDict() 297 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(file, 0, file.length(), in testCharacterTableIsPresent() 298 DictDecoder.USE_BYTEARRAY); in testCharacterTableIsPresent() 413 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(file, 0, file.length(), 489 private static String getWordFromBinary(final DictDecoder dictDecoder, final int address) { 505 private static long checkGetTerminalPosition(final DictDecoder dictDecoder, final String word, 538 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(file, 0, file.length(), 539 DictDecoder.USE_BYTEARRAY);
|
D | BinaryDictDecoderUtils.java | 317 /* package for tests */ static WeightedString getWordAtPosition(final DictDecoder dictDecoder, in getWordAtPosition() 328 final DictDecoder dictDecoder, final int headerSize, final int pos) { in getWordAtPositionWithoutParentAddress() 420 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(file, 0, file.length()); in isBinaryDictionary()
|
D | AbstractDictDecoder.java | 29 public abstract class AbstractDictDecoder implements DictDecoder {
|
D | DictDecoder.java | 37 public interface DictDecoder { interface
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | BinaryDictOffdeviceUtils.java | 21 import com.android.inputmethod.latin.makedict.DictDecoder; 286 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder( in getDictionary() 288 DictDecoder.USE_BYTEARRAY); in getDictionary()
|
D | DictionaryMaker.java | 21 import com.android.inputmethod.latin.makedict.DictDecoder; 234 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(file, 0, file.length()); in readBinaryFile()
|
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/ |
D | BinaryDictOffdeviceUtilsTests.java | 26 import com.android.inputmethod.latin.makedict.DictDecoder; 111 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(decodeSpec.mResult, 0, in testGetRawDictWorks()
|