Home
last modified time | relevance | path

Searched refs:language (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/util/
DLocale.java228 String language = System.getProperty("user.language", "en");
231 defaultLocale = new Locale(language, region, variant);
255 public Locale(String language) { in Locale() argument
256 this(language, "", ""); in Locale()
262 public Locale(String language, String country) { in Locale() argument
263 this(language, country, ""); in Locale()
270 public Locale(String language, String country, String variant) { in Locale() argument
271 if (language == null || country == null || variant == null) { in Locale()
274 if (language.isEmpty() && country.isEmpty()) { in Locale()
281 languageCode = language.toLowerCase(Locale.US); in Locale()
DResourceBundle.java588 String language = locale.getLanguage(); in strip() local
595 } else if (!language.isEmpty()) { in strip()
596 language = ""; in strip()
600 return new Locale(language, country, variant); in strip()
811 String language = locale.getLanguage(); in getCandidateLocales() local
815 retList.add(new Locale(language, country, variant)); in getCandidateLocales()
818 retList.add(new Locale(language, country)); in getCandidateLocales()
820 if (!EMPTY_STRING.equals(language)) { in getCandidateLocales()
821 retList.add(new Locale(language)); in getCandidateLocales()
/libcore/luni/src/main/java/libcore/icu/
DLocaleData.java123 String language = locale.getLanguage(); in makeLocaleData() local
129 result.overrideWithDataFrom(get(new Locale(language, country, ""))); in makeLocaleData()
131 result.overrideWithDataFrom(get(new Locale(language, "", ""))); in makeLocaleData()
132 } else if (!language.isEmpty()) { in makeLocaleData()
/libcore/luni/src/main/java/java/security/
Dsecurity.properties13 # See the License for the specific language governing permissions and
/libcore/luni/src/main/java/java/util/logging/
Dlogging.properties13 # See the License for the specific language governing permissions and