Home | History | Annotate | Download | only in base

Lines Matching defs:country

104      * and XX is a country code. This works for API level lower than 21.
119 String country = tag[1];
120 if (country.length() != 2 && country.length() != 3) {
123 return new Locale(language, country);
128 * and XX is a country code.
148 * @return a well-formed IETF BCP 47 language tag with language and country code that
153 String country = locale.getCountry();
154 if (language.equals("no") && country.equals("NO") && locale.getVariant().equals("NY")) {
157 return country.isEmpty() ? language : language + "-" + country;
163 * @return a well-formed IETF BCP 47 language tag with language and country code that
178 * Each language tag is well-formed IETF BCP 47 language tag with language and country
188 * Each language tag is well-formed IETF BCP 47 language tag with language and country
199 * @return The default country code set during install.