Home
last modified time | relevance | path

Searched refs:FormatOptions (Results 1 – 12 of 12) 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 STATIC_OPTIONS =
32 new FormatSpec.FormatOptions(FormatSpec.VERSION202);
33 public static final FormatSpec.FormatOptions DYNAMIC_OPTIONS_WITHOUT_TIMESTAMP =
34 new FormatSpec.FormatOptions(FormatSpec.VERSION4, false /* hasTimestamp */);
35 public static final FormatSpec.FormatOptions DYNAMIC_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()
67 public static DictEncoder getDictEncoder(final File file, final FormatOptions formatOptions) { in getDictEncoder()
DBinaryDictDecoderEncoderTests.java29 import com.android.inputmethod.latin.makedict.FormatSpec.FormatOptions;
161 final FormatSpec.FormatOptions formatOptions) { in timeWritingDictToFile()
205 final FormatSpec.FormatOptions formatOptions) { in outputOptions()
237 final int bufferType, final FormatSpec.FormatOptions formatOptions, in runReadAndWrite()
259 final FormatSpec.FormatOptions formatOptions) { in runReadAndWriteTests()
290 final FormatSpec.FormatOptions formatOptions = in testCharacterTableIsPresent()
291 new FormatSpec.FormatOptions( in testCharacterTableIsPresent()
432 final FormatSpec.FormatOptions formatOptions, final String message) {
459 final int bufferType, final FormatSpec.FormatOptions formatOptions) {
528 final FormatOptions formatOptions, final String message) {
[all …]
DDictEncoder.java20 import com.android.inputmethod.latin.makedict.FormatSpec.FormatOptions;
31 public void writeDictionary(final FusionDictionary dict, final FormatOptions formatOptions) in writeDictionary()
DVer4DictEncoder.java24 import com.android.inputmethod.latin.makedict.FormatSpec.FormatOptions;
50 public void writeDictionary(FusionDictionary dict, FormatOptions formatOptions) in writeDictionary()
DVer2DictEncoder.java22 import com.android.inputmethod.latin.makedict.FormatSpec.FormatOptions;
125 public void writeDictionary(final FusionDictionary dict, final FormatOptions formatOptions) in writeDictionary()
DBinaryDictEncoderUtils.java20 import com.android.inputmethod.latin.makedict.FormatSpec.FormatOptions;
743 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;
33 public final FormatOptions mFormatOptions;
62 @Nonnull final FormatOptions formatOptions) throws UnsupportedFormatException { in DictionaryHeader()
DFormatSpec.java253 public static final class FormatOptions { class in FormatSpec
258 public FormatOptions(final int version) { in FormatOptions() method in FormatSpec.FormatOptions
262 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.java31 import com.android.inputmethod.latin.makedict.FormatSpec.FormatOptions;
104 dictEncoder.writeDictionary(dict, new FormatOptions(FormatSpec.VERSION202, false)); in testGetRawDictWorks()
157 final FormatOptions formatOptions = BinaryDictUtils.STATIC_OPTIONS; in runTestHeaderReaderProcessorWithOneSpec()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DDictionaryMaker.java290 final FormatSpec.FormatOptions formatOptions = new FormatSpec.FormatOptions(version); in writeBinaryDictionary()
DBinaryDictOffdeviceUtils.java25 import com.android.inputmethod.latin.makedict.FormatSpec.FormatOptions;
191 new FormatOptions(version, false /* hasTimestamp */)); in process()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionary.java264 new FormatSpec.FormatOptions(outFormatVersion[0], hasHistoricalInfo)); in getHeader()