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

<<21222324252627282930>>

  /packages/apps/Mms/src/com/android/mms/transaction/
HttpUtils.java 25 import java.util.Locale;
61 // Once it becomes possible for the user to change the locale
67 HDR_VALUE_ACCEPT_LANGUAGE = getCurrentAcceptLanguage(Locale.getDefault());
321 * Return the Accept-Language header. Use the current locale plus
322 * US if we are in a different locale than US.
326 public static String getCurrentAcceptLanguage(Locale locale) {
328 addLocaleToHttpAcceptLanguage(buffer, locale);
330 if (!Locale.US.equals(locale)) {
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
BinaryDictionaryDecayingTests.java 30 import java.util.Locale;
100 Locale.getDefault(), TEST_LOCALE, true /* isUpdatable */);
147 Locale.getDefault(), TEST_LOCALE, true /* isUpdatable */);
207 Locale.getDefault(), TEST_LOCALE, true /* isUpdatable */);
259 Locale.getDefault(), TEST_LOCALE, true /* isUpdatable */);
  /external/icu4c/test/intltest/
tsmthred.cpp 648 void formatErrorMessage(UErrorCode &realStatus, const UnicodeString& pattern, const Locale& theLocale,
649 UErrorCode inStatus0, /* statusString 1 */ const Locale &inCountry2, double currency3, // these numbers are the message arguments.
702 // the locale to use
740 Locale loc = Locale::getEnglish();
792 LocalPointer<NumberFormat> formatter(NumberFormat::createInstance(Locale::getEnglish(),status));
798 percentFormatter.adoptInstead(NumberFormat::createPercentInstance(Locale::getFrench(),status));
835 Locale messageLocale;
836 Locale countryToCheck;
850 messageLocale= Locale("en","US")
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/templates/
ElemNumber.java 26 import java.util.Locale;
1023 * Get the locale we should be using.
1028 * @return The locale to use. May be specified by "lang" attribute,
1029 * but if not, use default locale on the system.
1033 Locale getLocale(TransformerImpl transformer, int contextNode)
1037 Locale locale = null; local
1050 locale = new Locale(langValue.toUpperCase(), "");
1087 Locale locale = (Locale)getLocale(transformer, contextNode).clone(); local
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
dtfmrgts.cpp 124 DateFormat::SHORT, Locale::getUS());
226 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("yyMMdd"), Locale::getUS(), status);
429 Locale saveLocale = Locale::getDefault();
434 Locale *curLocale = new Locale("de","DE");
435 Locale::setDefault(*curLocale, status);
436 failure(status, "Locale::setDefault");
480 logln("*** FOR LOCALE de OR de_DE IS MISSING ***");
484 Locale::setDefault(saveLocale, status)
    [all...]
