/external/icu/android_icu4j/libcore_bridge/src/java/com/android/icu/util/ |
D | ExtendedCalendar.java | 35 private final ULocale uLocale; field in ExtendedCalendar 37 private ExtendedCalendar(ULocale uLocale) { in ExtendedCalendar() argument 38 this.uLocale = uLocale; in ExtendedCalendar() 39 this.calendar = Calendar.getInstance(uLocale); in ExtendedCalendar() 49 public static ExtendedCalendar getInstance(ULocale uLocale) { in getInstance() argument 50 Objects.requireNonNull(uLocale); in getInstance() 51 return new ExtendedCalendar(uLocale); in getInstance() 65 return Calendar.getDateTimeFormatString(uLocale, calendar.getType(), dateStyle, timeStyle); in getDateTimePattern()
|
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/icu/text/ |
D | ExtendedDecimalFormatSymbols.java | 33 private final ULocale uLocale; field in ExtendedDecimalFormatSymbols 36 private ExtendedDecimalFormatSymbols(ULocale uLocale, NumberingSystem ns) { in ExtendedDecimalFormatSymbols() argument 37 this.uLocale = uLocale; in ExtendedDecimalFormatSymbols() 47 public static ExtendedDecimalFormatSymbols getInstance(ULocale uLocale, NumberingSystem ns) { in getInstance() argument 48 return new ExtendedDecimalFormatSymbols(uLocale, ns); in getInstance() 63 return DecimalFormatSymbols.getLocalizedPatternSeparator(uLocale, numberingSystem); in getLocalizedPatternSeparator()
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | CheckCasing.java | 24 ULocale uLocale = null; field in CheckCasing 32 uLocale = new ULocale(cldrFileToCheck.getLocaleID()); in setCldrFileToCheck() 33 breaker = BreakIterator.getWordInstance(uLocale); in setCldrFileToCheck() 63 newValue = UCharacter.toLowerCase(uLocale, value); in handleCheck() 66 newValue = UCharacter.toTitleCase(uLocale, value, null); in handleCheck() 69 newValue = TitleCaseFirst(uLocale, value); in handleCheck() 96 return UCharacter.toTitleCase(uLocale, value.substring(0, endOfFirstWord), breaker) in TitleCaseFirst()
|
D | TestCLDRTests.java | 52 ULocale uLocale = ULocale.ENGLISH; field in TestCLDRTests 112 uLocale = new ULocale(localeName); in doSingle() 113 oLocale = uLocale.toLocale(); in doSingle() 145 String temp = uLocale + "\t" + message + "\t[" + name; in myerrln() 154 MutableInteger foo = results.get(uLocale.getDisplayName()); in myerrln() 155 if (foo == null) results.put(uLocale.getDisplayName(), foo = new MutableInteger()); in myerrln() 218 Collator col = Collator.getInstance(uLocale.toLocale());
|
/external/icu/android_icu4j/testing/src/com/android/icu/test/util/ |
D | ExtendedCalendarTest.java | 43 for (ULocale uLocale : ULocale.getAvailableLocales()) { in testGetDateTimeFormatString() 44 ExtendedCalendar extendedCalendar = ExtendedCalendar.getInstance(uLocale); in testGetDateTimeFormatString() 45 Calendar calendar = Calendar.getInstance(uLocale); in testGetDateTimeFormatString() 54 dateStyle, timeStyle, uLocale); in testGetDateTimeFormatString() 56 String msg = "Locale:" + uLocale + " date style:" + dateStyle in testGetDateTimeFormatString()
|
D | CaseMapperNativeTest.java | 54 ULocale uLocale = ULocale.forLocale(locale); in testLowerCase() local 55 String exampleString = String.join("", LocaleData.getExemplarSet(uLocale, 0)); in testLowerCase() 66 ULocale uLocale = ULocale.forLocale(locale); in testUpperCase() local 67 String exampleString = String.join("", LocaleData.getExemplarSet(uLocale, 0)); in testUpperCase()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | PluralRulesFactory.java | 157 public static String getSamplePattern(String uLocale, PluralType type, Count count) { in getSamplePattern() argument 158 PluralMinimalPairs samplePatterns = PluralMinimalPairs.getInstance(uLocale); in getSamplePattern() 284 ULocale uLocale = new ULocale(locale); in loadData() local 285 if (tempSamples.containsKey(uLocale)) { in loadData() 286 throw new IllegalArgumentException("Duplicate locale: " + uLocale); in loadData() 289 tempSamples.put(uLocale, new PluralRules.FixedDecimal(item)); in loadData()
|
D | GenerateIndexCharacters.java | 39 ULocale uLocale = new ULocale(locale); in getConstructedIndexSet() local 40 Collator collator = Collator.getInstance(uLocale); in getConstructedIndexSet() 42 AlphabeticIndex<String> index = new AlphabeticIndex<>(uLocale); in getConstructedIndexSet()
|
D | ExtractMessages.java | 201 private ULocale uLocale; field in ExtractMessages.OtherHandler 225 value = dataHandler.fixValue(uLocale, value); in handlePathValue() 249 this.uLocale = new ULocale(locale); in setLocale() 250 String lang = uLocale.getLanguage(); in setLocale() 381 public String fixValue(ULocale uLocale, String value) { in fixValue() argument 390 value = UCharacter.toTitleCase(uLocale, value, null); in fixValue()
|
D | GeneratePluralConfirmation.java | 40 for (String uLocale : new TreeSet<>(prf.getLocales())) { in main() 43 String pattern = PluralRulesFactory.getSamplePattern(uLocale, type, count); in main() 48 + uLocale in main()
|
D | ShowKeyboards.java | 466 final ULocale uLocale = ULocale.forLanguageTag(key); in showLocaleToCharacters() local 467 String script = uLocale.getScript(); in showLocaleToCharacters() 468 String writtenLanguage = uLocale.getLanguage() + (script.isEmpty() ? "" : "_" + script); in showLocaleToCharacters() 479 final String likelyScript = ULocale.addLikelySubtags(uLocale).getScript(); in showLocaleToCharacters()
|
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/system/ |
D | ZygoteHooks.java | 58 for (ULocale uLocale : localesToPin) { in onBeginPreload() 59 new DecimalFormatSymbols(uLocale); in onBeginPreload() 60 new DateFormatSymbols(uLocale); in onBeginPreload()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DateTimePatternGenerator.java | 92 public static DateTimePatternGenerator getInstance(ULocale uLocale) { in getInstance() argument 93 return getFrozenInstance(uLocale).cloneAsThawed(); in getInstance() 116 public static DateTimePatternGenerator getFrozenInstance(ULocale uLocale) { in getFrozenInstance() argument 117 String localeKey = uLocale.toString(); in getFrozenInstance() 124 result.initData(uLocale, false); in getFrozenInstance() 142 public static DateTimePatternGenerator getInstanceNoStdPat(ULocale uLocale) { in getInstanceNoStdPat() argument 144 result.initData(uLocale, true); in getInstanceNoStdPat() 148 private void initData(ULocale uLocale, boolean skipStdPatterns) { in initData() argument 156 addICUPatterns(returnInfo, uLocale); in initData() 158 addCLDRData(returnInfo, uLocale); in initData() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateTimePatternGenerator.java | 96 public static DateTimePatternGenerator getInstance(ULocale uLocale) { in getInstance() argument 97 return getFrozenInstance(uLocale).cloneAsThawed(); in getInstance() 120 public static DateTimePatternGenerator getFrozenInstance(ULocale uLocale) { in getFrozenInstance() argument 121 String localeKey = uLocale.toString(); in getFrozenInstance() 128 result.initData(uLocale, false); in getFrozenInstance() 146 public static DateTimePatternGenerator getInstanceNoStdPat(ULocale uLocale) { in getInstanceNoStdPat() argument 148 result.initData(uLocale, true); in getInstanceNoStdPat() 152 private void initData(ULocale uLocale, boolean skipStdPatterns) { in initData() argument 160 addICUPatterns(returnInfo, uLocale); in initData() 162 addCLDRData(returnInfo, uLocale); in initData() [all …]
|
/external/icu/android_icu4j/testing/src/android/icu/extratest/text/ |
D | AlphabeticIndexTest.java | 71 ULocale uLocale = ULocale.forLocale(locale); in verifyIndex() local 72 AlphabeticIndex index = new AlphabeticIndex(uLocale); in verifyIndex() 73 LocaleData localeData = LocaleData.getInstance(uLocale); in verifyIndex()
|
/external/icu/android_icu4j/testing/src/android/icu/extratest/util/ |
D | CalendarTest.java | 75 ULocale uLocale = ULocale.forLocale(l); in testGetWeekData_consistency() local 76 String region = ULocale.getRegionForSupplementalData(uLocale, true); in testGetWeekData_consistency()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateTimeGeneratorTest.java | 318 ULocale uLocale = null; in TestBasic() local 323 uLocale = (ULocale) dateTestData[i]; in TestBasic() 324 dtfg = DateTimePatternGenerator.getInstance(uLocale); in TestBasic() 325 if (GENERATE_TEST_DATA) logln("new ULocale(\"" + uLocale.toString() + "\"),"); in TestBasic() 332 SimpleDateFormat sdf = new SimpleDateFormat(pattern, uLocale); in TestBasic() 341 SimpleDateFormat sdf = new SimpleDateFormat(pattern, uLocale); in TestBasic() 346 …errln(uLocale + "\tformatted string doesn't match test case: " + testSkeleton + "\t generated: " +… in TestBasic() 349 sdf = new SimpleDateFormat(pattern, uLocale); in TestBasic() 711 private void checkCompatible(int style1, int style2, ULocale uLocale) { in checkCompatible() argument 712 DateOrder order1 = getOrdering(style1, uLocale); in checkCompatible() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateTimeGeneratorTest.java | 321 ULocale uLocale = null; in TestBasic() local 326 uLocale = (ULocale) dateTestData[i]; in TestBasic() 327 dtfg = DateTimePatternGenerator.getInstance(uLocale); in TestBasic() 328 if (GENERATE_TEST_DATA) logln("new ULocale(\"" + uLocale.toString() + "\"),"); in TestBasic() 335 SimpleDateFormat sdf = new SimpleDateFormat(pattern, uLocale); in TestBasic() 344 SimpleDateFormat sdf = new SimpleDateFormat(pattern, uLocale); in TestBasic() 349 …errln(uLocale + "\tformatted string doesn't match test case: " + testSkeleton + "\t generated: " +… in TestBasic() 352 sdf = new SimpleDateFormat(pattern, uLocale); in TestBasic() 714 private void checkCompatible(int style1, int style2, ULocale uLocale) { in checkCompatible() argument 715 DateOrder order1 = getOrdering(style1, uLocale); in checkCompatible() [all …]
|
/external/cldr/tools/java/com/ibm/icu/text/ |
D | GenderInfo.java | 33 public GenderInfo(ULocale uLocale) { in GenderInfo() argument 34 …ULocale language = new ULocale(uLocale.getLanguage()); // in the hard coded data, the language is … in GenderInfo()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | dtptngen.h | 75 …static DateTimePatternGenerator* U_EXPORT2 createInstance(const Locale& uLocale, UErrorCode& statu… 84 …static DateTimePatternGenerator* U_EXPORT2 createInstanceNoStdPat(const Locale& uLocale, UErrorCod… 91 …static DateTimePatternGenerator* U_EXPORT2 internalMakeInstance(const Locale& uLocale, UErrorCode&…
|
/external/icu/libicu/cts_headers/unicode/ |
D | dtptngen.h | 75 …static DateTimePatternGenerator* U_EXPORT2 createInstance(const Locale& uLocale, UErrorCode& statu… 84 …static DateTimePatternGenerator* U_EXPORT2 createInstanceNoStdPat(const Locale& uLocale, UErrorCod… 91 …static DateTimePatternGenerator* U_EXPORT2 internalMakeInstance(const Locale& uLocale, UErrorCode&…
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | GenderInfo.java | 68 public static GenderInfo getInstance(ULocale uLocale) { in getInstance() argument 69 return genderInfoCache.get(uLocale); in getInstance()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | GenderInfo.java | 71 public static GenderInfo getInstance(ULocale uLocale) { in getInstance() argument 72 return genderInfoCache.get(uLocale); in getInstance()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | DayPeriodConverter.java | 134 ULocale uLocale = new ULocale(locale); in generateFieldNames() local 171 String name = getNativeName(uLocale, dayPeriod); in generateFieldNames() 176 String name = getNativeName(uLocale, dayPeriod); in generateFieldNames()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/ |
D | GlobalizationPreferences.java | 241 public GlobalizationPreferences setLocale(ULocale uLocale) { in setLocale() argument 245 return setLocales(new ULocale[]{uLocale}); in setLocale()
|