Home
last modified time | relevance | path

Searched refs:defaultLocale (Results 1 – 25 of 57) sorted by relevance

123

/external/icu/android_icu4j/src/main/java/android/icu/util/
DUResourceBundle.java337 …protected static UResourceBundle addToCache(String fullName, ULocale defaultLocale, UResourceBundl… in addToCache() argument
339 cacheKey.setKeyValues(fullName, defaultLocale); in addToCache()
355 protected static UResourceBundle loadFromCache(String fullName, ULocale defaultLocale) { in loadFromCache() argument
357 cacheKey.setKeyValues(fullName, defaultLocale); in loadFromCache()
374 private ULocale defaultLocale; field in UResourceBundle.ResourceCacheKey
395 if (defaultLocale == null) { in equals()
396 if (otherEntry.defaultLocale != null) { in equals()
400 if (!defaultLocale.equals(otherEntry.defaultLocale)) { in equals()
426 private synchronized void setKeyValues(String searchName, ULocale defaultLocale) { in setKeyValues() argument
429 this.defaultLocale = defaultLocale; in setKeyValues()
[all …]
DULocale.java515 private static Locale defaultLocale = Locale.getDefault(); field in ULocale
522 defaultULocale = forLocale(defaultLocale);
543 if (JDKLocaleHelper.isOriginalDefaultLocale(defaultLocale)) {
560 defaultCategoryLocales[idx] = defaultLocale;
588 if (!defaultLocale.equals(currentDefault)) { in getDefault()
589 defaultLocale = currentDefault; in getDefault()
625 defaultLocale = newLocale.toLocale(); in setDefault()
626 Locale.setDefault(defaultLocale); in setDefault()
669 if (!defaultLocale.equals(currentDefault)) { in getDefault()
670 defaultLocale = currentDefault; in getDefault()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DUResourceBundle.java351 …protected static UResourceBundle addToCache(String fullName, ULocale defaultLocale, UResourceBundl… in addToCache() argument
353 cacheKey.setKeyValues(fullName, defaultLocale); in addToCache()
369 protected static UResourceBundle loadFromCache(String fullName, ULocale defaultLocale) { in loadFromCache() argument
371 cacheKey.setKeyValues(fullName, defaultLocale); in loadFromCache()
388 private ULocale defaultLocale; field in UResourceBundle.ResourceCacheKey
409 if (defaultLocale == null) { in equals()
410 if (otherEntry.defaultLocale != null) { in equals()
414 if (!defaultLocale.equals(otherEntry.defaultLocale)) { in equals()
440 private synchronized void setKeyValues(String searchName, ULocale defaultLocale) { in setKeyValues() argument
443 this.defaultLocale = defaultLocale; in setKeyValues()
[all …]
DULocale.java546 private static Locale defaultLocale = Locale.getDefault(); field in ULocale
553 defaultULocale = forLocale(defaultLocale);
574 if (JDKLocaleHelper.isOriginalDefaultLocale(defaultLocale)) {
591 defaultCategoryLocales[idx] = defaultLocale;
635 if (!defaultLocale.equals(currentDefault)) { in getDefault()
636 defaultLocale = currentDefault; in getDefault()
672 defaultLocale = newLocale.toLocale(); in setDefault()
673 Locale.setDefault(defaultLocale); in setDefault()
717 if (!defaultLocale.equals(currentDefault)) { in getDefault()
718 defaultLocale = currentDefault; in getDefault()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DResourceBundleWrapper.java121 ULocale defaultLocale = ULocale.getDefault(); in instantiateBundle() local
126 ResourceBundleWrapper b = (ResourceBundleWrapper)loadFromCache(name, defaultLocale); in instantiateBundle()
134 parent = (ResourceBundleWrapper)loadFromCache(baseName+"_"+locName,defaultLocale); in instantiateBundle()
139 parent = (ResourceBundleWrapper)loadFromCache(baseName,defaultLocale); in instantiateBundle()
203 String defaultName = defaultLocale.toString(); in instantiateBundle()
205 … b = (ResourceBundleWrapper)loadFromCache(baseName+"_"+defaultName, defaultLocale); in instantiateBundle()
222 b = (ResourceBundleWrapper)addToCache(name, defaultLocale, b); in instantiateBundle()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DResourceBundleWrapper.java123 ULocale defaultLocale = ULocale.getDefault(); in instantiateBundle() local
128 ResourceBundleWrapper b = (ResourceBundleWrapper)loadFromCache(name, defaultLocale); in instantiateBundle()
136 parent = (ResourceBundleWrapper)loadFromCache(baseName+"_"+locName,defaultLocale); in instantiateBundle()
141 parent = (ResourceBundleWrapper)loadFromCache(baseName,defaultLocale); in instantiateBundle()
205 String defaultName = defaultLocale.toString(); in instantiateBundle()
207 … b = (ResourceBundleWrapper)loadFromCache(baseName+"_"+defaultName, defaultLocale); in instantiateBundle()
224 b = (ResourceBundleWrapper)addToCache(name, defaultLocale, b); in instantiateBundle()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DListFormatterTest.java144 ULocale defaultLocale = ULocale.getDefault(ULocale.Category.FORMAT); in isDefaultLocaleEnglishLike() local
145 return defaultLocale.equals(ULocale.ENGLISH) || defaultLocale.equals(ULocale.US); in isDefaultLocaleEnglishLike()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DListFormatterTest.java148 ULocale defaultLocale = ULocale.getDefault(ULocale.Category.FORMAT); in isDefaultLocaleEnglishLike() local
149 return defaultLocale.equals(ULocale.ENGLISH) || defaultLocale.equals(ULocale.US); in isDefaultLocaleEnglishLike()
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy38 private defaultLocale
73 defaultLocale = Locale.default
78 Locale.setDefault(defaultLocale)
DUnixDirectoryListingFormatterTest.groovy43 private defaultLocale
99 defaultLocale = Locale.default
104 Locale.setDefault(defaultLocale)
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy38 private defaultLocale
73 defaultLocale = Locale.default
78 Locale.setDefault(defaultLocale)
DUnixDirectoryListingFormatterTest.groovy43 private defaultLocale
99 defaultLocale = Locale.default
104 Locale.setDefault(defaultLocale)
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy38 private defaultLocale
73 defaultLocale = Locale.default
78 Locale.setDefault(defaultLocale)
DUnixDirectoryListingFormatterTest.groovy43 private defaultLocale
99 defaultLocale = Locale.default
104 Locale.setDefault(defaultLocale)
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy38 private defaultLocale
73 defaultLocale = Locale.default
78 Locale.setDefault(defaultLocale)
DUnixDirectoryListingFormatterTest.groovy43 private defaultLocale
99 defaultLocale = Locale.default
104 Locale.setDefault(defaultLocale)
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy38 private defaultLocale
73 defaultLocale = Locale.default
78 Locale.setDefault(defaultLocale)
DUnixDirectoryListingFormatterTest.groovy43 private defaultLocale
99 defaultLocale = Locale.default
104 Locale.setDefault(defaultLocale)
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy38 private defaultLocale
73 defaultLocale = Locale.default
78 Locale.setDefault(defaultLocale)
DUnixDirectoryListingFormatterTest.groovy43 private defaultLocale
99 defaultLocale = Locale.default
104 Locale.setDefault(defaultLocale)
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy38 private defaultLocale
73 defaultLocale = Locale.default
78 Locale.setDefault(defaultLocale)
DUnixDirectoryListingFormatterTest.groovy43 private defaultLocale
99 defaultLocale = Locale.default
104 Locale.setDefault(defaultLocale)
/external/icu/icu4c/source/test/intltest/
Dsvccoll.cpp157 const Locale& defaultLocale = Locale::getDefault(); in TestRegister() local
159 …((defaultLocale == Locale::getKorean() && defaultLocale == Locale::getJapanese()) && displayName =… in TestRegister()
160 ((defaultLocale == Locale::getChinese()) && displayName != zh_fuFU)) { in TestRegister()
166 …((defaultLocale == Locale::getKorean() && defaultLocale == Locale::getJapanese()) && displayName =… in TestRegister()
167 ((defaultLocale == Locale::getChinese()) && displayName != zh_fuFU)) { in TestRegister()
/external/icu/android_icu4j/runner/src/main/java/android/icu/junit/
DTestFmwkUtils.java66 private final static Locale defaultLocale = getStaticFieldValue("defaultLocale", Locale.class); field in TestFmwkUtils
115 Locale.setDefault(defaultLocale); in test_for_TestFmwk_GetTargets()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DSignature2Test.java236 Locale defaultLocale = Locale.getDefault(); in test_getInstance_withI18n() local
247 Locale.setDefault(defaultLocale); in test_getInstance_withI18n()

123