Searched refs:newLocale (Results 1 – 6 of 6) sorted by relevance
/libcore/ojluni/src/main/java/java/util/logging/ |
D | Level.java | 264 private String computeLocalizedLevelName(Locale newLocale) { in computeLocalizedLevelName() argument 268 ResourceBundle rb = ResourceBundle.getBundle(resourceBundleName, newLocale, in computeLocalizedLevelName() 326 final Locale newLocale = Locale.getDefault(); in getLocalizedLevelName() local 328 localizedLevelName = computeLocalizedLevelName(newLocale); in getLocalizedLevelName() 332 cachedLocale = newLocale; in getLocalizedLevelName()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | LocaleTest.java | 215 Locale newLocale = new Locale(newCode); in assertObsolete() local 217 assertEquals(newLocale, oldLocale); in assertObsolete() 220 assertEquals(oldCode, newLocale.getLanguage()); in assertObsolete() 224 assertEquals(displayName, newLocale.getDisplayLanguage(newLocale)); in assertObsolete() 225 assertEquals(displayName, oldLocale.getDisplayLanguage(newLocale)); in assertObsolete() 226 assertEquals(displayName, newLocale.getDisplayLanguage(oldLocale)); in assertObsolete() 231 assertOnce(newLocale, BreakIterator.getAvailableLocales()); in assertObsolete() 232 assertOnce(newLocale, Calendar.getAvailableLocales()); in assertObsolete() 233 assertOnce(newLocale, Collator.getAvailableLocales()); in assertObsolete() 234 assertOnce(newLocale, DateFormat.getAvailableLocales()); in assertObsolete() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | Locale.java | 1048 public static synchronized void setDefault(Locale newLocale) { in setDefault() argument 1049 setDefault(Category.DISPLAY, newLocale); in setDefault() 1050 setDefault(Category.FORMAT, newLocale); in setDefault() 1053 NoImagePreloadHolder.defaultLocale = newLocale; in setDefault() 1055 ICU.setDefaultLocale(newLocale.toLanguageTag()); in setDefault() 1087 Locale newLocale) { in setDefault() argument 1090 if (newLocale == null) in setDefault() 1098 defaultDisplayLocale = newLocale; in setDefault() 1101 defaultFormatLocale = newLocale; in setDefault()
|
/libcore/ojluni/annotations/mmodule/java/util/ |
D | Locale.annotated.java | 65 public static synchronized void setDefault(java.util.Locale newLocale) { throw new RuntimeException… in setDefault() argument 67 …ed void setDefault(java.util.Locale.Category category, java.util.Locale newLocale) { throw new Run… in setDefault() argument
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Locale.annotated.java | 63 public static synchronized void setDefault(@libcore.util.NonNull java.util.Locale newLocale) { thro… in setDefault() argument 65 …a.util.Locale.Category category, @libcore.util.NonNull java.util.Locale newLocale) { throw new Run… in setDefault() argument
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Locale.java | 108 public static synchronized void setDefault(java.util.Locale newLocale) { in setDefault() argument 113 java.util.Locale.Category category, java.util.Locale newLocale) { in setDefault() argument
|