/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
PluralRangesTest.java | 28 import android.icu.util.ULocale; 51 final ULocale locale = new ULocale(test[0]); 69 ULocale ulocale = new ULocale(test[0]); local 72 String formatter = MeasureFormat.getRangeFormat(ulocale, width); 81 {0.0, 1.0, ULocale.FRANCE, FormatWidth.WIDE, MeasureUnit.FAHRENHEIT, "0?1 degré Fahrenheit"}, 82 {1.0, 2.0, ULocale.FRANCE, FormatWidth.WIDE, MeasureUnit.FAHRENHEIT, "1?2 degrés Fahrenheit"}, 83 {3.1, 4.25, ULocale.FRANCE, FormatWidth.SHORT, MeasureUnit.FAHRENHEIT, "3,1?4,25 °F"} [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
PluralRangesTest.java | 27 import com.ibm.icu.util.ULocale; 48 final ULocale locale = new ULocale(test[0]); 66 ULocale ulocale = new ULocale(test[0]); local 69 String formatter = MeasureFormat.getRangeFormat(ulocale, width); 78 {0.0, 1.0, ULocale.FRANCE, FormatWidth.WIDE, MeasureUnit.FAHRENHEIT, "0?1 degré Fahrenheit"}, 79 {1.0, 2.0, ULocale.FRANCE, FormatWidth.WIDE, MeasureUnit.FAHRENHEIT, "1?2 degrés Fahrenheit"}, 80 {3.1, 4.25, ULocale.FRANCE, FormatWidth.SHORT, MeasureUnit.FAHRENHEIT, "3,1?4,25 °F"} [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
CurrencyPluralInfo.java | 20 import android.icu.util.ULocale; 21 import android.icu.util.ULocale.Category; 47 initialize(ULocale.getDefault(Category.FORMAT)); 55 initialize(ULocale.forLocale(locale)); 62 public CurrencyPluralInfo(ULocale locale) { 91 public static CurrencyPluralInfo getInstance(ULocale locale) { 135 public ULocale getLocale() { 136 return ulocale; 171 public void setLocale(ULocale loc) { 172 ulocale = loc 325 private ULocale ulocale = null; field in class:CurrencyPluralInfo [all...] |
PluralFormat.java | 24 import android.icu.util.ULocale; 25 import android.icu.util.ULocale.Category; 72 * the constructors that takes a <code>ULocale</code> object. To 141 private ULocale ulocale = null; field in class:PluralFormat 188 init(null, PluralType.CARDINAL, ULocale.getDefault(Category.FORMAT), null); 193 * @param ulocale the <code>PluralFormat</code> will be configured with 197 public PluralFormat(ULocale ulocale) { 198 init(null, PluralType.CARDINAL, ulocale, null) [all...] |
RelativeDateTimeFormatter.java | 27 import android.icu.util.ULocale; 346 return getInstance(ULocale.getDefault(), null, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 355 public static RelativeDateTimeFormatter getInstance(ULocale locale) { 366 return getInstance(ULocale.forLocale(locale)); 378 public static RelativeDateTimeFormatter getInstance(ULocale locale, NumberFormat nf) { 393 ULocale locale, 427 return getInstance(ULocale.forLocale(locale), nf); 712 ULocale locale) { 771 private final ULocale locale; 794 private final CacheBase<String, RelativeDateTimeFormatterData, ULocale> cache 1142 private final ULocale ulocale; field in class:RelativeDateTimeFormatter.Loader [all...] |
MessageFormat.java | 45 import android.icu.util.ULocale; 46 import android.icu.util.ULocale.Category; 304 * ULocale.ENGLISH); 350 this.ulocale = ULocale.getDefault(Category.FORMAT); 364 this(pattern, ULocale.forLocale(locale)); 376 public MessageFormat(String pattern, ULocale locale) { 377 this.ulocale = locale; 390 setLocale(ULocale.forLocale(locale)); 401 public void setLocale(ULocale locale) 1506 private transient ULocale ulocale; field in class:MessageFormat [all...] |
DecimalFormatSymbols.java | 30 import android.icu.util.ULocale; 31 import android.icu.util.ULocale.Category; 55 this(ULocale.getDefault(Category.FORMAT)); 63 this(ULocale.forLocale(locale)); 70 public DecimalFormatSymbols(ULocale locale) { 75 this(ULocale.forLocale(locale), ns); 78 private DecimalFormatSymbols(ULocale locale, NumberingSystem ns) { 124 public static DecimalFormatSymbols getInstance(ULocale locale) { 162 public static DecimalFormatSymbols forNumberingSystem(ULocale locale, NumberingSystem ns) { 189 * returns the array of <code>ULocale</code>s available in this class. ICU currentl 1770 private ULocale ulocale; field in class:DecimalFormatSymbols [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
CurrencyPluralInfo.java | 19 import com.ibm.icu.util.ULocale; 20 import com.ibm.icu.util.ULocale.Category; 49 initialize(ULocale.getDefault(Category.FORMAT)); 58 initialize(ULocale.forLocale(locale)); 66 public CurrencyPluralInfo(ULocale locale) { 98 public static CurrencyPluralInfo getInstance(ULocale locale) { 146 public ULocale getLocale() { 147 return ulocale; 185 public void setLocale(ULocale loc) { 186 ulocale = loc 342 private ULocale ulocale = null; field in class:CurrencyPluralInfo [all...] |
PluralFormat.java | 23 import com.ibm.icu.util.ULocale; 24 import com.ibm.icu.util.ULocale.Category; 71 * the constructors that takes a <code>ULocale</code> object. To 141 private ULocale ulocale = null; field in class:PluralFormat 189 init(null, PluralType.CARDINAL, ULocale.getDefault(Category.FORMAT), null); 194 * @param ulocale the <code>PluralFormat</code> will be configured with 199 public PluralFormat(ULocale ulocale) { 200 init(null, PluralType.CARDINAL, ulocale, null) [all...] |
RelativeDateTimeFormatter.java | 26 import com.ibm.icu.util.ULocale; 396 return getInstance(ULocale.getDefault(), null, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 406 public static RelativeDateTimeFormatter getInstance(ULocale locale) { 418 return getInstance(ULocale.forLocale(locale)); 431 public static RelativeDateTimeFormatter getInstance(ULocale locale, NumberFormat nf) { 447 ULocale locale, 482 return getInstance(ULocale.forLocale(locale), nf); 775 ULocale locale) { 834 private final ULocale locale; 857 private final CacheBase<String, RelativeDateTimeFormatterData, ULocale> cache 1205 private final ULocale ulocale; field in class:RelativeDateTimeFormatter.Loader [all...] |
MessageFormat.java | 44 import com.ibm.icu.util.ULocale; 45 import com.ibm.icu.util.ULocale.Category; 303 * ULocale.ENGLISH); 351 this.ulocale = ULocale.getDefault(Category.FORMAT); 366 this(pattern, ULocale.forLocale(locale)); 379 public MessageFormat(String pattern, ULocale locale) { 380 this.ulocale = locale; 394 setLocale(ULocale.forLocale(locale)); 406 public void setLocale(ULocale locale) 1550 private transient ULocale ulocale; field in class:MessageFormat [all...] |
DecimalFormatSymbols.java | 29 import com.ibm.icu.util.ULocale; 30 import com.ibm.icu.util.ULocale.Category; 56 this(ULocale.getDefault(Category.FORMAT)); 65 this(ULocale.forLocale(locale)); 73 public DecimalFormatSymbols(ULocale locale) { 78 this(ULocale.forLocale(locale), ns); 81 private DecimalFormatSymbols(ULocale locale, NumberingSystem ns) { 130 public static DecimalFormatSymbols getInstance(ULocale locale) { 170 public static DecimalFormatSymbols forNumberingSystem(ULocale locale, NumberingSystem ns) { 198 * returns the array of <code>ULocale</code>s available in this class. ICU currentl 1870 private ULocale ulocale; field in class:DecimalFormatSymbols [all...] |
/libcore/ojluni/src/main/java/java/time/temporal/ |
WeekFields.java | 66 import android.icu.util.ULocale; 288 ULocale ulocale = ULocale.forLocale(locale); local 289 String region = ULocale.getRegionForSupplementalData(ulocale, /* inferRegion */ true); [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
ICUResourceBundle.java | 31 import android.icu.util.ULocale; 64 this.ulocale = new ULocale(localeID); 71 ULocale ulocale; field in class:ICUResourceBundle.WholeBundle 114 public static final ULocale getFunctionalEquivalent(String baseName, ClassLoader loader, 115 String resName, String keyword, ULocale locID, 120 ULocale parent = new ULocale(baseLoc); 121 ULocale defLoc = null; // locale where default (found) resource i [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
ICUResourceBundle.java | 30 import com.ibm.icu.util.ULocale; 60 this.ulocale = new ULocale(localeID); 67 ULocale ulocale; field in class:ICUResourceBundle.WholeBundle 110 public static final ULocale getFunctionalEquivalent(String baseName, ClassLoader loader, 111 String resName, String keyword, ULocale locID, 116 ULocale parent = new ULocale(baseLoc); 117 ULocale defLoc = null; // locale where default (found) resource i [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
AlphabeticIndexTest.java | 44 import android.icu.util.ULocale; 182 // ULocale ulocale = new ULocale(locale); 184 // List<String> values = Arrays.asList(Collator.getKeywordValuesForLocale(keyword, ulocale, false)); 194 // final ULocale base = new ULocale(locale); 195 // final ULocale desired = new ULocale(locale + "@collation=" + collationValue); 197 // ULocale actual = foo.getLocale(ULocale.ACTUAL_LOCALE) 614 ULocale ulocale = new ULocale(localeString); local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
ICUResourceBundleTest.java | 39 import android.icu.util.ULocale; 128 UResourceBundle bundle = UResourceBundle.getBundleInstance("android/icu/dev/data/testdata", ULocale.getDefault(), testLoader); 184 if(!bundle.getULocale().equals(ULocale.getDefault())){ 185 errln("UResourceBundle did not load the default bundle when bundle was not found. Default: " + ULocale.getDefault() + 703 ULocale[] locales = ULocale.getAvailableLocales(); 724 if (!hasLocalizedCountryFor(ULocale.ENGLISH, locales[i]) 732 if(!hasLocalizedLanguageFor(ULocale.ENGLISH, locales[i])){ 746 logln(locales[i] + "\t" + locales[i].getDisplayName(ULocale.ENGLISH) + "\t" + locales[i].getDisplayName(locales[i])); 750 private static boolean hasLocalizedLanguageFor(ULocale locale, ULocale otherLocale) 1069 ULocale ulocale = null; local [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
AlphabeticIndexTest.java | 43 import com.ibm.icu.util.ULocale; 179 // ULocale ulocale = new ULocale(locale); 181 // List<String> values = Arrays.asList(Collator.getKeywordValuesForLocale(keyword, ulocale, false)); 191 // final ULocale base = new ULocale(locale); 192 // final ULocale desired = new ULocale(locale + "@collation=" + collationValue); 194 // ULocale actual = foo.getLocale(ULocale.ACTUAL_LOCALE) 611 ULocale ulocale = new ULocale(localeString); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
ICUResourceBundleTest.java | 38 import com.ibm.icu.util.ULocale; 125 UResourceBundle bundle = UResourceBundle.getBundleInstance("com/ibm/icu/dev/data/testdata", ULocale.getDefault(), testLoader); 181 if(!bundle.getULocale().equals(ULocale.getDefault())){ 182 errln("UResourceBundle did not load the default bundle when bundle was not found. Default: " + ULocale.getDefault() + 700 ULocale[] locales = ULocale.getAvailableLocales(); 721 if (!hasLocalizedCountryFor(ULocale.ENGLISH, locales[i]) 729 if(!hasLocalizedLanguageFor(ULocale.ENGLISH, locales[i])){ 743 logln(locales[i] + "\t" + locales[i].getDisplayName(ULocale.ENGLISH) + "\t" + locales[i].getDisplayName(locales[i])); 747 private static boolean hasLocalizedLanguageFor(ULocale locale, ULocale otherLocale) 1066 ULocale ulocale = null; local [all...] |
/prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/54.1.1/ |
icu4j-54.1.1.jar | |
/prebuilts/misc/common/icu4j/ |
icu4j.jar | |
/prebuilts/misc/common/robolectric/3.1.1/lib/ |
icu4j-53.1.jar | |
/prebuilts/misc/common/robolectric/3.4.2/lib/ |
icu4j-53.1.jar | |
/prebuilts/misc/common/robolectric/3.5.1/lib/ |
icu4j-53.1.jar | |
/prebuilts/misc/common/robolectric/3.6.1/lib/ |
icu4j-53.1.jar | |