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

<<11121314151617181920>>

  /frameworks/base/core/java/android/util/
DebugUtils.java 21 import java.util.Locale;
82 pair[0].substring(0, 1).toUpperCase(Locale.ROOT) +
  /frameworks/opt/net/voip/src/java/android/net/rtp/
AudioGroup.java 22 import java.util.Locale;
150 String codecSpec = String.format(Locale.US, "%d %s %s", codec.type,
  /libcore/luni/src/main/java/libcore/net/url/
UrlUtils.java 19 import java.util.Locale;
115 return spec.substring(0, colon).toLowerCase(Locale.US);
  /libcore/luni/src/main/java/org/apache/harmony/security/fortress/
Engine.java 27 import java.util.Locale;
148 String name = this.serviceName + "." + algorithm.toUpperCase(Locale.US);
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
SecurityTest.java 30 import java.util.Locale;
227 testGetProviders(Locale.US);
228 testGetProviders(new Locale("tr", "TR"));
233 * independent of its locale.
235 private void testGetProviders(Locale locale) {
236 Locale defaultLocale = Locale.getDefault();
237 Locale.setDefault(locale);
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/util/
HelpUtils.java 28 import java.util.Locale;
116 builder.appendQueryParameter(PARAM_LANGUAGE_CODE, Locale.getDefault().toString());
  /packages/apps/Email/src/com/android/email/mail/store/imap/
ImapConstants.java 21 import java.util.Locale;
29 = String.format(Locale.US, "BODY.PEEK[]<0.%d>", Store.FETCH_BODY_SANE_SUGGESTED_SIZE);
ImapString.java 27 import java.util.Locale;
60 // handled by Locale.US
62 new SimpleDateFormat("dd-MMM-yyyy HH:mm:ss Z", Locale.US);
  /packages/apps/Settings/src/com/android/settings/
HelpUtils.java 29 import java.util.Locale;
123 builder.appendQueryParameter(PARAM_LANGUAGE_CODE, Locale.getDefault().toString());
  /packages/apps/Tag/src/com/android/apps/tag/record/
MimeRecord.java 33 import java.util.Locale;
66 public String getSnippet(Context context, Locale locale) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DownloadOverMeteredDialog.java 29 import java.util.Locale;
39 final public static String LOCALE_KEY = "locale";
58 final Locale locale = LocaleUtils.constructLocaleFromString(localeString); local
59 final String language = (null == locale ? "" : locale.getDisplayLanguage());
PrivateLog.java 26 import java.util.Locale;
47 new SimpleDateFormat("yyyy/MM/dd HH:mm:ss", Locale.US);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
MoreKeySpec.java 24 import java.util.Locale;
32 public MoreKeySpec(final String moreKeySpec, boolean needsToUpperCase, final Locale locale,
35 KeySpecParser.getLabel(moreKeySpec), needsToUpperCase, locale);
37 KeySpecParser.getCode(moreKeySpec, codesSet), needsToUpperCase, locale);
46 KeySpecParser.getOutputText(moreKeySpec), needsToUpperCase, locale);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
ReadOnlyBinaryDictionary.java 23 import java.util.Locale;
41 final boolean useFullEditDistance, final Locale locale, final String dictType) {
44 locale, dictType, false /* isUpdatable */);
  /external/chromium_org/third_party/icu/source/i18n/unicode/
msgfmt.h 268 * MessageFormat* msgFmt = new MessageFormat(t1, Locale("fr"), err);
309 * default locale.
320 * Constructs a new MessageFormat using the given pattern and locale.
322 * @param newLocale The locale to use for formatting dates and numbers.
328 const Locale& newLocale,
331 * Constructs a new MessageFormat using the given pattern and locale.
333 * @param newLocale The locale to use for formatting dates and numbers.
341 const Locale& newLocale,
379 * Sets the locale. This locale is used for fetching default number or dat
    [all...]
calendar.h 71 * Like other locale-sensitive classes, <code>Calendar</code> provides a
213 * who create locale resources for the field of first-day-of-week should be aware of
214 * this. For instance, in US locale, first-day-of-week is set to 1, i.e., SUNDAY.
277 * Creates a Calendar using the default timezone and locale. Clients are responsible
290 * Creates a Calendar using the given timezone and the default locale.
304 * Creates a Calendar using the given timezone and the default locale. The TimeZone
317 * Creates a Calendar using the default timezone and the given locale.
319 * @param aLocale The given locale.
326 static Calendar* U_EXPORT2 createInstance(const Locale& aLocale, UErrorCode& success);
329 * Creates a Calendar using the given timezone and given locale
    [all...]
  /external/icu4c/common/
