Home
last modified time | relevance | path

Searched refs:matchLevel (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionaryGetter.java146 public FileAndMatchLevel(final File file, final int matchLevel) { in FileAndMatchLevel() argument
148 mMatchLevel = matchLevel; in FileAndMatchLevel()
174 final int matchLevel = LocaleUtils.getMatchLevel(dirLocale, locale); in getCachedWordLists() local
175 if (LocaleUtils.isMatch(matchLevel)) { in getCachedWordLists()
182 if (null == currentBestMatch || currentBestMatch.mMatchLevel < matchLevel) { in getCachedWordLists()
183 cacheFiles.put(category, new FileAndMatchLevel(wordList, matchLevel)); in getCachedWordLists()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionaryProvider.java96 final int matchLevel) { in WordListInfo() argument
100 mMatchLevel = matchLevel; in WordListInfo()
391 final int matchLevel = LocaleUtils.getMatchLevel(wordListLocale, locale); in getDictionaryWordListsForLocale() local
392 if (!LocaleUtils.isMatch(matchLevel)) { in getDictionaryWordListsForLocale()
413 || currentBestMatch.mMatchLevel < matchLevel) { in getDictionaryWordListsForLocale()
415 wordListRawChecksum, matchLevel)); in getDictionaryWordListsForLocale()
DDictionarySettingsFragment.java322 final int matchLevel = LocaleUtils.getMatchLevel(systemLocaleString, localeString); in createInstalledDictSettingsCollection() local
323 final String matchLevelString = LocaleUtils.getMatchLevelSortedString(matchLevel); in createInstalledDictSettingsCollection()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DLocaleUtils.java145 public static String getMatchLevelSortedString(final int matchLevel) { in getMatchLevelSortedString() argument
148 return String.format(Locale.ROOT, "%02d", MATCH_LEVEL_MAX - matchLevel); in getMatchLevelSortedString()