Searched refs:bufferType (Results 1 - 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictDecoderEncoderTests.java238 private String outputOptions(final int bufferType, argument
241 + ((bufferType == USE_BYTE_BUFFER) ? "byte buffer" : "byte array");
267 private DictDecoder getDictDecoder(final File file, final int bufferType, argument
272 header.getId() + "." + header.getVersion()), bufferType);
274 return FormatSpec.getDictDecoder(file, bufferType);
281 final HashMap<String, List<String>> shortcutMap, final int bufferType,
287 final DictDecoder dictDecoder = getDictDecoder(file, bufferType, formatOptions,
305 final int bufferType, final FormatSpec.FormatOptions formatOptions,
319 final long read = timeReadingAndCheckDict(file, words, bigrams, shortcuts, bufferType,
323 + " : " + outputOptions(bufferType, formatOption
279 timeReadingAndCheckDict(final File file, final List<String> words, final SparseArray<List<Integer>> bigrams, final HashMap<String, List<String>> shortcutMap, final int bufferType, final FormatOptions formatOptions, final DictionaryOptions dictOptions) argument
303 runReadAndWrite(final List<String> words, final SparseArray<List<Integer>> bigrams, final HashMap<String, List<String>> shortcuts, final int bufferType, final FormatSpec.FormatOptions formatOptions, final String message) argument
326 runReadAndWriteTests(final List<String> results, final int bufferType, final FormatSpec.FormatOptions formatOptions) argument
434 timeAndCheckReadUnigramsAndBigramsBinary(final File file, final List<String> words, final SparseArray<List<Integer>> bigrams, final int bufferType, final FormatOptions formatOptions, final DictionaryOptions dictOptions) argument
469 runReadUnigramsAndBigramsBinary(final ArrayList<String> words, final SparseArray<List<Integer>> bigrams, final int bufferType, final FormatSpec.FormatOptions formatOptions, final String message) argument
493 runReadUnigramsAndBigramsTests(final ArrayList<String> results, final int bufferType, final FormatSpec.FormatOptions formatOptions) argument
567 runGetTerminalPosition(final ArrayList<String> words, final SparseArray<List<Integer>> bigrams, final int bufferType, final FormatOptions formatOptions, final String message) argument
624 runGetTerminalPositionTests(final int bufferType, final FormatOptions formatOptions) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DFormatSpec.java392 * @param bufferType The type of buffer, as one of USE_* in DictDecoder.
395 public static DictDecoder getDictDecoder(final File dictFile, final int bufferType) { argument
397 return new Ver4DictDecoder(dictFile, bufferType);
399 return new Ver3DictDecoder(dictFile, bufferType);

Completed in 68 milliseconds