/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/ |
D | dictionary_structure_with_buffer_policy_factory.cpp | 57 const int formatVersion, const std::vector<int> &locale, in newPolicyForOnMemoryDict() 85 const FormatUtils::FORMAT_VERSION formatVersion, in newPolicyForOnMemoryV4Dict() 113 const FormatUtils::FORMAT_VERSION formatVersion = FormatUtils::detectFormatVersion( in newPolicyForDirectoryDict() local 144 const char *const headerFilePath, const FormatUtils::FORMAT_VERSION formatVersion, in newPolicyForV4Dict()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryTests.java | 50 private static boolean canCheckBigramProbability(final int formatVersion) { in canCheckBigramProbability() 54 private static boolean supportsBeginningOfSentence(final int formatVersion) { in supportsBeginningOfSentence() 59 final int formatVersion) throws IOException { in createEmptyDictionaryAndGetFile() 71 final int formatVersion) throws IOException { in createEmptyVer4DictionaryAndGetFile() 92 private void testIsValidDictionary(final int formatVersion) { in testIsValidDictionary() 122 private void testConstructingDictionaryOnMemory(final int formatVersion) { in testConstructingDictionaryOnMemory() 155 private void testAddTooLongWord(final int formatVersion) { in testAddTooLongWord() 232 private void testAddUnigramWord(final int formatVersion) { in testAddUnigramWord() 276 private void testRandomlyAddUnigramWord(final int formatVersion) { in testRandomlyAddUnigramWord() 314 private void testAddBigramWords(final int formatVersion) { in testAddBigramWords() [all …]
|
D | BinaryDictionaryDecayingTests.java | 67 private static boolean supportsBeginningOfSentence(final int formatVersion) { in supportsBeginningOfSentence() 107 final int formatVersion) throws IOException { in createEmptyDictionaryAndGetFile() 118 private File createEmptyVer4DictionaryAndGetFile(final String dictId, final int formatVersion) in createEmptyVer4DictionaryAndGetFile() 154 private void testReadDictInJavaSide(final int formatVersion) { in testReadDictInJavaSide() 216 private void testAddValidAndInvalidWords(final int formatVersion) { in testAddValidAndInvalidWords() 261 private void testDecayingProbability(final int formatVersion) { in testDecayingProbability() 318 private void testAddManyUnigramsToDecayingDict(final int formatVersion) { in testAddManyUnigramsToDecayingDict() 379 private void testOverflowUnigrams(final int formatVersion) { in testOverflowUnigrams() 440 private void testAddManyBigramsToDecayingDict(final int formatVersion) { in testAddManyBigramsToDecayingDict() 516 private void testOverflowBigrams(final int formatVersion) { in testOverflowBigrams()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | BinaryDictionaryUtilsTests.java | 39 final int formatVersion) throws IOException { in createEmptyDictionaryAndGetFile() 73 final int formatVersion = FormatSpec.VERSION4; in testRenameDictionary() local
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/ |
D | ver4_dict_buffers.cpp | 41 const FormatUtils::FORMAT_VERSION formatVersion) { in openVer4DictBuffers() 130 const FormatUtils::FORMAT_VERSION formatVersion) in Ver4DictBuffers()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/ |
D | ver4_dict_buffers.cpp | 35 const FormatUtils::FORMAT_VERSION formatVersion) { in openVer4DictBuffers() 180 const FormatUtils::FORMAT_VERSION formatVersion, in Ver4DictBuffers()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/ |
D | dict_file_writing_utils.cpp | 44 const FormatUtils::FORMAT_VERSION formatVersion = FormatUtils::getFormatVersion(dictVersion); in createEmptyDictFile() local 67 const FormatUtils::FORMAT_VERSION formatVersion) { in createEmptyV4DictFile()
|
D | format_utils.cpp | 28 /* static */ FormatUtils::FORMAT_VERSION FormatUtils::getFormatVersion(const int formatVersion) { in getFormatVersion()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | WordListMetadata.java | 55 final String remoteFilename, final int version, final int formatVersion, in WordListMetadata() 88 final Integer formatVersion = values.getAsInteger(MetadataDbHelper.FORMATVERSION_COLUMN); in createFromContentValues() local
|
D | MetadataDbHelper.java | 456 final int formatVersion) { in makeContentValues()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | ExpandableBinaryDictionary.java | 113 private boolean matchesExpectedBinaryDictFormatVersionForThisType(final int formatVersion) { in matchesExpectedBinaryDictFormatVersionForThisType() 117 private boolean needsToMigrateDictionary(final int formatVersion) { in needsToMigrateDictionary()
|
D | BinaryDictionary.java | 139 final Locale locale, final String dictType, final long formatVersion, in BinaryDictionary() 167 private static native long createOnMemoryNative(long formatVersion, in createOnMemoryNative()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/header/ |
D | header_policy.h | 34 HeaderPolicy(const uint8_t *const dictBuf, const FormatUtils::FORMAT_VERSION formatVersion) in HeaderPolicy()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 71 jlong formatVersion, jstring locale, jobjectArray attributeKeyStringArray, in latinime_BinaryDictionary_createOnMemory()
|