HomeSort by relevance Sort by last modified time
    Searched refs:matchLevel (Results 1 - 5 of 5) sorted by null

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
BinaryDictionaryGetter.java 146 public FileAndMatchLevel(final File file, final int matchLevel) {
148 mMatchLevel = matchLevel;
174 final int matchLevel = LocaleUtils.getMatchLevel(dirLocale, locale);
175 if (LocaleUtils.isMatch(matchLevel)) {
182 if (null == currentBestMatch || currentBestMatch.mMatchLevel < matchLevel) {
183 cacheFiles.put(category, new FileAndMatchLevel(wordList, matchLevel));
PersonalDictionaryLookup.java 427 final int matchLevel = LocaleUtils.getMatchLevel(dictLocale.toString(),
430 Log.d(mTag, "isValidWord() : MatchLevel for DictLocale [" + dictLocale
431 + "] and InputLocale [" + inputLocale + "] is " + matchLevel);
433 if (LocaleUtils.isMatch(matchLevel)) {
435 Log.d(mTag, "isValidWord() : MatchLevel " + matchLevel + " IS a match");
440 Log.d(mTag, "isValidWord() : MatchLevel " + matchLevel + " is NOT a match");
  /packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
LocaleUtils.java 145 public static String getMatchLevelSortedString(final int matchLevel) {
147 // Ideally this should use a number of digits equals to the 1og10 of the greater matchLevel
148 return String.format(Locale.ROOT, "%02d", MATCH_LEVEL_MAX - matchLevel);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DictionaryProvider.java 96 final int matchLevel) {
100 mMatchLevel = matchLevel;
391 final int matchLevel = LocaleUtils.getMatchLevel(wordListLocale, locale);
392 if (!LocaleUtils.isMatch(matchLevel)) {
413 || currentBestMatch.mMatchLevel < matchLevel) {
415 wordListRawChecksum, matchLevel));
DictionarySettingsFragment.java 322 final int matchLevel = LocaleUtils.getMatchLevel(systemLocaleString, localeString);
323 final String matchLevelString = LocaleUtils.getMatchLevelSortedString(matchLevel);

Completed in 309 milliseconds