Searched refs:newLocale (Results 1 – 5 of 5) 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 | 212 Locale newLocale = new Locale(newCode); in assertObsolete() local 214 assertEquals(newLocale, oldLocale); in assertObsolete() 217 assertEquals(oldCode, newLocale.getLanguage()); in assertObsolete() 221 assertEquals(displayName, newLocale.getDisplayLanguage(newLocale)); in assertObsolete() 222 assertEquals(displayName, oldLocale.getDisplayLanguage(newLocale)); in assertObsolete() 223 assertEquals(displayName, newLocale.getDisplayLanguage(oldLocale)); in assertObsolete() 228 assertOnce(newLocale, BreakIterator.getAvailableLocales()); in assertObsolete() 229 assertOnce(newLocale, Calendar.getAvailableLocales()); in assertObsolete() 230 assertOnce(newLocale, Collator.getAvailableLocales()); in assertObsolete() 231 assertOnce(newLocale, DateFormat.getAvailableLocales()); in assertObsolete() [all …]
|
/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/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
|
/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
|