Searched refs:shortcutFlags (Results 1 - 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/content/
H A Dshortcut_dict_content.cpp49 const int shortcutFlags = shortcutListBuffer->readUintAndAdvancePosition( local
52 *outProbability = shortcutFlags & Ver4DictConstants::SHORTCUT_PROBABILITY_MASK;
55 *outhasNext = shortcutFlags & Ver4DictConstants::SHORTCUT_HAS_NEXT_MASK;
136 const int shortcutFlags = shortcutListBuffer->readUint( local
138 const bool hasNext = shortcutFlags & Ver4DictConstants::SHORTCUT_HAS_NEXT_MASK;
148 const int shortcutFlags = createAndGetShortcutFlags(probability, hasNext); local
149 if (!shortcutListBuffer->writeUintAndAdvancePosition(shortcutFlags,
151 AKLOGE("Cannot write shortcut flags. flags; %x, pos: %d", shortcutFlags, *shortcutEntryPos);
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/content/
H A Dshortcut_dict_content.cpp40 const int shortcutFlags = shortcutListBuffer->readUintAndAdvancePosition( local
43 *outProbability = shortcutFlags & Ver4DictConstants::SHORTCUT_PROBABILITY_MASK;
46 *outhasNext = shortcutFlags & Ver4DictConstants::SHORTCUT_HAS_NEXT_MASK;
121 const int shortcutFlags = shortcutListBuffer->readUint( local
123 const bool hasNext = shortcutFlags & Ver4DictConstants::SHORTCUT_HAS_NEXT_MASK;
133 const int shortcutFlags = createAndGetShortcutFlags(probability, hasNext); local
134 if (!shortcutListBuffer->writeUintAndAdvancePosition(shortcutFlags,
136 AKLOGE("Cannot write shortcut flags. flags; %x, pos: %d", shortcutFlags, *shortcutEntryPos);
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v2/
H A Dpatricia_trie_policy.cpp421 const ShortcutListReadingUtils::ShortcutFlags shortcutFlags = local
423 hasNext = ShortcutListReadingUtils::hasNext(shortcutFlags);
429 ShortcutListReadingUtils::getProbabilityFromFlags(shortcutFlags);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DVer2DictEncoder.java181 final int shortcutFlags = BinaryDictEncoderUtils.makeShortcutFlags(
184 mPosition = BinaryDictEncoderUtils.writeUIntToBuffer(mBuffer, mPosition, shortcutFlags,

Completed in 157 milliseconds