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

1 2 3 4

  /external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/
ICULocaleServiceProvider.java 137 for (ULocale uloc : icuLocales) {
138 String language = uloc.getLanguage();
142 addULocale(uloc, localeSet);
144 if (uloc.getScript().length() > 0 && uloc.getCountry().length() > 0) {
149 locBld.setLocale(uloc);
185 private static void addULocale(ULocale uloc, Set<Locale> locales) {
188 if (uloc.getLanguage().equals("nn") && uloc.getScript().length() == 0) {
189 Locale locNN = new Locale(uloc.getLanguage(), uloc.getCountry(), uloc.getVariant())
    [all...]
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
Currency.java 277 * @param uloc the ULocale for the symbol
281 public String getSymbol(ULocale uloc) {
282 return currency.getSymbol(uloc.toLocale());
ULocale.java 3629 ULocale uloc = null; local
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
CurrencyPluralInfo.java 259 private void initialize(ULocale uloc) {
260 ulocale = uloc;
261 pluralRules = PluralRules.forLocale(uloc);
262 setupCurrencyPluralPattern(uloc);
265 private void setupCurrencyPluralPattern(ULocale uloc) {
268 String numberStylePattern = NumberFormat.getPattern(uloc, NumberFormat.NUMBERSTYLE);
276 Map<String, String> map = CurrencyData.provider.getInstance(uloc, true).getUnitPatterns();
NumberFormatServiceShim.java 102 ULocale uloc = actualLoc[0]; local
103 fmt.setLocale(uloc, uloc); // services make no distinction between actual & valid
BreakIteratorFactory.java 163 ULocale uloc = ULocale.forLocale(rb.getLocale()); local
164 iter.setLocale(uloc, uloc);
CollatorServiceShim.java 142 protected Object handleCreate(ULocale uloc, int kind, ICUService srvc) {
143 return makeInstance(uloc);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
CurrencyPluralInfo.java 276 private void initialize(ULocale uloc) {
277 ulocale = uloc;
278 pluralRules = PluralRules.forLocale(uloc);
279 setupCurrencyPluralPattern(uloc);
282 private void setupCurrencyPluralPattern(ULocale uloc) {
285 String numberStylePattern = NumberFormat.getPattern(uloc, NumberFormat.NUMBERSTYLE);
293 Map<String, String> map = CurrencyData.provider.getInstance(uloc, true).getUnitPatterns();
NumberFormatServiceShim.java 101 ULocale uloc = actualLoc[0]; local
102 fmt.setLocale(uloc, uloc); // services make no distinction between actual & valid
BreakIteratorFactory.java 162 ULocale uloc = ULocale.forLocale(rb.getLocale()); local
163 iter.setLocale(uloc, uloc);
  /external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
TestUtil.java 35 ULocale uloc = ULocale.forLocale(locale); local
36 if (uloc.getScript().length() == 0) {
45 locBld.setLocale(uloc);
CollatorTest.java 146 ULocale uloc = ULocale.forLocale(loc); local
147 String nsType = uloc.getKeywordValue("collation");
DateFormatSymbolsTest.java 198 ULocale uloc = ULocale.forLocale(loc); local
199 String calType = uloc.getKeywordValue("calendar");
206 com.ibm.icu.text.DateFormatSymbols icuDfs = com.ibm.icu.text.DateFormatSymbols.getInstance(uloc);
DecimalFormatSymbolsTest.java 173 ULocale uloc = ULocale.forLocale(loc); local
174 String nsType = uloc.getKeywordValue("numbers");
181 com.ibm.icu.text.DecimalFormatSymbols icuDecfs = com.ibm.icu.text.DecimalFormatSymbols.getInstance(uloc);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
FormatHandler.java 717 private static DateFormatSymbols getCannedDateFormatSymbols(ULocale uloc)
719 DateFormatSymbols dfs =new DateFormatSymbols(GregorianCalendar.class, uloc);
720 String key = uloc.toString();
728 private static SimpleDateFormat getCannedSimpleDateFormat(String pattern, ULocale uloc)
730 DateFormatSymbols dfs = getCannedDateFormatSymbols(uloc);
734 SimpleDateFormat cannedSDF = new SimpleDateFormat(pattern, dfs, uloc);
999 private static DecimalFormatSymbols getCannedDecimalFormatSymbols(ULocale uloc)
1001 DecimalFormatSymbols dfs = new DecimalFormatSymbols(uloc);
1003 setSymbols(dfs, (String[]) cannedDecimalFormatSymbols.get(uloc.toString()));
1008 private static DecimalFormat getCannedDecimalFormat(String pattern, ULocale uloc)
1078 ULocale uloc = ULocale.forLocale(Locale.US); local
1132 ULocale uloc = ULocale.forLocale(locales[i]); local
1702 ULocale uloc = ULocale.forLocale(locales[i]); local
1846 ULocale uloc = ULocale.forLocale(locales[i]); local
1955 ULocale uloc = ULocale.forLocale(locales[i]); local
2119 ULocale uloc = ULocale.forLocale(locales[i]); local
2186 ULocale uloc = ULocale.forLocale(locales[i]); local
2223 ULocale uloc = ULocale.forLocale(locales[i]); local
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
FormatHandler.java 714 private static DateFormatSymbols getCannedDateFormatSymbols(ULocale uloc)
716 DateFormatSymbols dfs =new DateFormatSymbols(GregorianCalendar.class, uloc);
717 String key = uloc.toString();
725 private static SimpleDateFormat getCannedSimpleDateFormat(String pattern, ULocale uloc)
727 DateFormatSymbols dfs = getCannedDateFormatSymbols(uloc);
731 SimpleDateFormat cannedSDF = new SimpleDateFormat(pattern, dfs, uloc);
996 private static DecimalFormatSymbols getCannedDecimalFormatSymbols(ULocale uloc)
998 DecimalFormatSymbols dfs = new DecimalFormatSymbols(uloc);
1000 setSymbols(dfs, (String[]) cannedDecimalFormatSymbols.get(uloc.toString()));
1005 private static DecimalFormat getCannedDecimalFormat(String pattern, ULocale uloc)
1075 ULocale uloc = ULocale.forLocale(Locale.US); local
1129 ULocale uloc = ULocale.forLocale(locales[i]); local
1699 ULocale uloc = ULocale.forLocale(locales[i]); local
1843 ULocale uloc = ULocale.forLocale(locales[i]); local
1952 ULocale uloc = ULocale.forLocale(locales[i]); local
2116 ULocale uloc = ULocale.forLocale(locales[i]); local
2183 ULocale uloc = ULocale.forLocale(locales[i]); local
2220 ULocale uloc = ULocale.forLocale(locales[i]); local
    [all...]
  /external/libvpx/libvpx/examples/
vp9cx_set_ref.c 105 int uloc[4], int vloc[4]) {
141 uloc[0] = uloc[1] = uloc[2] = uloc[3] = -1;
153 uloc[0] = i + k;
154 uloc[1] = j + l;
155 uloc[2] = *(img1->planes[VPX_PLANE_U] +
157 uloc[3] = *(img2->planes[VPX_PLANE_U] +
  /external/icu/android_icu4j/src/main/java/android/icu/util/
GlobalizationPreferences.java 797 ULocale uloc = inputLocales.get(i); local
799 String language = uloc.getLanguage();
800 String script = uloc.getScript();
801 String country = uloc.getCountry();
802 String variant = uloc.getVariant();
818 result.add(j, uloc);
823 result.add(j, uloc);
828 result.add(j, uloc);
836 result.add(j, uloc);
842 result.add(j, uloc);
866 ULocale uloc = result.get(index); local
888 ULocale uloc = result.get(index); local
    [all...]
UResourceBundle.java 184 ULocale uloc = ULocale.getDefault(); local
185 return getBundleInstance(baseName, uloc.getBaseName(), ICUResourceBundle.ICU_DATA_CLASS_LOADER,
203 ULocale uloc = locale == null ? ULocale.getDefault() : ULocale.forLocale(locale); local
205 return getBundleInstance(baseName, uloc.getBaseName(),
244 ULocale uloc = locale == null ? ULocale.getDefault() : ULocale.forLocale(locale); local
245 return getBundleInstance(baseName, uloc.getBaseName(), loader, false);
    [all...]
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/
GlobalizationPreferences.java 828 ULocale uloc = inputLocales.get(i); local
830 String language = uloc.getLanguage();
831 String script = uloc.getScript();
832 String country = uloc.getCountry();
833 String variant = uloc.getVariant();
849 result.add(j, uloc);
854 result.add(j, uloc);
897 ULocale uloc = result.get(index); local
919 ULocale uloc = result.get(index); local
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
ULocaleTest.java 180 ULocale uloc = new ULocale("en_Latn_US"); local
181 uloc = uloc.setKeywordValue("Foo", "FooValue");
182 if (!"en_Latn_US@foo=FooValue".equals(uloc.getName())) {
183 errln("failed to add foo keyword, got: " + uloc.getName());
185 uloc = uloc.setKeywordValue("Bar", "BarValue");
186 if (!"en_Latn_US@bar=BarValue;foo=FooValue".equals(uloc.getName())) {
187 errln("failed to add bar keyword, got: " + uloc.getName());
189 uloc = uloc.setKeywordValue("BAR", "NewBarValue")
706 ULocale uloc; local
827 ULocale uloc = new ULocale(locale); local
4373 ULocale uloc = ULocale.forLocale((Locale) DATA[i][0]); local
4383 ULocale uloc = ULocale.forLocale((Locale) DATA7[i][0]); local
4403 ULocale uloc = ULocale.forLocale(loc); local
4416 ULocale uloc = ULocale.forLocale((Locale) DATA6[i][0]); local
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
ULocaleTest.java 177 ULocale uloc = new ULocale("en_Latn_US"); local
178 uloc = uloc.setKeywordValue("Foo", "FooValue");
179 if (!"en_Latn_US@foo=FooValue".equals(uloc.getName())) {
180 errln("failed to add foo keyword, got: " + uloc.getName());
182 uloc = uloc.setKeywordValue("Bar", "BarValue");
183 if (!"en_Latn_US@bar=BarValue;foo=FooValue".equals(uloc.getName())) {
184 errln("failed to add bar keyword, got: " + uloc.getName());
186 uloc = uloc.setKeywordValue("BAR", "NewBarValue")
703 ULocale uloc; local
824 ULocale uloc = new ULocale(locale); local
4370 ULocale uloc = ULocale.forLocale((Locale) DATA[i][0]); local
4380 ULocale uloc = ULocale.forLocale((Locale) DATA7[i][0]); local
4400 ULocale uloc = ULocale.forLocale(loc); local
4413 ULocale uloc = ULocale.forLocale((Locale) DATA6[i][0]); local
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
UResourceBundle.java 189 ULocale uloc = ULocale.getDefault(); local
190 return getBundleInstance(baseName, uloc.getBaseName(), ICUResourceBundle.ICU_DATA_CLASS_LOADER,
209 ULocale uloc = locale == null ? ULocale.getDefault() : ULocale.forLocale(locale); local
211 return getBundleInstance(baseName, uloc.getBaseName(),
252 ULocale uloc = locale == null ? ULocale.getDefault() : ULocale.forLocale(locale); local
253 return getBundleInstance(baseName, uloc.getBaseName(), loader, false);
    [all...]
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
CollatorServiceShim.java 141 protected Object handleCreate(ULocale uloc, int kind, ICUService srvc) {
142 return makeInstance(uloc);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
BreakIteratorTest.java 452 ULocale uloc = null; local
463 brk = BreakIterator.getCharacterInstance(uloc);
473 brk = BreakIterator.getLineInstance(uloc);
483 brk = BreakIterator.getSentenceInstance(uloc);
493 brk = BreakIterator.getTitleInstance(uloc);
503 brk = BreakIterator.getWordInstance(uloc);

Completed in 805 milliseconds

1 2 3 4