listformatter.cpp 47 static ListFormatData* loadListFormatData(const Locale& locale, UErrorCode& errorCode);
67 const Locale& locale, UErrorCode& errorCode) {
71 UnicodeString key(locale.getName(), -1, US_INV);
86 result = loadListFormatData(locale, errorCode);
107 static ListFormatData* loadListFormatData(const Locale& locale, UErrorCode& errorCode) {
108 UResourceBundle* rb = ures_open(NULL, locale.getName(), &errorCode);
146 Locale locale; // The default locale local
    [all...]
  /frameworks/base/core/java/android/view/textservice/
SpellCheckerSubtype.java 31 import java.util.Locale;
35 * Subtype can describe locale (e.g. en_US, fr_FR...) used for settings.
51 * @param locale The locale supported by the subtype
54 public SpellCheckerSubtype(int nameId, String locale, String extraValue) {
56 mSubtypeLocale = locale != null ? locale : "";
79 * @return the locale of the subtype
152 public static Locale constructLocaleFromString(String localeStr) {
159 return new Locale(localeParams[0])
180 final Locale locale = constructLocaleFromString(mSubtypeLocale); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
ConfigurationTest.java 64 assertEquals(Locale.ANY, configuration.getLocale());
66 Locale language = Locale.create(new LanguageQualifier("nb"));
121 Locale locale = Locale.create(new LanguageQualifier("nb")); local
122 configuration.setLocale(locale, false /* skipSync */);
125 assertEquals(locale, copy.getLocale());
131 configuration.setLocale(Locale.ANY, false);
135 assertTrue(copy.getFullConfig().getLanguageQualifier().equals(locale.language))
    [all...]
  /cts/tests/tests/text/src/android/text/cts/
TextUtilsTest.java 51 import java.util.Locale;
2092 Locale locale = new Locale("ar"); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
OldSimpleDateFormatTest.java 27 import java.util.Locale;
39 format = new SimpleDateFormat("", Locale.ENGLISH);
40 pFormat = new SimpleDateFormat("", Locale.ENGLISH);
97 DateFormatSymbols symbols = new DateFormatSymbols(Locale.ENGLISH);
123 // java.util.Locale)
125 Locale.GERMAN);
129 new DateFormatSymbols(Locale.GERMAN)));
134 new SimpleDateFormat(null, Locale.GERMAN);
140 new SimpleDateFormat("eee", Locale.GERMAN);
150 SimpleDateFormat f2 = new SimpleDateFormat("y", new Locale("de", "CH"))
    [all...]
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DecimalFormatTest.java 32 import java.util.Locale;
55 DecimalFormat form = (DecimalFormat) DecimalFormat.getInstance(Locale.US);
69 DecimalFormat form = (DecimalFormat) DecimalFormat.getInstance(Locale.US);
76 form = (DecimalFormat) DecimalFormat.getInstance(Locale.US);
91 form = (DecimalFormat) DecimalFormat.getInstance(Locale.US);
110 form = (DecimalFormat) DecimalFormat.getInstance(Locale.US);
119 form = (DecimalFormat) DecimalFormat.getInstance(Locale.US);
127 form = (DecimalFormat) DecimalFormat.getInstance(Locale.US);
146 form = (DecimalFormat) DecimalFormat.getInstance(Locale.US);
158 form = (DecimalFormat) DecimalFormat.getInstance(Locale.US)
1400 Locale locale = Locale.CANADA; local
    [all...]
  /external/icu4c/test/intltest/
numrgts.cpp 181 NumberFormatRegressionTest::failure(UErrorCode status, const UnicodeString& msg, const Locale& l, UBool possibleDataError)
402 NumberFormat *nfcommon = NumberFormat::createCurrencyInstance(Locale::getUS(), status);
403 if (failure(status, "NumberFormat::createCurrencyInstance", Locale::getUS(), TRUE)){
414 failure(status, "nfcommon->parse", Locale::getUS());
433 failure(status, "new Decimalformat", Locale::getUS());
438 failure(status, "format->parse", Locale::getUS());
456 failure(status, "new DecimalFormatSymbols", Locale::getUS());
477 if (failure(status, "NumberFormat::createInstance", Locale::getUS(), TRUE)) {
500 NumberFormat *nf1 = NumberFormat::createInstance(Locale::getFrance(), status);
509 failure(status, "NumberFormat::createInstance", Locale::getFrance())
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/
plurfmt.cpp 37 init(NULL, Locale::getDefault(), status);
40 PluralFormat::PluralFormat(const Locale& loc, UErrorCode& status) {
45 init(&rules, Locale::getDefault(), status);
48 PluralFormat::PluralFormat(const Locale& loc, const PluralRules& rules, UErrorCode& status) {
53 init(NULL, Locale::getDefault(), status);
57 PluralFormat::PluralFormat(const Locale& loc, const UnicodeString& pat, UErrorCode& status) {
63 init(&rules, Locale::getDefault(), status);
67 PluralFormat::PluralFormat(const Locale& loc, const PluralRules& rules, const UnicodeString& pat, UErrorCode& status) {
74 locale = other.locale;
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
tufmtts.cpp 42 Locale loc(locales[locIndex]);
49 std::cout << "locale: " << locales[locIndex] << "\n";
160 TimeUnitFormat* tmf_en = new TimeUnitFormat(Locale("en"), status);
162 TimeUnitFormat tmf_fr(Locale("fr"), status);
177 tmf_en->setLocale(Locale("fr"), status);
181 Locale("fr"), status);
189 TimeUnitFormat* en_long = new TimeUnitFormat(Locale("en"), TimeUnitFormat::kFull, status);
193 TimeUnitFormat* en_short = new TimeUnitFormat(Locale("en"), TimeUnitFormat::kAbbreviate, status);
198 format->setLocale(Locale("zh"), status);
208 * to long unit names for a locale where the locale data does not
    [all...]

Completed in 1107 milliseconds

<<11121314151617181920>>