Home
last modified time | relevance | path

Searched refs:ulocale (Results 1 – 25 of 30) sorted by relevance

12

/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralFormat.java138 private ULocale ulocale = null; field in PluralFormat
194 public PluralFormat(ULocale ulocale) { in PluralFormat() argument
195 init(null, PluralType.CARDINAL, ulocale, null); in PluralFormat()
228 public PluralFormat(ULocale ulocale, PluralRules rules) { in PluralFormat() argument
229 init(rules, PluralType.CARDINAL, ulocale, null); in PluralFormat()
251 public PluralFormat(ULocale ulocale, PluralType type) { in PluralFormat() argument
252 init(null, type, ulocale, null); in PluralFormat()
291 public PluralFormat(ULocale ulocale, String pattern) { in PluralFormat() argument
292 init(null, PluralType.CARDINAL, ulocale, null); in PluralFormat()
322 public PluralFormat(ULocale ulocale, PluralRules rules, String pattern) { in PluralFormat() argument
[all …]
DMessageFormat.java348 this.ulocale = ULocale.getDefault(Category.FORMAT); in MessageFormat()
375 this.ulocale = locale; in MessageFormat()
404 this.ulocale = locale; in setLocale()
420 return ulocale.toLocale(); in getLocale()
429 return ulocale; in getULocale()
1429 return Utility.objectEquals(ulocale, other.ulocale) in equals()
1500 private transient ULocale ulocale; field in MessageFormat
1530 DateFormat.SHORT, DateFormat.SHORT, ulocale);//fix in getStockDateFormatter()
1536 stockNumberFormatter = NumberFormat.getInstance(ulocale); in getStockNumberFormatter()
1640 MessageFormat subMsgFormat = new MessageFormat(subMsgString, ulocale); in format()
[all …]
DCurrencyPluralInfo.java134 return ulocale; in getLocale()
166 ulocale = loc; in setLocale()
177 other.ulocale = (ULocale)ulocale.clone(); in clone()
250 ulocale = uloc; in initialize()
315 private ULocale ulocale = null; field in CurrencyPluralInfo
DRelativeDateTimeFormatter.java718 private ULocale ulocale = null; field in RelativeDateTimeFormatter.RelDateTimeFmtDataSink
723 ulocale = locale; in RelDateTimeFmtDataSink()
923 if (ulocale.getLanguage().equals("en")) { in put()
945 private final ULocale ulocale; field in RelativeDateTimeFormatter.Loader
947 public Loader(ULocale ulocale) { in Loader() argument
948 this.ulocale = ulocale; in Loader()
953 RelDateTimeFmtDataSink sink = new RelDateTimeFmtDataSink(ulocale); in load()
955 getBundleInstance(ICUResourceBundle.ICU_BASE_NAME, ulocale); in load()
977 ulocale, r.getStringWithFallback("calendar/default")); in load()
DCompactDecimalDataCache.java135 private static DataBundle load(ULocale ulocale) { in load() argument
136 NumberingSystem ns = NumberingSystem.getInstance(ulocale); in load()
138 getBundleInstance(ICUResourceBundle.ICU_BASE_NAME, ulocale); in load()
161 Data shortData = loadStyle(shortDataBundle, ulocale, SHORT_STYLE); in load()
166 longData = loadStyle(longDataBundle, ulocale, LONG_STYLE); in load()
DListFormatter.java312 private static ListFormatter load(ULocale ulocale, String style) { in load() argument
314 getBundleInstance(ICUResourceBundle.ICU_BASE_NAME, ulocale); in load()
321 ulocale); in load()
DDecimalFormatSymbols.java699 return ulocale; in getULocale()
792 this.ulocale = locale; in initialize()
988 ulocale = ULocale.forLocale(requestedLocale); in readObject()
1189 private ULocale ulocale; field in DecimalFormatSymbols
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralFormat.java138 private ULocale ulocale = null; field in PluralFormat
196 public PluralFormat(ULocale ulocale) { in PluralFormat() argument
197 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()
258 public PluralFormat(ULocale ulocale, PluralType type) { in PluralFormat() argument
259 init(null, type, ulocale, null); in PluralFormat()
301 public PluralFormat(ULocale ulocale, String pattern) { in PluralFormat() argument
302 init(null, PluralType.CARDINAL, ulocale, null); in PluralFormat()
334 public PluralFormat(ULocale ulocale, PluralRules rules, String pattern) { in PluralFormat() argument
[all …]
DMessageFormat.java349 this.ulocale = ULocale.getDefault(Category.FORMAT); in MessageFormat()
378 this.ulocale = locale; in MessageFormat()
409 this.ulocale = locale; in setLocale()
426 return ulocale.toLocale(); in getLocale()
436 return ulocale; in getULocale()
1464 return Utility.objectEquals(ulocale, other.ulocale) in equals()
1544 private transient ULocale ulocale; field in MessageFormat
1574 DateFormat.SHORT, DateFormat.SHORT, ulocale);//fix in getStockDateFormatter()
1580 stockNumberFormatter = NumberFormat.getInstance(ulocale); in getStockNumberFormatter()
1684 MessageFormat subMsgFormat = new MessageFormat(subMsgString, ulocale); in format()
[all …]
DCurrencyPluralInfo.java145 return ulocale; in getLocale()
180 ulocale = loc; in setLocale()
193 other.ulocale = (ULocale)ulocale.clone(); in clone()
267 ulocale = uloc; in initialize()
332 private ULocale ulocale = null; field in CurrencyPluralInfo
DRelativeDateTimeFormatter.java765 private ULocale ulocale = null; field in RelativeDateTimeFormatter.RelDateTimeFmtDataSink
770 ulocale = locale; in RelDateTimeFmtDataSink()
970 if (ulocale.getLanguage().equals("en")) { in put()
992 private final ULocale ulocale; field in RelativeDateTimeFormatter.Loader
994 public Loader(ULocale ulocale) { in Loader() argument
995 this.ulocale = ulocale; in Loader()
1000 RelDateTimeFmtDataSink sink = new RelDateTimeFmtDataSink(ulocale); in load()
1002 getBundleInstance(ICUResourceBundle.ICU_BASE_NAME, ulocale); in load()
1024 ulocale, r.getStringWithFallback("calendar/default")); in load()
DCompactDecimalDataCache.java134 private static DataBundle load(ULocale ulocale) { in load() argument
135 NumberingSystem ns = NumberingSystem.getInstance(ulocale); in load()
137 getBundleInstance(ICUResourceBundle.ICU_BASE_NAME, ulocale); in load()
160 Data shortData = loadStyle(shortDataBundle, ulocale, SHORT_STYLE); in load()
165 longData = loadStyle(longDataBundle, ulocale, LONG_STYLE); in load()
DListFormatter.java317 private static ListFormatter load(ULocale ulocale, String style) { in load() argument
319 getBundleInstance(ICUResourceBundle.ICU_BASE_NAME, ulocale); in load()
326 ulocale); in load()
DDecimalFormatSymbols.java754 return ulocale; in getULocale()
850 this.ulocale = locale; in initialize()
1046 ulocale = ULocale.forLocale(requestedLocale); in readObject()
1252 private ULocale ulocale; field in DecimalFormatSymbols
/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocaleMatcher.java156 public ULocale canonicalize(ULocale ulocale) { in canonicalize() argument
158 String lang = ulocale.getLanguage(); in canonicalize()
160 String script = ulocale.getScript(); in canonicalize()
162 String region = ulocale.getCountry(); in canonicalize()
171 return ulocale; in canonicalize()
216 public ULocale getBestMatch(ULocale ulocale) { in getBestMatch() argument
217 return getBestMatchInternal(ulocale, null); in getBestMatch()
408 boolean matches(ULocale ulocale) { in matches() argument
409 if (lang != null && !lang.equals(ulocale.getLanguage())) { in matches()
412 if (script != null && !script.equals(ulocale.getScript())) { in matches()
[all …]
DGenderInfo.java243 private static GenderInfo load(ULocale ulocale) { in load() argument
251 ListGenderStyle.fromName(genderList.getString(ulocale.toString()))); in load()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleMatcher.java159 public ULocale canonicalize(ULocale ulocale) { in canonicalize() argument
161 String lang = ulocale.getLanguage(); in canonicalize()
163 String script = ulocale.getScript(); in canonicalize()
165 String region = ulocale.getCountry(); in canonicalize()
174 return ulocale; in canonicalize()
222 public ULocale getBestMatch(ULocale ulocale) { in getBestMatch() argument
223 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 …]
DGenderInfo.java241 private static GenderInfo load(ULocale ulocale) { in load() argument
249 ListGenderStyle.fromName(genderList.getString(ulocale.toString()))); in load()
/external/icu/icu4c/source/test/intltest/
Dwinnmtst.cpp294 Locale ulocale(localeID); in testLocales() local
295 NumberFormat *wnf = NumberFormat::createInstance(ulocale, status); in testLocales()
296 NumberFormat *wcf = NumberFormat::createCurrencyInstance(ulocale, status); in testLocales()
Dplurfmts.cpp525 Locale ulocale((const char *)"fr"); in pluralFormatLocaleTest() local
527 PluralFormat plFmt(ulocale, testPattern, status); in pluralFormatLocaleTest()
755 Locale ulocale((const char *)locale); in helperTestResults() local
757 PluralFormat plFmt(ulocale, testPattern, status); in helperTestResults()
Dwindttst.cpp131 Locale ulocale(localeID); in testLocales() local
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralRangesTest.java65 ULocale ulocale = new ULocale(test[0]); in TestRangePattern() local
68 String formatter = MeasureFormat.getRangeFormat(ulocale, width); in TestRangePattern()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRangesTest.java61 ULocale ulocale = new ULocale(test[0]); in TestRangePattern() local
64 String formatter = MeasureFormat.getRangeFormat(ulocale, width); in TestRangePattern()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DAlphabeticIndexTest.java586 ULocale ulocale = new ULocale(localeString); in TestClientSupport() local
587 …AlphabeticIndex<Double> alphabeticIndex = new AlphabeticIndex<Double>(ulocale).addLabels(ULocale.E… in TestClientSupport()
632 … gotError |= !assertEquals(ulocale + "\tBucket Labels (" + index + ")", bucketLabel, myLabel); in TestClientSupport()
644 …gotError |= !assertEquals(ulocale + "\t" + bucketLabel + "\t" + "Record Names (" + index + "." + r… in TestClientSupport()
650 …gotError |= !assertEquals(ulocale + "\t" + bucketLabel + "\t" + "Record Names (" + index + "." + r… in TestClientSupport()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DAlphabeticIndexTest.java582 ULocale ulocale = new ULocale(localeString); in TestClientSupport() local
583 …AlphabeticIndex<Double> alphabeticIndex = new AlphabeticIndex<Double>(ulocale).addLabels(ULocale.E… in TestClientSupport()
628 … gotError |= !assertEquals(ulocale + "\tBucket Labels (" + index + ")", bucketLabel, myLabel); in TestClientSupport()
640 …gotError |= !assertEquals(ulocale + "\t" + bucketLabel + "\t" + "Record Names (" + index + "." + r… in TestClientSupport()
646 …gotError |= !assertEquals(ulocale + "\t" + bucketLabel + "\t" + "Record Names (" + index + "." + r… in TestClientSupport()

12