HomeSort by relevance Sort by last modified time
    Searched refs:Locale (Results 226 - 250 of 926) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DictionaryInfoUtils.java 33 import java.util.Locale;
49 private static final String LOCALE_COLUMN = "locale";
57 public final Locale mLocale;
61 public DictionaryInfo(final String id, final Locale locale, final String description,
64 mLocale = locale;
117 sb.append(String.format((Locale)null, "%%%1$0" + MAX_HEX_DIGITS_FOR_CODEPOINT + "x",
160 * Helper method to the list of cache directories, one for each distinct locale.
170 * {@link #getMainDictId(Locale)} and {@link #isMainWordListId(String)}.
176 // An id is supposed to be in format category:locale, so splitting on the separato
296 final Locale locale = LocaleUtils.constructLocaleFromString(header.getLocaleString()); local
328 final Locale locale = LocaleUtils.constructLocaleFromString(localeString); local
345 final Locale locale = LocaleUtils.constructLocaleFromString(localeString); local
    [all...]
SubtypeLocale.java 31 import java.util.Locale;
53 // Exceptional locale to subtype name resource id map.
56 // Exceptional locale to subtype name with layout resource id map.
150 private static Locale getDisplayLocaleOfSubtypeLocale(final String localeString) {
152 return sResources.getConfiguration().locale;
158 final Locale displayLocale = sResources.getConfiguration().locale;
163 final Locale displayLocale = getDisplayLocaleOfSubtypeLocale(localeString);
168 final Locale displayLocale) {
180 // No language subtype should be displayed in system locale
183 final Locale locale = LocaleUtils.constructLocaleFromString(localeString); local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
TextToSpeechActivity.java 28 import java.util.Locale;
93 int result = mTts.setLanguage(Locale.US);
95 // int result mTts.setLanguage(Locale.FRANCE);
102 // For example, the language may be available for the locale,
  /external/apache-http/src/org/apache/http/auth/
NTUserPrincipal.java 34 import java.util.Locale;
59 this.domain = domain.toUpperCase(Locale.ENGLISH);
  /external/apache-http/src/org/apache/http/cookie/
CookieOrigin.java 33 import java.util.Locale;
67 this.host = host.toLowerCase(Locale.ENGLISH);
  /external/apache-http/src/org/apache/http/impl/auth/
RFC2617Scheme.java 34 import java.util.Locale;
107 return this.params.get(name.toLowerCase(Locale.ENGLISH));
  /external/apache-http/src/org/apache/http/impl/cookie/
NetscapeDomainHandler.java 33 import java.util.Locale;
80 final String ucDomain = domain.toUpperCase(Locale.ENGLISH);
  /external/icu4c/i18n/unicode/
datefmt.h 51 * DateFormat helps you to format and parse dates for any locale. Your code can
52 * be completely independent of the locale conventions for months, days of the
55 * To format a date for the current Locale, use one of the static factory
91 * To format a date for a different Locale, specify it in the call to
96 * DateFormat::createDateInstance( DateFormat::SHORT, Locale::getFrance());
112 * locale, but generally:
527 * locale.
530 * SHORT for "h:mm a" in the US locale. Relative
532 * @param aLocale The given locale.
537 const Locale& aLocale = Locale::getDefault())
    [all...]
stsearch.h 121 * StringSearch iter(pattern, target, Locale::getUS(), NULL, status);
145 * Creating a <tt>StringSearch</tt> instance using the argument locale
151 * @param locale A locale which defines the language-sensitive
166 const Locale &locale,
198 * Creating a <tt>StringSearch</tt> instance using the argument locale
208 * @param locale A locale which defines the language-sensitive
223 const Locale &locale,
    [all...]
  /external/icu4c/test/intltest/
dtfmtrtts.h 34 void test(const Locale& loc);
35 void test(DateFormat *fmt, const Locale &origLocale, UBool timeOnly = FALSE );
icusvtst.h 45 void confirmEqual(const UnicodeString& message, const Locale* lhs, const Locale* rhs);
restsnew.cpp 89 Locale *locale; member in struct:__anon8901
153 Don't use more than one of these at a time because of the Locale names
159 if (param[5].locale == NULL) {
160 param[0].locale = new Locale("root");
161 param[1].locale = new Locale("te");
162 param[2].locale = new Locale("te", "IN")
312 Locale *locale=new Locale("te_IN"); local
446 Locale *locale=new Locale("te_IN"); local
    [all...]
sdtfmtts.cpp 29 Locale saveLocale;
30 Locale::setDefault(Locale::getEnglish(), status);
32 errln("ERROR: Could not set default locale, test may not give correct results");
35 Locale::setDefault(saveLocale, status);
71 SimpleDateFormat pat_fr(pattern, Locale::getFrench(), status);
77 DateFormatSymbols *symbols = new DateFormatSymbols(Locale::getFrench(), status);
103 SimpleDateFormat ovr2(pattern, override, Locale::getGerman(), status);
105 errln("ERROR: Could not create SimpleDateFormat (pattern, override, locale) - %s", u_errorName(status));
110 SimpleDateFormat ovr3(pattern, override_bogus, Locale::getGerman(), status)
    [all...]
  /external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/
PhoneNumberOfflineGeocoder.java 27 import java.util.Locale;
132 private String getCountryNameForNumber(PhoneNumber number, Locale language) {
140 private String getRegionDisplayName(String regionCode, Locale language) {
143 ? "" : new Locale("", regionCode).getDisplayCountry(language);
160 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode) {
172 * As per {@link #getDescriptionForValidNumber(PhoneNumber, Locale)} but also considers the
192 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode,
208 * As per {@link #getDescriptionForValidNumber(PhoneNumber, Locale)} but explicitly checks
216 public String getDescriptionForNumber(PhoneNumber number, Locale languageCode) {
227 * As per {@link #getDescriptionForValidNumber(PhoneNumber, Locale, String)} bu
    [all...]
  /external/mockito/src/org/mockito/internal/util/reflection/
BeanPropertySetter.java 10 import java.util.Locale;
87 .append(fieldName.substring(0, 1).toUpperCase(Locale.ENGLISH))
  /frameworks/base/tests/TtsTests/src/com/android/speech/tts/
TextToSpeechTests.java 30 import java.util.Locale;
72 mTts.setLanguage(new Locale("eng", "USA", "variant"));
87 mTts.setLanguage(new Locale("eng", "USA", "variant"));
107 mTts.setLanguage(Locale.FRANCE);
127 Locale returnVal = mTts.getLanguage();
143 Locale returnVal = mTts.getLanguage();
145 // Note: This is not the same as Locale.US . Well tough luck for
148 assertEquals(new Locale("eng", "USA", ""), returnVal);
159 assertEquals(TextToSpeech.LANG_COUNTRY_AVAILABLE, mTts.isLanguageAvailable(Locale.US));
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
CompatTextView.java 28 import java.util.Locale;
62 * Transforms source text into an ALL CAPS string, locale-aware.
66 private final Locale mLocale;
69 mLocale = context.getResources().getConfiguration().locale;
  /libcore/luni/src/main/java/java/text/
DateFormat.java 24 import java.util.Locale;
32 * <p>This class provides factories for obtaining instances configured for a specific locale.
333 * <p>Note that Android does not support user-supplied locale service providers.
335 public static Locale[] getAvailableLocales() {
350 * the DEFAULT style for the default locale.
352 * @return the {@code DateFormat} instance for the default style and locale.
360 * the specified style for the user's default locale.
361 * See "<a href="../util/Locale.html#default_locale">Be wary of the default locale</a>".
365 * locale
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
ASN1GeneralizedTime.java 28 import java.util.Locale;
87 SimpleDateFormat sdf = new SimpleDateFormat(GEN_PATTERN, Locale.US);
ASN1UTCTime.java 28 import java.util.Locale;
98 SimpleDateFormat sdf = new SimpleDateFormat(UTC_PATTERN, Locale.US);
  /libcore/luni/src/main/native/
IcuUtilities.cpp 31 Locale getLocale(JNIEnv* env, jstring localeName) {
32 return Locale::createFromName(ScopedUtfChars(env, localeName).c_str());
libcore_icu_NativePluralRules.cpp 51 Locale locale = Locale::createFromName(localeName.c_str()); local
53 PluralRules* result = PluralRules::forLocale(locale, status);
  /libcore/luni/src/test/java/tests/api/org/xml/sax/support/
MockParser.java 20 import java.util.Locale;
64 public void setLocale(Locale locale) throws SAXException {
65 logger.add("setLocale", locale);
  /packages/apps/Contacts/src/com/android/contacts/util/
DateUtils.java 29 import java.util.Locale;
49 new SimpleDateFormat("yyyy-MM-dd'T'HH:mm'Z'", Locale.US),
50 new SimpleDateFormat("yyyyMMdd", Locale.US),
51 new SimpleDateFormat("yyyyMMdd'T'HHmmssSSS'Z'", Locale.US),
52 new SimpleDateFormat("yyyyMMdd'T'HHmmss'Z'", Locale.US),
53 new SimpleDateFormat("yyyyMMdd'T'HHmm'Z'", Locale.US),
106 final Calendar calendar = Calendar.getInstance(UTC_TIMEZONE, Locale.US);
115 final Calendar calendar = Calendar.getInstance(UTC_TIMEZONE, Locale.US);
209 // Special case handling for Spanish locale by checking for "de"
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
HelpUtils.java 27 import java.util.Locale;
81 builder.appendQueryParameter(PARAM_LANGUAGE_CODE, Locale.getDefault().toString());

Completed in 1285 milliseconds

1 2 3 4 5 6 7 8 91011>>