/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
LocaleAliasCollationTest.java | 14 import android.icu.util.ULocale; 20 private static final ULocale[][] _LOCALES = { 21 {new ULocale("en", "RH"), new ULocale("en", "ZW")}, 22 {new ULocale("in"), new ULocale("id")}, 23 {new ULocale("in", "ID"), new ULocale("id", "ID")}, 24 {new ULocale("iw"), new ULocale("he")} [all...] |
LocaleAliasTest.java | 21 import android.icu.util.ULocale; 28 private static final ULocale[][] _LOCALES = { 30 {new ULocale("en", "RH"), new ULocale("en", "ZW")}, 31 {new ULocale("in"), new ULocale("id")}, 32 {new ULocale("in", "ID"), new ULocale("id", "ID")}, 33 {new ULocale("iw"), new ULocale("he")} [all...] |
ULocaleTest.java | 41 import android.icu.util.ULocale; 42 import android.icu.util.ULocale.Builder; 43 import android.icu.util.ULocale.Category; 44 import android.icu.util.ULocale.Minimize; 84 public Object create(ULocale req) { 88 // public Object register(ULocale loc, Object prototype) { 98 // Currency getLocale API is obsolete in 3.2. Since it now returns ULocale.ROOT, 104 public Object create(ULocale req) { 108 public Object register(ULocale loc, Object prototype) { 120 public Object create(ULocale req) [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/ |
LocaleAliasCollationTest.java | 13 import com.ibm.icu.util.ULocale; 16 private static final ULocale[][] _LOCALES = { 17 {new ULocale("en", "RH"), new ULocale("en", "ZW")}, 18 {new ULocale("in"), new ULocale("id")}, 19 {new ULocale("in", "ID"), new ULocale("id", "ID")}, 20 {new ULocale("iw"), new ULocale("he")} [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
LocaleAliasTest.java | 20 import com.ibm.icu.util.ULocale; 24 private static final ULocale[][] _LOCALES = { 26 {new ULocale("en", "RH"), new ULocale("en", "ZW")}, 27 {new ULocale("in"), new ULocale("id")}, 28 {new ULocale("in", "ID"), new ULocale("id", "ID")}, 29 {new ULocale("iw"), new ULocale("he")} [all...] |
ULocaleTest.java | 40 import com.ibm.icu.util.ULocale; 41 import com.ibm.icu.util.ULocale.Builder; 42 import com.ibm.icu.util.ULocale.Category; 43 import com.ibm.icu.util.ULocale.Minimize; 80 public Object create(ULocale req) { 84 // public Object register(ULocale loc, Object prototype) { 94 // Currency getLocale API is obsolete in 3.2. Since it now returns ULocale.ROOT, 100 public Object create(ULocale req) { 104 public Object register(ULocale loc, Object prototype) { 116 public Object create(ULocale req) [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
ULocaleTest.java | 13 import com.ibm.icu.util.ULocale; 14 import com.ibm.icu.util.ULocale.Category; 21 private ULocale longULocale; 34 longULocale = new ULocale(longULocaleName); 35 sampleLocale = new ULocale(sampleName).toLocale(); 39 * Test method for 'com.ibm.icu.x.util.ULocale.hashCode()' 42 ULocale obj = ULocale.GERMANY; 43 ULocale eq = new ULocale("de_DE") [all...] |
DecimalFormatSymbolsTest.java | 13 import com.ibm.icu.util.ULocale; 22 DecimalFormatSymbols dfs2 = new DecimalFormatSymbols(ULocale.US); 51 * Test method for 'com.ibm.icu.text.DecimalFormatSymbols.DecimalFormatSymbols(ULocale)' 54 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US); 62 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US); 70 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US); 83 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US); 91 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US); 104 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US); 112 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
UFormat.java | 12 import android.icu.util.ULocale; 19 * @see android.icu.util.ULocale 32 // -------- BEGIN ULocale boilerplate -------- 48 * android.icu.util.ULocale#VALID_LOCALE} or {@link 49 * android.icu.util.ULocale#ACTUAL_LOCALE}. 52 * @see android.icu.util.ULocale 53 * @see android.icu.util.ULocale#VALID_LOCALE 54 * @see android.icu.util.ULocale#ACTUAL_LOCALE 57 public final ULocale getLocale(ULocale.Type type) [all...] |
RbnfLenientScannerProvider.java | 11 import android.icu.util.ULocale; 31 RbnfLenientScanner get(ULocale locale, String extras);
|
BreakIterator.java | 19 import android.icu.util.ULocale; 535 return getWordInstance(ULocale.getDefault()); 547 return getBreakInstance(ULocale.forLocale(where), KIND_WORD); 557 public static BreakIterator getWordInstance(ULocale where) 571 return getLineInstance(ULocale.getDefault()); 584 return getBreakInstance(ULocale.forLocale(where), KIND_LINE); 595 public static BreakIterator getLineInstance(ULocale where) 609 return getCharacterInstance(ULocale.getDefault()); 622 return getBreakInstance(ULocale.forLocale(where), KIND_CHARACTER); 633 public static BreakIterator getCharacterInstance(ULocale where [all...] |
CollatorServiceShim.java | 25 import android.icu.util.ULocale; 29 Collator getInstance(ULocale locale) { 35 ULocale[] actualLoc = new ULocale[1]; 52 Object registerInstance(Collator collator, ULocale locale) { 69 public Object handleCreate(ULocale loc, int kind, ICUService srvc) { 74 public String getDisplayName(String id, ULocale displayLocale) { 75 ULocale objectLocale = new ULocale(id); 103 ULocale[] getAvailableULocales() [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
UFormat.java | 11 import com.ibm.icu.util.ULocale; 18 * @see com.ibm.icu.util.ULocale 34 // -------- BEGIN ULocale boilerplate -------- 50 * com.ibm.icu.util.ULocale#VALID_LOCALE} or {@link 51 * com.ibm.icu.util.ULocale#ACTUAL_LOCALE}. 54 * @see com.ibm.icu.util.ULocale 55 * @see com.ibm.icu.util.ULocale#VALID_LOCALE 56 * @see com.ibm.icu.util.ULocale#ACTUAL_LOCALE 60 public final ULocale getLocale(ULocale.Type type) [all...] |
RbnfLenientScannerProvider.java | 10 import com.ibm.icu.util.ULocale; 29 RbnfLenientScanner get(ULocale locale, String extras);
|
BreakIterator.java | 18 import com.ibm.icu.util.ULocale; 570 return getWordInstance(ULocale.getDefault()); 583 return getBreakInstance(ULocale.forLocale(where), KIND_WORD); 594 public static BreakIterator getWordInstance(ULocale where) 609 return getLineInstance(ULocale.getDefault()); 623 return getBreakInstance(ULocale.forLocale(where), KIND_LINE); 635 public static BreakIterator getLineInstance(ULocale where) 650 return getCharacterInstance(ULocale.getDefault()); 664 return getBreakInstance(ULocale.forLocale(where), KIND_CHARACTER); 676 public static BreakIterator getCharacterInstance(ULocale where [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
ListFormatterTest.java | 15 import android.icu.util.ULocale; 49 checkData(ListFormatter.getInstance(ULocale.ENGLISH), EnglishTestData); 50 checkData(ListFormatter.getInstance(ULocale.US), EnglishTestData); 68 checkData(ListFormatter.getInstance(ULocale.JAPANESE), JapaneseTestData); 95 checkData(ListFormatter.getInstance(ULocale.ROOT), RootTestData); 97 checkData(ListFormatter.getInstance(new ULocale("xxx")), EnglishTestData); 111 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); 120 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); 128 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); 139 "getLocale", ULocale.ENGLISH, ListFormatter.getInstance(ULocale.ENGLISH).getLocale()) [all...] |
PluralRulesFactory.java | 12 import android.icu.util.ULocale; 26 public boolean hasOverride(ULocale locale) { 30 public PluralRules forLocale(ULocale locale, PluralType ordinal) { 34 public ULocale[] getAvailableULocales() { 38 public ULocale getFunctionalEquivalent(ULocale locale, boolean[] isAvailable) {
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
ListFormatterTest.java | 14 import com.ibm.icu.util.ULocale; 45 checkData(ListFormatter.getInstance(ULocale.ENGLISH), EnglishTestData); 46 checkData(ListFormatter.getInstance(ULocale.US), EnglishTestData); 64 checkData(ListFormatter.getInstance(ULocale.JAPANESE), JapaneseTestData); 91 checkData(ListFormatter.getInstance(ULocale.ROOT), RootTestData); 93 checkData(ListFormatter.getInstance(new ULocale("xxx")), EnglishTestData); 107 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); 116 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); 124 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); 135 "getLocale", ULocale.ENGLISH, ListFormatter.getInstance(ULocale.ENGLISH).getLocale()) [all...] |
PluralRulesFactory.java | 11 import com.ibm.icu.util.ULocale; 25 public boolean hasOverride(ULocale locale) { 29 public PluralRules forLocale(ULocale locale, PluralType ordinal) { 33 public ULocale[] getAvailableULocales() { 37 public ULocale getFunctionalEquivalent(ULocale locale, boolean[] isAvailable) {
|
/external/icu/android_icu4j/cts-coverage/src/main/tests/android/icu/cts/coverage/rules/ |
ULocaleDefaultRule.java | 18 import android.icu.util.ULocale; 24 * Add this as a rule to a JUnit 4 class to support switching the {@link ULocale#getDefault()} for 43 ULocale previousDefault = ULocale.getDefault(); 45 ULocale.setDefault(ULocale.forLanguageTag(annotation.languageTag())); 48 ULocale.setDefault(previousDefault);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
TimeZoneNamesFactoryImpl.java | 12 import android.icu.util.ULocale; 21 * @see android.icu.text.TimeZoneNames.Factory#getTimeZoneNames(android.icu.util.ULocale) 24 public TimeZoneNames getTimeZoneNames(ULocale locale) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
TimeZoneNamesFactoryImpl.java | 11 import com.ibm.icu.util.ULocale; 19 * @see com.ibm.icu.text.TimeZoneNames.Factory#getTimeZoneNames(com.ibm.icu.util.ULocale) 22 public TimeZoneNames getTimeZoneNames(ULocale locale) {
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
CollationServiceTest.java | 24 import android.icu.util.ULocale; 36 Collator frcol = Collator.getInstance(ULocale.FRANCE); 37 Collator uscol = Collator.getInstance(ULocale.US); 40 Object key = Collator.registerInstance(frcol, ULocale.US); 41 Collator ncol = Collator.getInstance(ULocale.US); 47 Collator test = Collator.getInstance(ULocale.GERMANY); // CollatorFactory.handleCreate 48 if (!test.getLocale(ULocale.VALID_LOCALE).equals(ULocale.GERMAN)) { 49 errln("Collation from Germany is really " + test.getLocale(ULocale.VALID_LOCALE)); 55 ncol = Collator.getInstance(ULocale.US) [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
CollationServiceTest.java | 23 import com.ibm.icu.util.ULocale; 32 Collator frcol = Collator.getInstance(ULocale.FRANCE); 33 Collator uscol = Collator.getInstance(ULocale.US); 36 Object key = Collator.registerInstance(frcol, ULocale.US); 37 Collator ncol = Collator.getInstance(ULocale.US); 43 Collator test = Collator.getInstance(ULocale.GERMANY); // CollatorFactory.handleCreate 44 if (!test.getLocale(ULocale.VALID_LOCALE).equals(ULocale.GERMAN)) { 45 errln("Collation from Germany is really " + test.getLocale(ULocale.VALID_LOCALE)); 51 ncol = Collator.getInstance(ULocale.US) [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
CollatorServiceShim.java | 24 import com.ibm.icu.util.ULocale; 28 Collator getInstance(ULocale locale) { 34 ULocale[] actualLoc = new ULocale[1]; 51 Object registerInstance(Collator collator, ULocale locale) { 68 public Object handleCreate(ULocale loc, int kind, ICUService srvc) { 73 public String getDisplayName(String id, ULocale displayLocale) { 74 ULocale objectLocale = new ULocale(id); 102 ULocale[] getAvailableULocales() [all...] |