OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:testedParams
(Results
1 - 2
of
2
) sorted by null
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
LocaleUtils.java
113
final String[]
testedParams
= testedLocale.split("_", 3);
115
if (!referenceParams[0].equals(
testedParams
[0])) return LOCALE_NO_MATCH;
118
return 1 ==
testedParams
.length ? LOCALE_FULL_MATCH : LOCALE_LANGUAGE_MATCH;
120
if (1 ==
testedParams
.length) return LOCALE_LANGUAGE_MATCH_COUNTRY_DIFFER;
121
if (!referenceParams[1].equals(
testedParams
[1]))
123
if (3 ==
testedParams
.length) return LOCALE_LANGUAGE_AND_COUNTRY_MATCH;
126
if (1 ==
testedParams
.length) return LOCALE_LANGUAGE_MATCH_COUNTRY_DIFFER;
127
if (!referenceParams[1].equals(
testedParams
[1]))
129
if (2 ==
testedParams
.length) return LOCALE_LANGUAGE_AND_COUNTRY_MATCH_VARIANT_DIFFER;
130
if (!referenceParams[2].equals(
testedParams
[2])
[
all
...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
LocaleUtils.java
115
String[]
testedParams
= testedLocale.split("_", 3);
117
if (!referenceParams[0].equals(
testedParams
[0])) return LOCALE_NO_MATCH;
120
return 1 ==
testedParams
.length ? LOCALE_FULL_MATCH : LOCALE_LANGUAGE_MATCH;
122
if (1 ==
testedParams
.length) return LOCALE_LANGUAGE_MATCH_COUNTRY_DIFFER;
123
if (!referenceParams[1].equals(
testedParams
[1]))
125
if (3 ==
testedParams
.length) return LOCALE_LANGUAGE_AND_COUNTRY_MATCH;
128
if (1 ==
testedParams
.length) return LOCALE_LANGUAGE_MATCH_COUNTRY_DIFFER;
129
if (!referenceParams[1].equals(
testedParams
[1]))
131
if (2 ==
testedParams
.length) return LOCALE_LANGUAGE_AND_COUNTRY_MATCH_VARIANT_DIFFER;
132
if (!referenceParams[2].equals(
testedParams
[2])
[
all
...]
Completed in 45 milliseconds