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

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
BinaryDictInputOutput.java 20 import com.android.inputmethod.latin.makedict.FormatSpec.FileHeader;
21 import com.android.inputmethod.latin.makedict.FormatSpec.FormatOptions;
161 if (FormatSpec.INVALID_CHARACTER == character) return 1;
219 buffer[index++] = FormatSpec.GROUP_CHARACTERS_TERMINATOR;
243 buffer.write(FormatSpec.GROUP_CHARACTERS_TERMINATOR);
252 while (character != FormatSpec.INVALID_CHARACTER) {
270 if (FormatSpec.GROUP_CHARACTERS_TERMINATOR == character) {
271 return FormatSpec.INVALID_CHARACTER;
291 if (characters.length > 1) size += FormatSpec.GROUP_TERMINATOR_SIZE;
314 if (FormatSpec.MAX_CHARGROUPS_FOR_ONE_BYTE_CHARGROUP_COUNT >= count)
    [all...]
BinaryDictIOUtils.java 23 import com.android.inputmethod.latin.makedict.FormatSpec.FileHeader;
24 import com.android.inputmethod.latin.makedict.FormatSpec.FormatOptions;
73 int[] pushedChars = new int[FormatSpec.MAX_WORD_LENGTH + 1];
122 if (forwardLinkAddress != FormatSpec.NO_FORWARD_LINK_ADDRESS) {
178 if (word == null) return FormatSpec.NOT_VALID_WORD;
185 if (wordPos >= wordLen) return FormatSpec.NOT_VALID_WORD;
217 return FormatSpec.NOT_VALID_WORD;
223 if (currentInfo.mChildrenAddress == FormatSpec.NO_CHILDREN_ADDRESS) {
224 return FormatSpec.NOT_VALID_WORD;
238 return FormatSpec.NOT_VALID_WORD
    [all...]
FormatSpec.java 25 public final class FormatSpec {
293 private FormatSpec() {
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
BinaryDictIOUtilsTests.java 27 import com.android.inputmethod.latin.makedict.FormatSpec.FileHeader;
45 private static final FormatSpec.FormatOptions FORMAT_OPTIONS =
46 new FormatSpec.FormatOptions(3, true);
88 if (info.mChildrenAddress == FormatSpec.NO_CHILDREN_ADDRESS) {
107 final FormatSpec.FormatOptions formatOptions) {
131 int position = FormatSpec.NOT_VALID_WORD;
189 assertEquals(FormatSpec.NOT_VALID_WORD, getWordPosition(file, word));
196 MoreAsserts.assertNotEqual(FormatSpec.NOT_VALID_WORD, getWordPosition(file, word));
286 MoreAsserts.assertNotEqual(FormatSpec.NOT_VALID_WORD, getWordPosition(file, "abcd"));
305 assertEquals(FormatSpec.NOT_VALID_WORD, getWordPosition(file, "ami"))
    [all...]
BinaryDictIOTests.java 28 import com.android.inputmethod.latin.makedict.FormatSpec.FileHeader;
69 private static final FormatSpec.FormatOptions VERSION2 = new FormatSpec.FormatOptions(2);
70 private static final FormatSpec.FormatOptions VERSION3_WITHOUT_DYNAMIC_UPDATE =
71 new FormatSpec.FormatOptions(3, false /* supportsDynamicUpdate */);
72 private static final FormatSpec.FormatOptions VERSION3_WITH_DYNAMIC_UPDATE =
73 new FormatSpec.FormatOptions(3, true /* supportsDynamicUpdate */);
188 final FormatSpec.FormatOptions formatOptions) {
242 final FormatSpec.FormatOptions formatOptions) {
276 final int bufferType, final FormatSpec.FormatOptions formatOptions
    [all...]
  /packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
Info.java 19 import com.android.inputmethod.latin.makedict.FormatSpec;
54 if (FormatSpec.SHORTCUT_WHITELIST_FREQUENCY == shortcutTarget.mFrequency) {
87 + (FormatSpec.SHORTCUT_WHITELIST_FREQUENCY == shortcutTarget.mFrequency
DictionaryMaker.java 20 import com.android.inputmethod.latin.makedict.FormatSpec;
373 final FormatSpec.FormatOptions formatOptions = new FormatSpec.FormatOptions(version);
CombinedInputOutput.java 19 import com.android.inputmethod.latin.makedict.FormatSpec;
163 ? FormatSpec.SHORTCUT_WHITELIST_FREQUENCY
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
ExpandableBinaryDictionary.java 26 import com.android.inputmethod.latin.makedict.FormatSpec;
95 private static final FormatSpec.FormatOptions FORMAT_OPTIONS =
96 new FormatSpec.FormatOptions(BINARY_DICT_VERSION);
BinaryDictionaryGetter.java 21 import com.android.inputmethod.latin.makedict.FormatSpec;
242 if (magic != FormatSpec.VERSION_2_MAGIC_NUMBER) {
ExternalDictionaryGetterForDebug.java 25 import com.android.inputmethod.latin.makedict.FormatSpec.FileHeader;
UserHistoryDictIOUtils.java 25 import com.android.inputmethod.latin.makedict.FormatSpec.FormatOptions;
DictionaryInfoUtils.java 27 import com.android.inputmethod.latin.makedict.FormatSpec.FileHeader;
UserHistoryDictionary.java 30 import com.android.inputmethod.latin.makedict.FormatSpec.FormatOptions;
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
UserHistoryDictIOUtilsTests.java 26 import com.android.inputmethod.latin.makedict.FormatSpec;
50 private static final FormatSpec.FormatOptions FORMAT_OPTIONS = new FormatSpec.FormatOptions(2);
  /packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/
BinaryDictOffdeviceUtilsTests.java 20 import com.android.inputmethod.latin.makedict.FormatSpec.FormatOptions;

Completed in 549 milliseconds