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 D | shortcut_dict_content.cpp | 49 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 D | shortcut_dict_content.cpp | 40 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 D | patricia_trie_policy.cpp | 421 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 D | Ver2DictEncoder.java | 181 final int shortcutFlags = BinaryDictEncoderUtils.makeShortcutFlags( 184 mPosition = BinaryDictEncoderUtils.writeUIntToBuffer(mBuffer, mPosition, shortcutFlags,
|
Completed in 157 milliseconds