/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() 62 newValue = UCharacter.toLowerCase(uLocale, value); in handleCheck() 65 newValue = UCharacter.toTitleCase(uLocale, value, null); in handleCheck() 68 newValue = TitleCaseFirst(uLocale, value); in handleCheck() 95 return UCharacter.toTitleCase(uLocale, value.substring(0, endOfFirstWord), breaker) in TitleCaseFirst()
|
D | TestCLDRTests.java | 52 ULocale uLocale = ULocale.ENGLISH; field in TestCLDRTests 111 uLocale = new ULocale(localeName); in doSingle() 112 oLocale = uLocale.toLocale(); in doSingle() 144 String temp = uLocale + "\t" + message + "\t[" + name; in myerrln() 153 MutableInteger foo = results.get(uLocale.getDisplayName()); in myerrln() 154 if (foo == null) results.put(uLocale.getDisplayName(), foo = new MutableInteger()); in myerrln() 215 Collator col = Collator.getInstance(uLocale.toLocale());
|
D | CheckConsistentCasing.java | 39 ULocale uLocale = null; field in CheckConsistentCasing
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | PluralRulesFactory.java | 156 public static String getSamplePattern(String uLocale, PluralType type, Count count) { in getSamplePattern() argument 157 PluralMinimalPairs samplePatterns = PluralMinimalPairs.getInstance(uLocale); in getSamplePattern() 283 ULocale uLocale = new ULocale(locale); in loadData() local 284 if (tempSamples.containsKey(uLocale)) { in loadData() 285 throw new IllegalArgumentException("Duplicate locale: " + uLocale); in loadData() 288 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<String>(uLocale); in getConstructedIndexSet()
|
D | ExtractMessages.java | 199 private ULocale uLocale; field in ExtractMessages.OtherHandler 222 value = dataHandler.fixValue(uLocale, value); in handlePathValue() 246 this.uLocale = new ULocale(locale); in setLocale() 247 String lang = uLocale.getLanguage(); in setLocale() 378 public String fixValue(ULocale uLocale, String value) { in fixValue() argument 387 value = UCharacter.toTitleCase(uLocale, value, null); in fixValue()
|
D | GeneratePluralConfirmation.java | 40 for (String uLocale : new TreeSet<>(prf.getLocales())) { in main() 43 String pattern = prf.getSamplePattern(uLocale, type, count); in main() 48 + uLocale in main()
|
D | ShowKeyboards.java | 465 final ULocale uLocale = ULocale.forLanguageTag(key); in showLocaleToCharacters() local 466 String script = uLocale.getScript(); in showLocaleToCharacters() 467 String writtenLanguage = uLocale.getLanguage() + (script.isEmpty() ? "" : "_" + script); in showLocaleToCharacters() 478 final String likelyScript = ULocale.addLikelySubtags(uLocale).getScript(); in showLocaleToCharacters()
|
/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); in getFrozenInstance() 136 private void initData(ULocale uLocale) { in initData() argument 143 addICUPatterns(returnInfo, uLocale); in initData() 144 addCLDRData(returnInfo, uLocale); in initData() 145 setDateTimeFromCalendar(uLocale); in initData() 146 setDecimalSymbols(uLocale); in initData() [all …]
|
/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() 117 public static DateTimePatternGenerator getFrozenInstance(ULocale uLocale) { in getFrozenInstance() argument 118 String localeKey = uLocale.toString(); in getFrozenInstance() 125 result.initData(uLocale); in getFrozenInstance() 133 private void initData(ULocale uLocale) { in initData() argument 140 addICUPatterns(returnInfo, uLocale); in initData() 141 addCLDRData(returnInfo, uLocale); in initData() 142 setDateTimeFromCalendar(uLocale); in initData() 143 setDecimalSymbols(uLocale); in initData() [all …]
|
/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/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()
|
D | GlobalizationPreferences.java | 232 public GlobalizationPreferences setLocale(ULocale uLocale) { in setLocale() argument 236 return setLocales(new ULocale[]{uLocale}); in setLocale()
|
D | Calendar.java | 3582 public static String getDateTimePattern(Calendar cal, ULocale uLocale, int dateStyle) { in getDateTimePattern() argument 3583 PatternData patternData = PatternData.make(cal, uLocale); in getDateTimePattern()
|
/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()
|
D | Calendar.java | 3687 public static String getDateTimePattern(Calendar cal, ULocale uLocale, int dateStyle) { in getDateTimePattern() argument 3688 PatternData patternData = PatternData.make(cal, uLocale); in getDateTimePattern()
|
/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 internalMakeInstance(const Locale& uLocale, UErrorCode&…
|
/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()
|