Home
last modified time | relevance | path

Searched refs:matchLevel (Results 1 – 5 of 5) 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()
DPersonalDictionaryLookup.java427 final int matchLevel = LocaleUtils.getMatchLevel(dictLocale.toString(), in isValidWord() local
431 + "] and InputLocale [" + inputLocale + "] is " + matchLevel); in isValidWord()
433 if (LocaleUtils.isMatch(matchLevel)) { in isValidWord()
435 Log.d(mTag, "isValidWord() : MatchLevel " + matchLevel + " IS a match"); in isValidWord()
440 Log.d(mTag, "isValidWord() : MatchLevel " + matchLevel + " is NOT a match"); in isValidWord()
/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()