/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | PluralFormat.java | 143 private ULocale ulocale = null; field in PluralFormat 199 public PluralFormat(ULocale ulocale) { in PluralFormat() argument 200 init(null, PluralType.CARDINAL, ulocale, null); in PluralFormat() 233 public PluralFormat(ULocale ulocale, PluralRules rules) { in PluralFormat() argument 234 init(rules, PluralType.CARDINAL, ulocale, null); in PluralFormat() 256 public PluralFormat(ULocale ulocale, PluralType type) { in PluralFormat() argument 257 init(null, type, ulocale, null); in PluralFormat() 296 public PluralFormat(ULocale ulocale, String pattern) { in PluralFormat() argument 297 init(null, PluralType.CARDINAL, ulocale, null); in PluralFormat() 327 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() 222 ^ ulocale.hashCode(); in hashCode() 260 ulocale = uloc; in initialize() 325 private ULocale ulocale = null; field in CurrencyPluralInfo
|
D | MessageFormat.java | 351 this.ulocale = ULocale.getDefault(Category.FORMAT); in MessageFormat() 378 this.ulocale = locale; in MessageFormat() 407 this.ulocale = locale; in setLocale() 423 return ulocale.toLocale(); in getLocale() 432 return ulocale; in getULocale() 1435 return Objects.equals(ulocale, other.ulocale) in equals() 1507 private transient ULocale ulocale; field in MessageFormat 1537 DateFormat.SHORT, DateFormat.SHORT, ulocale);//fix in getStockDateFormatter() 1543 stockNumberFormatter = NumberFormat.getInstance(ulocale); in getStockNumberFormatter() 1647 MessageFormat subMsgFormat = new MessageFormat(subMsgString, ulocale); in format() [all …]
|
D | ListFormatter.java | 325 private static ListFormatter load(ULocale ulocale, String style) { in load() argument 327 getBundleInstance(ICUData.ICU_BASE_NAME, ulocale); in load() 334 ulocale); in load()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | PluralFormat.java | 143 private ULocale ulocale = null; field in PluralFormat 201 public PluralFormat(ULocale ulocale) { in PluralFormat() argument 202 init(null, PluralType.CARDINAL, ulocale, null); in PluralFormat() 238 public PluralFormat(ULocale ulocale, PluralRules rules) { in PluralFormat() argument 239 init(rules, PluralType.CARDINAL, ulocale, null); in PluralFormat() 263 public PluralFormat(ULocale ulocale, PluralType type) { in PluralFormat() argument 264 init(null, type, ulocale, null); in PluralFormat() 306 public PluralFormat(ULocale ulocale, String pattern) { in PluralFormat() argument 307 init(null, PluralType.CARDINAL, ulocale, null); in PluralFormat() 339 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() 240 ^ ulocale.hashCode(); in hashCode() 278 ulocale = uloc; in initialize() 343 private ULocale ulocale = null; field in CurrencyPluralInfo
|
D | MessageFormat.java | 355 this.ulocale = ULocale.getDefault(Category.FORMAT); in MessageFormat() 384 this.ulocale = locale; in MessageFormat() 415 this.ulocale = locale; in setLocale() 432 return ulocale.toLocale(); in getLocale() 442 return ulocale; in getULocale() 1473 return Objects.equals(ulocale, other.ulocale) in equals() 1554 private transient ULocale ulocale; field in MessageFormat 1584 DateFormat.SHORT, DateFormat.SHORT, ulocale);//fix in getStockDateFormatter() 1590 stockNumberFormatter = NumberFormat.getInstance(ulocale); in getStockNumberFormatter() 1694 MessageFormat subMsgFormat = new MessageFormat(subMsgString, ulocale); in format() [all …]
|
D | ListFormatter.java | 330 private static ListFormatter load(ULocale ulocale, String style) { in load() argument 332 getBundleInstance(ICUData.ICU_BASE_NAME, ulocale); in load() 339 ulocale); in load()
|
/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/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/cldr/tools/java/org/unicode/cldr/test/ |
D | EmojiSubdivisionNames.java | 117 ULocale ulocale = new ULocale(locale); in main() local 118 LanguageGroup group = LanguageGroup.get(ulocale); in main() 119 int rank = LanguageGroup.rankInGroup(ulocale); in main() 133 ULocale ulocale = new ULocale(locale); in main() local 134 String region = ulocale.getCountry(); in main() 138 LanguageGroup group = LanguageGroup.get(ulocale); in main() 139 int rank = LanguageGroup.rankInGroup(ulocale); in main()
|
D | QuickCheck.java | 356 ULocale ulocale = new ULocale(locale); in showStatus() local 357 DateFormatSymbols dfs = new DateFormatSymbols(ulocale); // just use ICU for now in showStatus() 367 + "\t'" + new SimpleDateFormat(stockPattern, dfs, ulocale).format(SAMPLE_DATE) in showStatus() 368 …+ "\t'" + (areSame ? "" : new SimpleDateFormat(flexiblePattern, dfs, ulocale).format(SAMPLE_DATE))… in showStatus()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | PluralMinimalPairs.java | 29 public static PluralMinimalPairs getInstance(String ulocale) { in getInstance() argument 30 PluralMinimalPairs samplePatterns = cache.get(ulocale); in getInstance() 38 CLDRFile cldrFile = factory.make(ulocale, true); in getInstance() 56 samplePatterns.put(ulocale, type, category, sample); in getInstance() 66 cache.put(ulocale, samplePatterns); in getInstance()
|
D | MakeAnnotationHistogram.java | 28 ULocale ulocale = new ULocale(locale); in main() local 36 missingCodeToLocales.put(code, ulocale); in main() 39 int clusterCount = getCount(name, ulocale); in main() 49 System.out.print(locale + "\t" + ulocale.getDisplayName()); in main()
|
/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 | 248 private static GenderInfo load(ULocale ulocale) { in load() argument 256 ListGenderStyle.fromName(genderList.getString(ulocale.toString()))); in load()
|
/external/cldr/tools/java/com/ibm/icu/util/ |
D | LocaleMatcher.java | 153 public ULocale canonicalize(ULocale ulocale) { in canonicalize() argument 155 String lang = ulocale.getLanguage(); in canonicalize() 157 String script = ulocale.getScript(); in canonicalize() 159 String region = ulocale.getCountry(); in canonicalize() 167 return ulocale; in canonicalize() 215 public ULocale getBestMatch(ULocale ulocale) { in getBestMatch() argument 216 return getBestMatchInternal(ulocale, null); in getBestMatch() 403 boolean matches(ULocale ulocale) { in matches() argument 404 if (lang != null && !lang.equals(ulocale.getLanguage())) { in matches() 407 if (script != null && !script.equals(ulocale.getScript())) { in matches() [all …]
|
/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/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestBcp47Transforms.java | 203 ULocale ulocale = new ULocale(source); in getStandard() local 205 String language = ulocale.getLanguage(); in getStandard() 207 String script = ulocale.getScript(); in getStandard() 210 String region = ulocale.getCountry(); in getStandard() 214 return ulocale.toLanguageTag(); in getStandard()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | CLDRLocale.java | 219 private ULocale ulocale; field in CLDRLocale 258 return ulocale.toLanguageTag(); in toLanguageTag() 277 ulocale = loc; in init() 308 if (ulocale == null) { in init() 309 ulocale = new ULocale(fullname); in init() 361 return ulocale; in toULocale()
|
D | DayPeriodConverter.java | 234 ULocale ulocale = new ULocale(locale); in generateFormat() local 240 allData.put(ulocale, 0, DayPeriodInfo.DayPeriod.midnight); in generateFormat() 243 allData.put(ulocale, 12 * DayPeriodInfo.HOUR, DayPeriodInfo.DayPeriod.noon); in generateFormat() 260 allData.put(ulocale, 12 * DayPeriodInfo.HOUR + 1, lastPeriod); in generateFormat() 263 allData.put(ulocale, time, period); in generateFormat()
|
/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()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | PluralRangesTest.java | 67 ULocale ulocale = new ULocale(test[0]); in TestRangePattern() local 70 String formatter = MeasureFormat.getRangeFormat(ulocale, width); in TestRangePattern()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | PluralRangesTest.java | 70 ULocale ulocale = new ULocale(test[0]); in TestRangePattern() local 73 String formatter = MeasureFormat.getRangeFormat(ulocale, width); in TestRangePattern()
|