HomeSort by relevance Sort by last modified time
    Searched refs:LocaleData (Results 1 - 25 of 31) sorted by null

1 2

  /libcore/luni/src/test/java/libcore/icu/
LocaleDataTest.java 25 LocaleData d = LocaleData.get(l);
31 LocaleData l = LocaleData.get(Locale.US);
57 LocaleData l = LocaleData.get(new Locale("de", "DE"));
65 LocaleData l = LocaleData.get(new Locale("cs", "CZ"));
77 LocaleData l = LocaleData.get(new Locale("ru", "RU"))
    [all...]
  /external/chromium_org/chrome/browser/chromeos/login/
language_list.h 41 struct LocaleData {
42 LocaleData() {}
43 LocaleData(const base::string16& name, const std::string& code)
50 typedef std::map<base::string16, LocaleData> LocaleDataMap;
57 // A map of some extra data (LocaleData) keyed off the name of the locale.
language_list.cc 106 LocaleData(name_native, locale_codes[i]);
  /libcore/luni/src/main/java/libcore/icu/
LocaleData.java 32 public final class LocaleData {
34 private static final HashMap<String, LocaleData> localeDataCache = new HashMap<String, LocaleData>();
112 private LocaleData() {
116 * Returns a shared LocaleData for the given locale.
118 public static LocaleData get(Locale locale) {
124 LocaleData localeData = localeDataCache.get(localeName);
125 if (localeData != null) {
126 return localeData;
    [all...]
ICU.java 244 static native boolean initLocaleDataNative(String locale, LocaleData result);
  /external/chromium/chrome/browser/
language_combobox_model.h 25 struct LocaleData {
26 LocaleData() { }
27 LocaleData(const string16& name, const std::string& code)
33 typedef std::map<string16, LocaleData> LocaleDataMap;
60 // A map of some extra data (LocaleData) keyed off the name of the locale.
language_combobox_model.cc 55 LocaleData(name_native, locale_codes[i]);
  /frameworks/base/core/java/android/webkit/
DateSorter.java 26 import libcore.icu.LocaleData;
73 LocaleData localeData = LocaleData.get(locale);
74 mLabels[0] = localeData.today;
75 mLabels[1] = localeData.yesterday;
  /libcore/luni/src/main/java/java/util/
Currency.java 22 import libcore.icu.LocaleData;
154 LocaleData localeData = LocaleData.get(locale);
155 if (localeData.internationalCurrencySymbol.equals(currencyCode)) {
156 return localeData.currencySymbol;
Calendar.java 27 import libcore.icu.LocaleData;
719 LocaleData localeData = LocaleData.get(locale);
720 setFirstDayOfWeek(localeData.firstDayOfWeek.intValue());
721 setMinimalDaysInFirstWeek(localeData.minimalDaysInFirstWeek.intValue());
    [all...]
Date.java 27 import libcore.icu.LocaleData;
703 LocaleData localeData = LocaleData.get(Locale.US);
707 result.append(localeData.shortWeekdayNames[cal.get(Calendar.DAY_OF_WEEK)]);
709 result.append(localeData.shortMonthNames[cal.get(Calendar.MONTH)]);
  /frameworks/base/core/java/android/text/format/
DateFormat.java 35 import libcore.icu.LocaleData;
218 LocaleData d = LocaleData.get(context.getResources().getConfiguration().locale);
284 LocaleData d = LocaleData.get(context.getResources().getConfiguration().locale);
435 LocaleData localeData = LocaleData.get(Locale.getDefault());
457 replacement = localeData.amPm[inDate.get(Calendar.AM_PM) - Calendar.AM];
464 replacement = getDayOfWeekString(localeData,
    [all...]
DateUtils.java 34 import libcore.icu.LocaleData;
193 LocaleData d = LocaleData.get(Locale.getDefault());
215 return LocaleData.get(Locale.getDefault()).amPm[ampm - Calendar.AM];
231 LocaleData d = LocaleData.get(Locale.getDefault());
441 return LocaleData.get(locale).yesterday;
443 return LocaleData.get(locale).tomorrow;
446 return LocaleData.get(locale).today;
    [all...]
Time.java 24 import libcore.icu.LocaleData;
325 LocaleData localeData = LocaleData.get(locale);
327 sAm = localeData.amPm[0];
328 sPm = localeData.amPm[1];
329 sZeroDigit = localeData.zeroDigit;
331 sShortMonths = localeData.shortMonthNames;
332 sLongMonths = localeData.longMonthNames;
333 sLongStandaloneMonths = localeData.longStandAloneMonthNames
    [all...]
  /frameworks/base/core/java/android/widget/
TextClock.java 39 import libcore.icu.LocaleData;
223 LocaleData ld = LocaleData.get(getContext().getResources().getConfiguration().locale);
429 LocaleData ld = LocaleData.get(getContext().getResources().getConfiguration().locale);
  /libcore/luni/src/main/java/java/text/
DateFormat.java 27 import libcore.icu.LocaleData;
391 return new SimpleDateFormat(LocaleData.get(locale).getDateFormat(style), locale);
443 LocaleData localeData = LocaleData.get(locale);
444 String pattern = localeData.getDateFormat(dateStyle) + " " + localeData.getTimeFormat(timeStyle);
511 return new SimpleDateFormat(LocaleData.get(locale).getTimeFormat(style), locale);
DateFormatSymbols.java 28 import libcore.icu.LocaleData;
62 transient LocaleData localeData;
108 this.localeData = LocaleData.get(locale);
109 this.ampms = localeData.amPm;
110 this.eras = localeData.eras;
111 this.months = localeData.longMonthNames;
112 this.shortMonths = localeData.shortMonthNames;
113 this.weekdays = localeData.longWeekdayNames
    [all...]
NumberFormat.java 30 import libcore.icu.LocaleData;
352 return getInstance(LocaleData.get(locale).currencyPattern, locale);
375 NumberFormat result = getInstance(LocaleData.get(locale).integerPattern, locale);
468 return getInstance(LocaleData.get(locale).numberPattern, locale);
495 return getInstance(LocaleData.get(locale).percentPattern, locale);
DecimalFormatSymbols.java 28 import libcore.icu.LocaleData;
84 LocaleData localeData = LocaleData.get(locale);
85 this.zeroDigit = localeData.zeroDigit;
87 this.decimalSeparator = localeData.decimalSeparator;
88 this.groupingSeparator = localeData.groupingSeparator;
89 this.patternSeparator = localeData.patternSeparator;
90 this.percent = localeData.percent;
91 this.perMill = localeData.perMill
    [all...]
SimpleDateFormat.java 32 import libcore.icu.LocaleData;
411 LocaleData localeData = LocaleData.get(Locale.getDefault());
412 return localeData.getDateFormat(SHORT) + " " + localeData.getTimeFormat(SHORT);
698 LocaleData ld = formatData.localeData;
702 days = standAlone ? ld.tinyStandAloneWeekdayNames : formatData.localeData.tinyWeekdayNames;
718 LocaleData ld = formatData.localeData
    [all...]
DecimalFormat.java 29 import libcore.icu.LocaleData;
516 initNative(LocaleData.get(locale).numberPattern);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
Clock.java 39 import libcore.icu.LocaleData;
135 LocaleData d = LocaleData.get(context.getResources().getConfiguration().locale);
  /external/chromium_org/third_party/icu/source/test/intltest/
tzfmttst.cpp 242 struct LocaleData {
256 TestTimeRoundTripThread(IntlTest& tlog, LocaleData &ld, int32_t i)
437 LocaleData& data;
503 LocaleData data;
  /frameworks/base/tools/layoutlib/bridge/src/libcore/icu/
ICU_Delegate.java 170 /*package*/ static boolean initLocaleDataNative(String locale, LocaleData result) {
  /external/icu4c/test/intltest/
tzfmttst.cpp 336 struct LocaleData {
350 TestTimeRoundTripThread(IntlTest& tlog, LocaleData &ld, int32_t i)
561 LocaleData& data;
627 LocaleData data;
    [all...]

Completed in 333 milliseconds

1 2