Home
last modified time | relevance | path

Searched refs:getFormatVersion (Results 1 – 7 of 7) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dformat_utils.cpp28 /* static */ FormatUtils::FORMAT_VERSION FormatUtils::getFormatVersion(const int formatVersion) { in getFormatVersion() function in latinime::FormatUtils
65 return getFormatVersion(ByteArrayUtils::readUint16(dictBuffer.data(), 4)); in detectFormatVersion()
Dformat_utils.h50 static FORMAT_VERSION getFormatVersion(const int formatVersion);
Ddict_file_writing_utils.cpp45 const FormatUtils::FORMAT_VERSION formatVersion = FormatUtils::getFormatVersion(dictVersion); in createEmptyDictFile()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DExpandableBinaryDictionary.java537 && needsToMigrateDictionary(mBinaryDictionary.getFormatVersion())) { in loadBinaryDictionaryLocked()
614 binaryDictionary.getFormatVersion()))) { in asyncReloadDictionary()
701 Log.d(tag, "Format version: " + binaryDictionary.getFormatVersion()); in dumpAllWordsForDebug()
DBinaryDictionary.java347 public int getFormatVersion() { in getFormatVersion() method in BinaryDictionary
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/
Ddictionary_structure_with_buffer_policy_factory.cpp59 FormatUtils::FORMAT_VERSION dictFormatVersion = FormatUtils::getFormatVersion(formatVersion); in newPolicyForOnMemoryDict()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java132 assertEquals(FormatSpec.VERSION403, binaryDictionary.getFormatVersion()); in testConstructingDictionaryOnMemory()
140 assertEquals(FormatSpec.VERSION403, binaryDictionary.getFormatVersion()); in testConstructingDictionaryOnMemory()