OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:matchLevel
(Results
1 - 5
of
5
) sorted by null
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
BinaryDictionaryGetter.java
141
public FileAndMatchLevel(final File file, final int
matchLevel
) {
143
mMatchLevel =
matchLevel
;
169
final int
matchLevel
= LocaleUtils.getMatchLevel(dirLocale, locale);
170
if (LocaleUtils.isMatch(
matchLevel
)) {
177
if (null == currentBestMatch || currentBestMatch.mMatchLevel <
matchLevel
) {
178
cacheFiles.put(category, new FileAndMatchLevel(wordList,
matchLevel
));
LocaleUtils.java
148
public static String getMatchLevelSortedString(int
matchLevel
) {
150
// Ideally this should use a number of digits equals to the 1og10 of the greater
matchLevel
151
return String.format("%02d", MATCH_LEVEL_MAX -
matchLevel
);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
LocaleUtils.java
144
public static String getMatchLevelSortedString(final int
matchLevel
) {
146
// Ideally this should use a number of digits equals to the 1og10 of the greater
matchLevel
147
return String.format("%02d", MATCH_LEVEL_MAX -
matchLevel
);
DictionaryProvider.java
93
public WordListInfo(final String id, final String locale, final int
matchLevel
) {
96
mMatchLevel =
matchLevel
;
390
final int
matchLevel
= LocaleUtils.getMatchLevel(wordListLocale, locale);
391
if (!LocaleUtils.isMatch(
matchLevel
)) {
413
|| currentBestMatch.mMatchLevel <
matchLevel
) {
415
new WordListInfo(wordListId, wordListLocale,
matchLevel
));
DictionarySettingsFragment.java
298
final int
matchLevel
= LocaleUtils.getMatchLevel(systemLocaleString, localeString);
299
final String matchLevelString = LocaleUtils.getMatchLevelSortedString(
matchLevel
);
Completed in 59 milliseconds