Home
last modified time | relevance | path

Searched refs:FormatOptions (Results 1 – 11 of 11) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictUtils.java20 import com.android.inputmethod.latin.makedict.FormatSpec.FormatOptions;
31 public static final FormatSpec.FormatOptions VERSION2_OPTIONS =
32 new FormatSpec.FormatOptions(FormatSpec.VERSION2);
33 public static final FormatSpec.FormatOptions VERSION4_OPTIONS_WITHOUT_TIMESTAMP =
34 new FormatSpec.FormatOptions(FormatSpec.VERSION4, false /* hasTimestamp */);
35 public static final FormatSpec.FormatOptions VERSION4_OPTIONS_WITH_TIMESTAMP =
36 new FormatSpec.FormatOptions(FormatSpec.VERSION4, true /* hasTimestamp */);
39 final FormatSpec.FormatOptions formatOptions) { in makeDictionaryOptions()
54 final FormatOptions formatOptions, final File directory) { in getDictFile()
65 public static DictEncoder getDictEncoder(final File file, final FormatOptions formatOptions) { in getDictEncoder()
DBinaryDictDecoderEncoderTests.java28 import com.android.inputmethod.latin.makedict.FormatSpec.FormatOptions;
176 final FormatSpec.FormatOptions formatOptions) { in timeWritingDictToFile()
234 final FormatSpec.FormatOptions formatOptions) { in outputOptions()
267 final int bufferType, final FormatSpec.FormatOptions formatOptions, in runReadAndWrite()
289 final FormatSpec.FormatOptions formatOptions) { in runReadAndWriteTests()
428 final FormatSpec.FormatOptions formatOptions, final String message) {
455 final int bufferType, final FormatSpec.FormatOptions formatOptions) {
524 final FormatOptions formatOptions, final String message) {
582 final FormatOptions formatOptions) {
600 final FormatOptions formatOptions = BinaryDictUtils.VERSION2_OPTIONS;
[all …]
DDictEncoder.java20 import com.android.inputmethod.latin.makedict.FormatSpec.FormatOptions;
30 public void writeDictionary(final FusionDictionary dict, final FormatOptions formatOptions) in writeDictionary()
DVer4DictEncoder.java23 import com.android.inputmethod.latin.makedict.FormatSpec.FormatOptions;
49 public void writeDictionary(FusionDictionary dict, FormatOptions formatOptions) in writeDictionary()
DVer2DictEncoder.java21 import com.android.inputmethod.latin.makedict.FormatSpec.FormatOptions;
72 public void writeDictionary(final FusionDictionary dict, final FormatOptions formatOptions) in writeDictionary()
DBinaryDictEncoderUtils.java22 import com.android.inputmethod.latin.makedict.FormatSpec.FormatOptions;
823 final FusionDictionary dict, final FormatOptions formatOptions) in writeDictionaryHeader()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DDictionaryHeader.java20 import com.android.inputmethod.latin.makedict.FormatSpec.FormatOptions;
28 public final FormatOptions mFormatOptions;
52 final FormatOptions formatOptions) throws UnsupportedFormatException { in DictionaryHeader()
DFormatSpec.java317 public static final class FormatOptions { class in FormatSpec
322 public FormatOptions(final int version) { in FormatOptions() method in FormatSpec.FormatOptions
326 public FormatOptions(final int version, final boolean hasTimestamp) { in FormatOptions() method in FormatSpec.FormatOptions
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtilsTests.java24 import com.android.inputmethod.latin.makedict.FormatSpec.FormatOptions;
70 dictEncoder.writeDictionary(dict, new FormatOptions(2, false)); in testGetRawDictWorks()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DDictionaryMaker.java361 final FormatSpec.FormatOptions formatOptions = new FormatSpec.FormatOptions(version); in writeBinaryDictionary()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionary.java255 new FormatSpec.FormatOptions(outFormatVersion[0], hasHistoricalInfo)); in getHeader()