tsmthred.cpp 497 void formatErrorMessage(UErrorCode &realStatus, const UnicodeString& pattern, const Locale& theLocale,
498 UErrorCode inStatus0, /* statusString 1 */ const Locale &inCountry2, double currency3, // these numbers are the message arguments.
551 // the locale to use
589 Locale loc = Locale::getEnglish();
641 LocalPointer<NumberFormat> formatter(NumberFormat::createInstance(Locale::getEnglish(),status));
647 percentFormatter.adoptInstead(NumberFormat::createPercentInstance(Locale::getFrench(),status));
684 Locale messageLocale;
685 Locale countryToCheck;
699 messageLocale= Locale("en","US")
    [all...]
dcfmapts.cpp 30 Locale saveLocale;
31 Locale::setDefault(Locale::getEnglish(), status);
33 errln((UnicodeString)"ERROR: Could not set default locale, test may not give correct results");
36 Locale::setDefault(saveLocale, status);
88 DecimalFormatSymbols *symbols = new DecimalFormatSymbols(Locale::getFrench(), status);
394 cpi->setLocale(Locale::getCanada(), status);
  /packages/apps/Email/src/com/android/email/mail/store/
ImapFolder.java 62 import java.util.Locale;
193 connection.executeSimpleCommand(String.format(Locale.US,
239 connection.executeSimpleCommand(String.format(Locale.US,
264 String.format(Locale.US, ImapConstants.UID_COPY + " %s \"%s\"",
353 String.format(Locale.US,
512 searchForUids(String.format(Locale.US, "%d:%d NOT DELETED", start, end)), listener);
521 final SimpleDateFormat formatter = new SimpleDateFormat("dd-LLL-yyyy", Locale.US);
674 mConnection.sendCommand(String.format(Locale.US,
    [all...]
  /external/chromium/chrome/browser/autofill/
autofill_country.cc 39 // The maximum capacity needed to store a locale up to the country code.
322 for (const char* const* country_pointer = icu::Locale::getISOCountries();
357 // country code or country name localized to |locale|.
359 const std::string& locale);
367 // localized to |locale| to their corresponding country codes.
368 void AddLocalizedNamesForLocale(const std::string& locale);
371 // |locale| and returns the corresponding country code stored in
374 const std::string& locale);
377 // given |locale|.
378 icu::Collator* GetCollatorForLocale(const std::string& locale);
    [all...]
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
SimpleDateFormatTest.java 28 import java.util.Locale;
35 static SimpleDateFormat format = new SimpleDateFormat("", Locale.ENGLISH);
37 static SimpleDateFormat pFormat = new SimpleDateFormat("", Locale.ENGLISH);
114 DateFormat.SHORT, DateFormat.SHORT, Locale.getDefault())));
129 assertTrue("Wrong locale", f2.equals(new SimpleDateFormat("yyyy",
130 Locale.getDefault())));
161 DateFormatSymbols symbols = new DateFormatSymbols(Locale.ENGLISH);
173 * java.util.Locale)
177 // java.util.Locale)
179 Locale.GERMAN)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/tests/
LocaleMacTest.cpp 74 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
78 return locale->formatDateTime(date);
83 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
87 return locale->formatDateTime(date, (useShortFormat ? Locale::FormatTypeShort : Locale::FormatTypeMedium));
92 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
93 return locale->formatDateTime(dateComponents(year, month, day));
98 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
99 return locale->formatDateTime(timeComponents(hour, minute, second, millisecond), (useShortFormat ? Locale::Forma (…)
104 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
110 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
116 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
122 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
129 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
135 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
141 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
147 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
153 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
159 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
165 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
171 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
358 OwnPtr<Locale> locale = Locale::create(localeString); local
    [all...]
  /frameworks/base/core/java/android/view/inputmethod/
InputMethodSubtype.java 32 import java.util.Locale;
36 * (IME). Subtype can describe locale (e.g. en_US, fr_FR...) and mode (e.g. voice, keyboard...),
139 * the %s part will be replaced with the locale's display name by
152 * Arrays.hashCode(new Object[] {locale, mode, extraValue,
162 * @param subtypeLocale is the locale supported by this subtype.
197 private static InputMethodSubtypeBuilder getBuilder(int nameId, int iconId, String locale,
203 builder.mSubtypeLocale = locale;
220 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue,
222 this(nameId, iconId, locale, mode, extraValue, isAuxiliary, false);
232 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue
394 final Locale locale = constructLocaleFromString(mSubtypeLocale); local
    [all...]
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
KanaConverter.java 23 import java.util.Locale;
568 String convZenEijiLower = convZenEiji.toLowerCase(Locale.JAPAN);
596 String convZenEijiLower = convZenEiji.toLowerCase(Locale.JAPAN);
600 list.add(new WnnWord(convZenEiji.toUpperCase(Locale.JAPAN), inputHiragana, mPosSymbol));
635 tmp = moji.substring(0, 1).toUpperCase(Locale.JAPAN)
636 + moji.substring(1).toLowerCase(Locale.JAPAN);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestResultsReport.java 33 import java.util.Locale;
63 new SimpleDateFormat("EEE MMM dd HH:mm:ss z yyyy", Locale.ENGLISH);
  /cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DeviceInfoActivity.java 29 import java.util.Locale;
175 if (s.length() == 0) { // default locale
176 localeList.append(new Locale("en", "US").toString());
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
CSharp3Target.java 43 import java.util.Locale;
118 public String toString(Object obj, String formatName, Locale locale)
  /external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
FormatterTest.java 21 import java.util.Locale;
111 Locale.US);
117 r.setMessage("msg without locale");
118 assertEquals("msg without locale", f.formatMessage(r));
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
GeneralizedTimeTest.java 26 import java.util.Locale;
51 SimpleDateFormat sdf = new SimpleDateFormat("dd MMM yyyy HH:mm:ss", Locale.US);
  /external/apache-http/src/org/apache/http/impl/cookie/
BasicClientCookie.java 36 import java.util.Locale;
201 cookieDomain = domain.toLowerCase(Locale.ENGLISH);
BrowserCompatSpec.java 36 import java.util.Locale;
113 int i1 = headervalue.toLowerCase(Locale.ENGLISH).indexOf("expires=");
DateUtils.java 40 import java.util.Locale;
251 format = new SimpleDateFormat(pattern, Locale.US);
  /external/apache-http/src/org/apache/http/message/
HeaderGroup.java 36 import java.util.Locale;
159 return new BasicHeader(name.toLowerCase(Locale.ENGLISH), valueBuffer.toString());
  /external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DateTimeFieldElement.cpp 42 return Locale::defaultLocale().queryString(blink::WebLocalizedString::AXDateTimeFieldEmptyValueText);
184 Locale& DateTimeFieldElement::localeForOwner() const
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
FontCacheSkia.cpp 54 icu::Locale locale = icu::Locale::getDefault(); local
56 FontCache::getFontFamilyForCharacter(c, locale.getLanguage(), &family);
  /external/chromium_org/third_party/icu/source/i18n/
buddhcal.cpp 33 BuddhistCalendar::BuddhistCalendar(const Locale& aLocale, UErrorCode& success)
191 BuddhistCalendar calendar(Locale("@calendar=buddhist"),status);

Completed in 1437 milliseconds

<<21222324252627282930>>