/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | PluralFormat.java | 141 private ULocale ulocale = null; field in PluralFormat 197 public PluralFormat(ULocale ulocale) { in PluralFormat() argument 198 init(null, PluralType.CARDINAL, ulocale, null); in PluralFormat() 231 public PluralFormat(ULocale ulocale, PluralRules rules) { in PluralFormat() argument 232 init(rules, PluralType.CARDINAL, ulocale, null); in PluralFormat() 254 public PluralFormat(ULocale ulocale, PluralType type) { in PluralFormat() argument 255 init(null, type, ulocale, null); in PluralFormat() 294 public PluralFormat(ULocale ulocale, String pattern) { in PluralFormat() argument 295 init(null, PluralType.CARDINAL, ulocale, null); in PluralFormat() 325 public PluralFormat(ULocale ulocale, PluralRules rules, String pattern) { in PluralFormat() argument [all …]
|
D | CurrencyPluralInfo.java | 136 return ulocale; in getLocale() 172 ulocale = loc; in setLocale() 184 other.ulocale = (ULocale)ulocale.clone(); in clone() 225 ^ ulocale.hashCode(); in hashCode() 260 ulocale = uloc; in initialize() 325 private ULocale ulocale = null; field in CurrencyPluralInfo
|
D | MessageFormat.java | 350 this.ulocale = ULocale.getDefault(Category.FORMAT); in MessageFormat() 377 this.ulocale = locale; in MessageFormat() 406 this.ulocale = locale; in setLocale() 422 return ulocale.toLocale(); in getLocale() 431 return ulocale; in getULocale() 1434 return Utility.objectEquals(ulocale, other.ulocale) in equals() 1506 private transient ULocale ulocale; field in MessageFormat 1536 DateFormat.SHORT, DateFormat.SHORT, ulocale);//fix in getStockDateFormatter() 1542 stockNumberFormatter = NumberFormat.getInstance(ulocale); in getStockNumberFormatter() 1646 MessageFormat subMsgFormat = new MessageFormat(subMsgString, ulocale); in format() [all …]
|
D | ListFormatter.java | 314 private static ListFormatter load(ULocale ulocale, String style) { in load() argument 316 getBundleInstance(ICUData.ICU_BASE_NAME, ulocale); in load() 323 ulocale); in load()
|
D | RelativeDateTimeFormatter.java | 1142 private final ULocale ulocale; field in RelativeDateTimeFormatter.Loader 1144 public Loader(ULocale ulocale) { in Loader() argument 1145 this.ulocale = ulocale; in Loader() 1177 getBundleInstance(ICUData.ICU_BASE_NAME, ulocale); in load()
|
D | DecimalFormatSymbols.java | 1092 return ulocale; in getULocale() 1276 this.ulocale = locale; in initialize() 1456 ulocale = ULocale.forLocale(requestedLocale); in readObject() 1770 private ULocale ulocale; field in DecimalFormatSymbols
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | PluralFormat.java | 141 private ULocale ulocale = null; field in PluralFormat 199 public PluralFormat(ULocale ulocale) { in PluralFormat() argument 200 init(null, PluralType.CARDINAL, ulocale, null); in PluralFormat() 236 public PluralFormat(ULocale ulocale, PluralRules rules) { in PluralFormat() argument 237 init(rules, PluralType.CARDINAL, ulocale, null); in PluralFormat() 261 public PluralFormat(ULocale ulocale, PluralType type) { in PluralFormat() argument 262 init(null, type, ulocale, null); in PluralFormat() 304 public PluralFormat(ULocale ulocale, String pattern) { in PluralFormat() argument 305 init(null, PluralType.CARDINAL, ulocale, null); in PluralFormat() 337 public PluralFormat(ULocale ulocale, PluralRules rules, String pattern) { in PluralFormat() argument [all …]
|
D | CurrencyPluralInfo.java | 147 return ulocale; in getLocale() 186 ulocale = loc; in setLocale() 200 other.ulocale = (ULocale)ulocale.clone(); in clone() 242 ^ ulocale.hashCode(); in hashCode() 277 ulocale = uloc; in initialize() 342 private ULocale ulocale = null; field in CurrencyPluralInfo
|
D | MessageFormat.java | 351 this.ulocale = ULocale.getDefault(Category.FORMAT); in MessageFormat() 380 this.ulocale = locale; in MessageFormat() 411 this.ulocale = locale; in setLocale() 428 return ulocale.toLocale(); in getLocale() 438 return ulocale; in getULocale() 1469 return Utility.objectEquals(ulocale, other.ulocale) in equals() 1550 private transient ULocale ulocale; field in MessageFormat 1580 DateFormat.SHORT, DateFormat.SHORT, ulocale);//fix in getStockDateFormatter() 1586 stockNumberFormatter = NumberFormat.getInstance(ulocale); in getStockNumberFormatter() 1690 MessageFormat subMsgFormat = new MessageFormat(subMsgString, ulocale); in format() [all …]
|
D | ListFormatter.java | 320 private static ListFormatter load(ULocale ulocale, String style) { in load() argument 322 getBundleInstance(ICUData.ICU_BASE_NAME, ulocale); in load() 329 ulocale); in load()
|
D | RelativeDateTimeFormatter.java | 1205 private final ULocale ulocale; field in RelativeDateTimeFormatter.Loader 1207 public Loader(ULocale ulocale) { in Loader() argument 1208 this.ulocale = ulocale; in Loader() 1240 getBundleInstance(ICUData.ICU_BASE_NAME, ulocale); in load()
|
D | DecimalFormatSymbols.java | 1182 return ulocale; in getULocale() 1369 this.ulocale = locale; in initialize() 1549 ulocale = ULocale.forLocale(requestedLocale); in readObject() 1870 private ULocale ulocale; field in DecimalFormatSymbols
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | TestLocaleValidity.java | 251 ULocale ulocale; 253 ulocale = new ULocale.Builder().setLanguageTag(locale).build(); 255 addKeys(ulocale, keys); 262 all.isValid(ulocale, where); 277 private void addKeys(ULocale ulocale, Set<String> keys) { 278 for (char cp : ulocale.getExtensionKeys()) { 282 String extensionString = ulocale.getExtension(cp);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | TestLocaleValidity.java | 254 ULocale ulocale; 256 ulocale = new ULocale.Builder().setLanguageTag(locale).build(); 258 addKeys(ulocale, keys); 265 all.isValid(ulocale, where); 280 private void addKeys(ULocale ulocale, Set<String> keys) { 281 for (char cp : ulocale.getExtensionKeys()) { 285 String extensionString = ulocale.getExtension(cp);
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | LocaleMatcher.java | 163 public ULocale canonicalize(ULocale ulocale) { in canonicalize() argument 165 String lang = ulocale.getLanguage(); in canonicalize() 167 String script = ulocale.getScript(); in canonicalize() 169 String region = ulocale.getCountry(); in canonicalize() 178 return ulocale; in canonicalize() 223 public ULocale getBestMatch(ULocale ulocale) { in getBestMatch() argument 224 return getBestMatchInternal(ulocale, null); in getBestMatch() 415 boolean matches(ULocale ulocale) { in matches() argument 416 if (lang != null && !lang.equals(ulocale.getLanguage())) { in matches() 419 if (script != null && !script.equals(ulocale.getScript())) { in matches() [all …]
|
D | GenderInfo.java | 246 private static GenderInfo load(ULocale ulocale) { in load() argument 254 ListGenderStyle.fromName(genderList.getString(ulocale.toString()))); in load()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | LocaleMatcher.java | 166 public ULocale canonicalize(ULocale ulocale) { in canonicalize() argument 168 String lang = ulocale.getLanguage(); in canonicalize() 170 String script = ulocale.getScript(); in canonicalize() 172 String region = ulocale.getCountry(); in canonicalize() 181 return ulocale; in canonicalize() 229 public ULocale getBestMatch(ULocale ulocale) { in getBestMatch() argument 230 return getBestMatchInternal(ulocale, null); in getBestMatch() 422 boolean matches(ULocale ulocale) { in matches() argument 423 if (lang != null && !lang.equals(ulocale.getLanguage())) { in matches() 426 if (script != null && !script.equals(ulocale.getScript())) { in matches() [all …]
|
D | GenderInfo.java | 244 private static GenderInfo load(ULocale ulocale) { in load() argument 252 ListGenderStyle.fromName(genderList.getString(ulocale.toString()))); in load()
|
/external/icu/icu4c/source/test/intltest/ |
D | winnmtst.cpp | 314 Locale ulocale(localeID); in testLocales() local 315 NumberFormat *wnf = NumberFormat::createInstance(ulocale, status); in testLocales() 316 NumberFormat *wcf = NumberFormat::createCurrencyInstance(ulocale, status); in testLocales()
|
D | plurfmts.cpp | 527 Locale ulocale((const char *)"fr"); in pluralFormatLocaleTest() local 529 PluralFormat plFmt(ulocale, testPattern, status); in pluralFormatLocaleTest() 757 Locale ulocale((const char *)locale); in helperTestResults() local 759 PluralFormat plFmt(ulocale, testPattern, status); in helperTestResults()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | PluralRangesTest.java | 69 ULocale ulocale = new ULocale(test[0]); in TestRangePattern() local 72 String formatter = MeasureFormat.getRangeFormat(ulocale, width); in TestRangePattern()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | PluralRangesTest.java | 66 ULocale ulocale = new ULocale(test[0]); in TestRangePattern() local 69 String formatter = MeasureFormat.getRangeFormat(ulocale, width); in TestRangePattern()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
D | XLocaleMatcher.java | 208 public ULocale getBestMatch(ULocale ulocale) { 209 return getBestMatch(ulocale, null); 462 public ULocale canonicalize(ULocale ulocale) {
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
D | XLocaleMatcher.java | 210 public ULocale getBestMatch(ULocale ulocale) { 211 return getBestMatch(ulocale, null); 463 public ULocale canonicalize(ULocale ulocale) {
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | AlphabeticIndexTest.java | 611 ULocale ulocale = new ULocale(localeString); in TestClientSupport() local 612 …AlphabeticIndex<Double> alphabeticIndex = new AlphabeticIndex<Double>(ulocale).addLabels(Locale.EN… in TestClientSupport() 657 … gotError |= !assertEquals(ulocale + "\tBucket Labels (" + index + ")", bucketLabel, myLabel); in TestClientSupport() 669 …gotError |= !assertEquals(ulocale + "\t" + bucketLabel + "\t" + "Record Names (" + index + "." + r… in TestClientSupport() 675 …gotError |= !assertEquals(ulocale + "\t" + bucketLabel + "\t" + "Record Names (" + index + "." + r… in TestClientSupport()
|