/libcore/luni/src/test/java/libcore/icu/ |
LocaleDataTest.java | 25 LocaleData d = LocaleData.get(l); 32 LocaleData l = LocaleData.get(Locale.US); 60 LocaleData l = LocaleData.get(new Locale("de", "DE")); 68 LocaleData l = LocaleData.get(new Locale("cs", "CZ")); 80 LocaleData l = LocaleData.get(new Locale("ko", "KR")) [all...] |
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/cal10n_dummy/ |
Months.java | 29 import ch.qos.cal10n.LocaleData; 32 @LocaleData(@Locale("en"))
|
Production.java | 27 import ch.qos.cal10n.LocaleData; 32 @LocaleData({ @Locale("en_UK"), @Locale("fr") })
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
LocaleDataTest.java | 19 import android.icu.util.LocaleData; 47 LocaleData.PaperSize paperSize = LocaleData.getPaperSize(locale); 84 LocaleData.MeasurementSystem ms = LocaleData.getMeasurementSystem(locale); 92 if(ms == LocaleData.MeasurementSystem.US){ 98 if(ms == LocaleData.MeasurementSystem.UK){ 104 if(ms == LocaleData.MeasurementSystem.SI){ 122 LocaleData ld = LocaleData.getInstance(ULocale.ENGLISH) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
LocaleDataTest.java | 18 import com.ibm.icu.util.LocaleData; 43 LocaleData.PaperSize paperSize = LocaleData.getPaperSize(locale); 80 LocaleData.MeasurementSystem ms = LocaleData.getMeasurementSystem(locale); 88 if(ms == LocaleData.MeasurementSystem.US){ 94 if(ms == LocaleData.MeasurementSystem.UK){ 100 if(ms == LocaleData.MeasurementSystem.SI){ 118 LocaleData ld = LocaleData.getInstance(ULocale.ENGLISH) [all...] |
/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>(); 119 private LocaleData() { 135 * Returns a shared LocaleData for the given locale. 137 public static LocaleData get(Locale locale) { 144 LocaleData localeData = localeDataCache.get(languageTag); 145 if (localeData != null) { 146 return localeData; [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
LocaleData.java | 21 public final class LocaleData { 108 private LocaleData(){} 128 return LocaleData.getInstance(locale).getExemplarSet(options, ES_STANDARD); 133 * Equivalent to calling new LocaleData(locale).{@link #getExemplarSet(int, int)}. 149 return LocaleData.getInstance(locale).getExemplarSet(options, extype); 202 * Gets the LocaleData object associated with the ULocale specified in locale 207 public static final LocaleData getInstance(ULocale locale) { 208 LocaleData ld = new LocaleData(); 216 * Gets the LocaleData object associated with the default <code>FORMAT</code> local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
LocaleData.java | 20 public final class LocaleData { 117 private LocaleData(){} 138 return LocaleData.getInstance(locale).getExemplarSet(options, ES_STANDARD); 143 * Equivalent to calling new LocaleData(locale).{@link #getExemplarSet(int, int)}. 160 return LocaleData.getInstance(locale).getExemplarSet(options, extype); 214 * Gets the LocaleData object associated with the ULocale specified in locale 220 public static final LocaleData getInstance(ULocale locale) { 221 LocaleData ld = new LocaleData(); 229 * Gets the LocaleData object associated with the default <code>FORMAT</code> local [all...] |
/frameworks/base/core/java/android/webkit/ |
DateSorter.java | 25 import libcore.icu.LocaleData; 72 LocaleData localeData = LocaleData.get(locale); 73 mLabels[0] = localeData.today; 74 mLabels[1] = localeData.yesterday;
|
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 34 import libcore.icu.LocaleData; 278 LocaleData d = LocaleData.get(context.getResources().getConfiguration().locale); 442 LocaleData localeData = LocaleData.get(Locale.getDefault()); 464 replacement = localeData.amPm[inDate.get(Calendar.AM_PM) - Calendar.AM]; 471 replacement = getDayOfWeekString(localeData, 499 replacement = getMonthString(localeData, 533 private static String getDayOfWeekString(LocaleData ld, int day, int count, int kind) [all...] |
DateUtils.java | 34 import libcore.icu.LocaleData; 194 LocaleData d = LocaleData.get(Locale.getDefault()); 216 return LocaleData.get(Locale.getDefault()).amPm[ampm - Calendar.AM]; 232 LocaleData d = LocaleData.get(Locale.getDefault()); [all...] |
TimeFormatter.java | 29 import libcore.icu.LocaleData; 50 * The Locale for which the cached LocaleData and formats have been loaded. 53 private static LocaleData sLocaleData; 58 private final LocaleData localeData; 72 sLocaleData = LocaleData.get(locale); 83 localeData = sLocaleData; 103 if (localeData.zeroDigit != '0') { 115 int offsetToLocalizedDigits = localeData.zeroDigit - '0'; 159 ? "?" : localeData.longWeekdayNames[wallTime.getWeekDay() + 1] [all...] |
/libcore/ojluni/src/main/java/java/text/ |
DateFormatSymbols.java | 54 import libcore.icu.LocaleData; 781 locale = LocaleData.mapInvalidAndNullLocales(locale); 782 LocaleData localeData = LocaleData.get(locale); 784 eras = localeData.eras; 787 months = localeData.longMonthNames; 788 shortMonths = localeData.shortMonthNames; 790 ampms = localeData.amPm; 794 weekdays = localeData.longWeekdayNames [all...] |
NumberFormat.java | 58 import libcore.icu.LocaleData; 748 LocaleData data = LocaleData.get(desiredLocale); [all...] |
DecimalFormatSymbols.java | 51 import libcore.icu.LocaleData; 583 locale = LocaleData.mapInvalidAndNullLocales(locale); 584 LocaleData localeData = LocaleData.get(locale); 587 values[0] = String.valueOf(localeData.decimalSeparator); 588 values[1] = String.valueOf(localeData.groupingSeparator); 589 values[2] = String.valueOf(localeData.patternSeparator); 590 values[3] = String.valueOf(localeData.percent); 591 values[4] = String.valueOf(localeData.zeroDigit) [all...] |
/frameworks/base/core/java/android/widget/ |
TextClock.java | 43 import libcore.icu.LocaleData; 243 LocaleData ld = LocaleData.get(getContext().getResources().getConfiguration().locale); 491 LocaleData ld = LocaleData.get(getContext().getResources().getConfiguration().locale);
|
TimePicker.java | 39 import libcore.icu.LocaleData; 336 final LocaleData d = LocaleData.get(locale);
|
TimePickerSpinnerDelegate.java | 35 import libcore.icu.LocaleData; 530 LocaleData d = LocaleData.get(context.getResources().getConfiguration().locale);
|
DayPickerView.java | 37 import libcore.icu.LocaleData; 86 LocaleData.get(Locale.getDefault()).firstDayOfWeek);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
Clock.java | 19 import libcore.icu.LocaleData; 202 LocaleData d = LocaleData.get(context.getResources().getConfiguration().locale);
|
/frameworks/base/libs/androidfw/ |
Android.mk | 24 LocaleData.cpp \
|
LocaleData.cpp | 24 #include <androidfw/LocaleData.h>
|
/frameworks/base/tools/layoutlib/bridge/src/libcore/icu/ |
ICU_Delegate.java | 184 /*package*/ static boolean initLocaleDataNative(String locale, LocaleData result) {
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
AlphabeticIndex.java | 20 import android.icu.util.LocaleData; 502 UnicodeSet exemplars = LocaleData.getExemplarSet(locale, 0, LocaleData.ES_INDEX); 510 exemplars = LocaleData.getExemplarSet(locale, 0, LocaleData.ES_STANDARD); [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
AlphabeticIndex.java | 19 import com.ibm.icu.util.LocaleData; 521 UnicodeSet exemplars = LocaleData.getExemplarSet(locale, 0, LocaleData.ES_INDEX); 529 exemplars = LocaleData.getExemplarSet(locale, 0, LocaleData.ES_STANDARD); [all...] |