Searched refs:BinaryDictionaryUtils (Results 1 – 12 of 12) sorted by relevance
32 public final class BinaryDictionaryUtils { class33 private static final String TAG = BinaryDictionaryUtils.class.getSimpleName();35 private BinaryDictionaryUtils() { in BinaryDictionaryUtils() method in BinaryDictionaryUtils
46 final float normalizedScore = BinaryDictionaryUtils.calcNormalizedScore( in suggestionExceedsThreshold()
410 BinaryDictionaryUtils.getHeaderWithOffsetAndLength(file, offset, length);
29 import com.android.inputmethod.latin.utils.BinaryDictionaryUtils;100 return BinaryDictionaryUtils.setCurrentTimeForTest(currentTime); in setCurrentTimeForTestMode()104 return BinaryDictionaryUtils.setCurrentTimeForTest(-1); in stopTestModeInNativeCode()
26 import com.android.inputmethod.latin.utils.BinaryDictionaryUtils;59 if (!BinaryDictionaryUtils.createEmptyDictFile(mDictPlacedDir.getAbsolutePath(), in writeDictionary()
32 import com.android.inputmethod.latin.utils.BinaryDictionaryUtils;75 BinaryDictionaryUtils.setCurrentTimeForTest(0); in BinaryDictDecoderEncoderTests()100 BinaryDictionaryUtils.setCurrentTimeForTest(0); in setUp()106 BinaryDictionaryUtils.setCurrentTimeForTest(-1); in tearDown()
28 import com.android.inputmethod.latin.utils.BinaryDictionaryUtils;208 final DictionaryHeader header = BinaryDictionaryUtils.getHeader(file); in hackCanUseDictionaryFile()
31 import com.android.inputmethod.latin.utils.BinaryDictionaryUtils;359 final float normalizedScore = BinaryDictionaryUtils.calcNormalizedScore( in getSuggestionsInfoListWithDebugInfo()
36 import com.android.inputmethod.latin.utils.BinaryDictionaryUtils;614 if (!BinaryDictionaryUtils.renameDict(tmpDictFile, dictFile)) { in migrateTo()
39 import com.android.inputmethod.latin.utils.BinaryDictionaryUtils;368 final float normalizedScore = BinaryDictionaryUtils.calcNormalizedScore( in getResult()
29 "java/src/com/android/inputmethod/latin/utils/BinaryDictionaryUtils.java",
38 import com.android.inputmethod.latin.utils.BinaryDictionaryUtils;99 if (BinaryDictionaryUtils.createEmptyDictFile(file.getAbsolutePath(), formatVersion, in createEmptyVer4DictionaryAndGetFile()