HomeSort by relevance Sort by last modified time
    Searched refs:ULocale (Results 76 - 100 of 480) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
LocaleBuilderTest.java 14 import android.icu.util.ULocale;
15 import android.icu.util.ULocale.Builder;
20 * Test cases for ULocale.LocaleBuilder
38 // "U": +1 = ULocale
144 bld.setExtension(ULocale.PRIVATE_USE_EXTENSION, TESTCASE[tidx][i++]);
146 bld.setLocale(new ULocale(TESTCASE[tidx][i++]));
183 ULocale loc = bld.build();
193 ULocale loc1 = ULocale.forLanguageTag(langtag);
202 ULocale loc = new ULocale("th_TH@calendar=gregorian")
    [all...]
LocalePriorityListTest.java 13 import android.icu.util.ULocale;
41 .add(new ULocale("af"))
42 .add(ULocale.FRENCH, 0.9d)
43 .add(ULocale.ENGLISH)
  /external/icu/android_icu4j/src/samples/java/android/icu/samples/text/datetimepatterngenerator/
DateTimePatternGeneratorSample.java 17 import android.icu.util.ULocale;
45 final ULocale[] locales = {
46 new ULocale ("en_US"),
47 new ULocale ("fr_FR"),
48 new ULocale ("zh_CN"),
55 for (ULocale locale:locales) {
91 for (ULocale locale:locales) {
121 ULocale locale = ULocale.FRANCE;
152 ULocale locale = ULocale.FRANCE
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
LocaleBuilderTest.java 13 import com.ibm.icu.util.ULocale;
14 import com.ibm.icu.util.ULocale.Builder;
17 * Test cases for ULocale.LocaleBuilder
34 // "U": +1 = ULocale
140 bld.setExtension(ULocale.PRIVATE_USE_EXTENSION, TESTCASE[tidx][i++]);
142 bld.setLocale(new ULocale(TESTCASE[tidx][i++]));
179 ULocale loc = bld.build();
189 ULocale loc1 = ULocale.forLanguageTag(langtag);
198 ULocale loc = new ULocale("th_TH@calendar=gregorian")
    [all...]
LocalePriorityListTest.java 12 import com.ibm.icu.util.ULocale;
37 .add(new ULocale("af"))
38 .add(ULocale.FRENCH, 0.9d)
39 .add(ULocale.ENGLISH)
  /external/icu/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/
DateTimePatternGeneratorSample.java 16 import com.ibm.icu.util.ULocale;
44 final ULocale[] locales = {
45 new ULocale ("en_US"),
46 new ULocale ("fr_FR"),
47 new ULocale ("zh_CN"),
54 for (ULocale locale:locales) {
90 for (ULocale locale:locales) {
120 ULocale locale = ULocale.FRANCE;
151 ULocale locale = ULocale.FRANCE
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
NumberFormat.java 29 import android.icu.util.ULocale;
30 import android.icu.util.ULocale.Category;
529 return getInstance(ULocale.getDefault(Category.FORMAT), NUMBERSTYLE);
539 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE);
548 public static NumberFormat getInstance(ULocale inLocale) {
558 return getInstance(ULocale.getDefault(Category.FORMAT), style);
567 return getInstance(ULocale.forLocale(inLocale), style);
576 return getInstance(ULocale.getDefault(Category.FORMAT), NUMBERSTYLE);
583 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE);
589 public static NumberFormat getNumberInstance(ULocale inLocale)
    [all...]
NumberFormatServiceShim.java 24 import android.icu.util.ULocale;
35 ULocale[] getAvailableULocales() {
77 NumberFormat createInstance(ULocale desiredLocale, int choice) {
84 ULocale[] actualLoc = new ULocale[1];
100 ULocale uloc = actualLoc[0];
110 protected Object handleCreate(ULocale loc, int kind, ICUService srvc) {
BreakIteratorFactory.java 23 import android.icu.util.ULocale;
35 public Object registerInstance(BreakIterator iter, ULocale locale, int kind) {
55 public ULocale[] getAvailableULocales() {
63 public BreakIterator createBreakIterator(ULocale locale, int kind) {
64 // TODO: convert to ULocale when service switches over
68 ULocale[] actualLoc = new ULocale[1];
79 protected Object handleCreate(ULocale loc, int kind, ICUService srvc) {
114 private static BreakIterator createBreakInstance(ULocale locale, int kind) {
154 ULocale uloc = ULocale.forLocale(rb.getLocale())
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
NumberFormat.java 28 import com.ibm.icu.util.ULocale;
29 import com.ibm.icu.util.ULocale.Category;
565 return getInstance(ULocale.getDefault(Category.FORMAT), NUMBERSTYLE);
576 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE);
586 public static NumberFormat getInstance(ULocale inLocale) {
597 return getInstance(ULocale.getDefault(Category.FORMAT), style);
607 return getInstance(ULocale.forLocale(inLocale), style);
617 return getInstance(ULocale.getDefault(Category.FORMAT), NUMBERSTYLE);
625 return getInstance(ULocale.forLocale(inLocale), NUMBERSTYLE);
632 public static NumberFormat getNumberInstance(ULocale inLocale)
    [all...]
NumberFormatServiceShim.java 23 import com.ibm.icu.util.ULocale;
34 ULocale[] getAvailableULocales() {
76 NumberFormat createInstance(ULocale desiredLocale, int choice) {
83 ULocale[] actualLoc = new ULocale[1];
99 ULocale uloc = actualLoc[0];
109 protected Object handleCreate(ULocale loc, int kind, ICUService srvc) {
BreakIteratorFactory.java 22 import com.ibm.icu.util.ULocale;
34 public Object registerInstance(BreakIterator iter, ULocale locale, int kind) {
54 public ULocale[] getAvailableULocales() {
62 public BreakIterator createBreakIterator(ULocale locale, int kind) {
63 // TODO: convert to ULocale when service switches over
67 ULocale[] actualLoc = new ULocale[1];
78 protected Object handleCreate(ULocale loc, int kind, ICUService srvc) {
113 private static BreakIterator createBreakInstance(ULocale locale, int kind) {
153 ULocale uloc = ULocale.forLocale(rb.getLocale())
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
PluralFormatUnitTest.java 29 import android.icu.util.ULocale;
52 plFmts[4] = new PluralFormat(ULocale.getDefault());
54 plFmts[5] = new PluralFormat(ULocale.getDefault(), PluralRules.DEFAULT);
56 plFmts[6] = new PluralFormat(ULocale.getDefault(),
59 plFmts[7] = new PluralFormat(ULocale.getDefault(), "other{#}");
69 NumberFormat numberFmt = NumberFormat.getInstance(ULocale.getDefault());
93 PluralFormat de_fee_1 = new PluralFormat(ULocale.GERMAN, PluralType.CARDINAL, "other{fee}");
94 PluralFormat de_fee_2 = new PluralFormat(ULocale.GERMAN, PluralType.CARDINAL, "other{fee}");
95 PluralFormat de_fi = new PluralFormat(ULocale.GERMAN, PluralType.CARDINAL, "other{fi}");
96 PluralFormat fr_fee = new PluralFormat(ULocale.FRENCH, PluralType.CARDINAL, "other{fee}")
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
PluralFormatUnitTest.java 28 import com.ibm.icu.util.ULocale;
48 plFmts[4] = new PluralFormat(ULocale.getDefault());
50 plFmts[5] = new PluralFormat(ULocale.getDefault(), PluralRules.DEFAULT);
52 plFmts[6] = new PluralFormat(ULocale.getDefault(),
55 plFmts[7] = new PluralFormat(ULocale.getDefault(), "other{#}");
65 NumberFormat numberFmt = NumberFormat.getInstance(ULocale.getDefault());
89 PluralFormat de_fee_1 = new PluralFormat(ULocale.GERMAN, PluralType.CARDINAL, "other{fee}");
90 PluralFormat de_fee_2 = new PluralFormat(ULocale.GERMAN, PluralType.CARDINAL, "other{fee}");
91 PluralFormat de_fi = new PluralFormat(ULocale.GERMAN, PluralType.CARDINAL, "other{fi}");
92 PluralFormat fr_fee = new PluralFormat(ULocale.FRENCH, PluralType.CARDINAL, "other{fee}")
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/util/
CurrencyServiceShim.java 33 ULocale[] getAvailableULocales() {
40 Currency createInstance(ULocale loc) {
41 // TODO: convert to ULocale when service switches over
50 Object registerInstance(Currency currency, ULocale locale) {
63 protected Object handleCreate(ULocale loc, int kind, ICUService srvc) {
DangiCalendar.java 12 import android.icu.util.ULocale.Category;
91 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
104 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
118 public DangiCalendar(TimeZone zone, ULocale locale) {
GlobalizationPreferences.java 82 // - Add convenience to get/take Locale as well as ULocale.
163 public GlobalizationPreferences setLocales(List<ULocale> inputLocales) {
177 public List<ULocale> getLocales() {
178 List<ULocale> result;
182 result = new ArrayList<ULocale>();
194 public ULocale getLocale(int index) {
195 List<ULocale> lcls = locales;
214 public GlobalizationPreferences setLocales(ULocale[] uLocales) {
226 * @param uLocale single locale
230 public GlobalizationPreferences setLocale(ULocale uLocale)
    [all...]
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
Currency.java 12 import com.ibm.icu.util.ULocale.Category;
88 public static Currency getInstance(ULocale locale) {
102 // public static String[] getAvailableCurrencyCodes(ULocale loc, Date d) {
137 // * @param locale the ulocale under which to register the currency
142 // public static Object registerInstance(Currency currency, ULocale locale) {
173 // public static ULocale[] getAvailableULocales() {
186 // * indicate a region, {@link ULocale#addLikelySubtags(ULocale)} is used to infer a region,
205 // public static final String[] getKeywordValuesForLocale(String key, ULocale locale,
258 return currency.getSymbol(ULocale.getDefault(Category.DISPLAY).toLocale())
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
CurrencyServiceShim.java 32 ULocale[] getAvailableULocales() {
39 Currency createInstance(ULocale loc) {
40 // TODO: convert to ULocale when service switches over
49 Object registerInstance(Currency currency, ULocale locale) {
62 protected Object handleCreate(ULocale loc, int kind, ICUService srvc) {
DangiCalendar.java 11 import com.ibm.icu.util.ULocale.Category;
89 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
102 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
116 public DangiCalendar(TimeZone zone, ULocale locale) {
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
AndroidLocale.java 21 import android.icu.util.ULocale;
36 return ULocale.forLocale(locale).toLanguageTag();
55 return ULocale.forLanguageTag(tag).toLocale();
59 return ULocale.forLocale(locale).getScript();
  /external/icu/android_icu4j/cts-coverage/src/main/tests/android/icu/cts/coverage/text/
AlphabeticIndexTest.java 19 import android.icu.util.ULocale;
34 AlphabeticIndex<?> ulocaleIndex = new AlphabeticIndex<>(ULocale.CANADA);
37 ulocaleIndex.addLabels(ULocale.SIMPLIFIED_CHINESE);
45 assertEquals(0, new AlphabeticIndex<>(ULocale.CANADA).getRecordCount());
50 assertEquals(1, new AlphabeticIndex<>(ULocale.CANADA).addRecord("foo", null)
60 AlphabeticIndex<?> index = new AlphabeticIndex<>(ULocale.ENGLISH)
61 .addLabels(ULocale.forLanguageTag("ru"));
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
BreakIterator.java 14 import com.ibm.icu.util.ULocale;
468 public static BreakIterator getWordInstance(ULocale where)
507 public static BreakIterator getLineInstance(ULocale where)
546 public static BreakIterator getCharacterInstance(ULocale where)
580 public static BreakIterator getSentenceInstance(ULocale where)
622 // public static BreakIterator getTitleInstance(ULocale where)
651 // public static Object registerInstance(BreakIterator iter, ULocale locale, int kind) {
675 public static BreakIterator getBreakInstance(ULocale where, int kind) {
708 public static synchronized ULocale[] getAvailableULocales() {
710 ULocale[] ulocales = new ULocale[locales.length]
    [all...]
  /external/icu/android_icu4j/src/samples/java/android/icu/samples/text/pluralformat/
PluralFormatSample.java 14 import android.icu.util.ULocale;
32 ULocale locEn = new ULocale("en");
33 ULocale locSl = new ULocale("sl");
  /external/icu/icu4j/samples/src/com/ibm/icu/samples/text/pluralformat/
PluralFormatSample.java 13 import com.ibm.icu.util.ULocale;
31 ULocale locEn = new ULocale("en");
32 ULocale locSl = new ULocale("sl");

Completed in 311 milliseconds

1 2 34 5 6 7 8 91011>>