HomeSort by relevance Sort by last modified time
    Searched refs:Locale (Results 126 - 150 of 1279) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowConfiguration.java 3 import java.util.Locale;
27 public void setLocale( Locale l ) {
28 realConfiguration.locale = l;
  /frameworks/base/core/java/android/net/
NetworkConfig.java 20 import java.util.Locale;
67 name = fragments[0].trim().toLowerCase(Locale.ROOT);
  /frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
WifiP2pUpnpServiceRequest.java 21 import java.util.Locale;
78 sb.append(String.format(Locale.US, "%02x", WifiP2pUpnpServiceInfo.VERSION_1_0));
  /libcore/luni/src/main/java/java/net/
DefaultFileNameMap.java 19 import java.util.Locale;
40 return MimeUtils.guessMimeTypeFromExtension(ext.toLowerCase(Locale.US));
  /libcore/luni/src/main/java/java/util/
Currency.java 32 private static final HashMap<Locale, Currency> localesToCurrencies = new HashMap<Locale, Currency>();
38 String symbol = ICU.getCurrencySymbol(Locale.US.toString(), currencyCode);
62 * Returns the {@code Currency} instance for this {@code Locale}'s country.
64 * if the locale's country is not a supported ISO 3166 country.
66 public static Currency getInstance(Locale locale) {
68 Currency currency = localesToCurrencies.get(locale);
72 String country = locale.getCountry();
73 String variant = locale.getVariant()
    [all...]
  /libcore/luni/src/main/java/libcore/icu/
NativePluralRules.java 19 import java.util.Locale;
49 public static NativePluralRules forLocale(Locale locale) {
50 return new NativePluralRules(forLocaleImpl(locale.toString()));
  /libcore/luni/src/test/java/tests/api/java/util/
MissingResourceExceptionTest.java 20 import java.util.Locale;
55 + '_' + Locale.getDefault(), e.getClassName());
  /libcore/luni/src/test/java/tests/api/org/xml/sax/support/
NoSubclassParser.java 25 import java.util.Locale;
51 public void setLocale(Locale locale) {
  /packages/apps/Tag/src/com/android/apps/tag/record/
ParsedNdefRecord.java 27 import java.util.Locale;
40 public String getSnippet(Context context, Locale locale) {
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DecimalFormatSymbolsTest.java 30 import java.util.Locale;
53 * @tests java.text.DecimalFormatSymbols#DecimalFormatSymbols(java.util.Locale)
56 DecimalFormatSymbols dfs = new DecimalFormatSymbols(new Locale("en",
66 Locale[] locales = DecimalFormatSymbols.getAvailableLocales();
68 // must contain Locale.US
70 for (Locale locale : locales) {
71 if (locale.equals(Locale.US)) {
89 Locale[] locales = DecimalFormatSymbols.getAvailableLocales()
158 Locale locale = new Locale("not exist language", "not exist country"); local
178 Locale locale = new Locale("not exist language", "not exist country"); local
415 Locale locale = Locale.CANADA; local
498 Locale locale = Locale.CANADA; local
    [all...]
DateFormatTest.java 26 import java.util.Locale;
45 Locale[] locales = DateFormat.getAvailableLocales();
49 if (locales[i].equals(Locale.ENGLISH))
51 if (locales[i].equals(Locale.GERMAN))
78 DateFormat.DEFAULT, Locale.getDefault())));
96 DateFormat.SHORT, Locale.getDefault())));
105 DateFormat.MEDIUM, Locale.getDefault())));
114 DateFormat.LONG, Locale.getDefault())));
123 DateFormat.FULL, Locale.getDefault())));
139 * @tests java.text.DateFormat#getDateInstance(int, java.util.Locale)
    [all...]
  /external/apache-http/src/org/apache/http/auth/
AuthSchemeRegistry.java 36 import java.util.Locale;
84 registeredSchemes.put(name.toLowerCase(Locale.ENGLISH), factory);
97 registeredSchemes.remove(name.toLowerCase(Locale.ENGLISH));
117 AuthSchemeFactory factory = registeredSchemes.get(name.toLowerCase(Locale.ENGLISH));
  /external/apache-http/src/org/apache/http/cookie/
CookieSpecRegistry.java 37 import java.util.Locale;
79 registeredSpecs.put(name.toLowerCase(Locale.ENGLISH), factory);
91 registeredSpecs.remove(id.toLowerCase(Locale.ENGLISH));
111 CookieSpecFactory factory = registeredSpecs.get(name.toLowerCase(Locale.ENGLISH));
  /external/apache-xml/src/main/java/org/apache/xml/utils/res/
XResourceBundle.java 24 import java.util.Locale;
50 * Return a named ResourceBundle for a particular locale. This method mimics the behavior
54 * @param locale the locale to prefer when searching for the bundle
57 String className, Locale locale) throws MissingResourceException
60 String suffix = getResourceSuffix(locale);
66 // first try with the given locale
68 return (XResourceBundle) ResourceBundle.getBundle(resourceName, locale);
78 XSLT_RESOURCE, new Locale("en", "US"))
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/unicode/
measfmt.h 47 * locale.
48 * @param locale desired locale
53 static MeasureFormat* U_EXPORT2 createCurrencyFormat(const Locale& locale,
58 * locale.
  /external/chromium_org/third_party/icu/source/test/intltest/
aliastst.h 27 Locale defLocale;
dtfmttst.h 215 const Locale& loc,
220 const Locale& locale);
223 const Locale& loc);
226 const Locale &locale);
dtifmtts.h 59 void stress(const char** data, int32_t data_length, const Locale& loc,
  /external/icu4c/i18n/
dangical.h 42 * with the given locale.
44 * @param aLocale The given locale.
49 DangiCalendar(const Locale& aLocale, UErrorCode &success);
  /external/icu4c/i18n/unicode/
measfmt.h 51 * locale.
52 * @param locale desired locale
57 static MeasureFormat* U_EXPORT2 createCurrencyFormat(const Locale& locale,
62 * locale.
  /external/icu4c/test/intltest/
aliastst.h 27 Locale defLocale;
  /libcore/benchmarks/src/benchmarks/regression/
IcuBenchmark.java 21 import java.util.Locale;
  /libcore/luni/src/main/native/
IcuUtilities.h 25 #include "unicode/locid.h" // For Locale.
27 extern Locale getLocale(JNIEnv* env, jstring localeName);
  /libcore/luni/src/test/java/libcore/java/text/
DecimalFormatTest.java 26 import java.util.Locale;
40 DecimalFormat df = (DecimalFormat) DecimalFormat.getInstance(Locale.US);
50 NumberFormat numberFormat = NumberFormat.getNumberInstance(Locale.US);
81 Locale.US, "9,990,000,000,000,000,000,000,000,000,000,000");
83 Locale en_IN = new Locale("en", "IN");
91 Locale.US, "1,234,567,890,123,450");
93 Locale.US, "123,456,789,012,345,678,900");
95 Locale.US, "987,654,321,098,765,432,109,876,543,210");
98 Locale.US, "-1,234,567,890,123,450")
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
UserDictionaryCompatUtils.java 23 import java.util.Locale;
26 // UserDictionary.Words#addWord(Context, String, int, String, Locale) was introduced
29 Context.class, String.class, Integer.TYPE, String.class, Locale.class);
33 final String shortcut, final Locale locale) {
36 locale);
40 if (null == locale) {
43 final Locale currentLocale = context.getResources().getConfiguration().locale;
44 if (locale.equals(currentLocale))
    [all...]

Completed in 1226 milliseconds

1 2 3 4 56 7 8 91011>>