/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
NumberFormatTest.java | 39 .getInstance(Locale.US); 123 Locale.setDefault(Locale.US); 150 Locale usLocale = Locale.US;
|
/libcore/luni/src/test/java/libcore/java/text/ |
DecimalFormatSymbolsTest.java | 64 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US); 76 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US); 178 DFSForTests dfs = new DFSForTests(Locale.US);
|
SimpleDateFormatTest.java | 51 Locale.setDefault(Locale.US); 200 SimpleDateFormat format = new SimpleDateFormat("EEE MMM dd HH:mm:ss yyyy", Locale.US); 264 // ...but not in the US. 265 assertCannotParse(Locale.US, fmt, date); 278 // UK is one that does, the US is one that does not. 280 Locale cetAmbiguousLocale = Locale.US; 349 SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm zzzz", Locale.US); 357 SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm zzzz", Locale.US); 366 SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm zzzz", Locale.US); 374 SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm zzzz", Locale.US); [all...] |
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
Backend.java | 75 nativeSetSourceInfo(context.getString(R.string.app_name).toLowerCase(Locale.US), 76 getApplicationVersion(context).toLowerCase(Locale.US), 77 BackendConstants.WPRINT_APPLICATION_ID.toLowerCase(Locale.US));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
FlagManagerTest.java | 41 Image us = manager.getFlag("US"); local 47 assertSame(us, manager.getFlag("en", "US")); 50 Locale.setDefault(Locale.US); 51 assertSame(us, manager.getFlag("en", null)); 74 assertSame(us, manager.getFlagForFolderName("values-en-rUS")); 101 "tr", "tt", "tv", "tw", "tz", "ua", "ug", "um", "us", "uy", "uz", "va", "vc", "ve", 110 code = code.toUpperCase(Locale.US); 158 sb.append(code.toLowerCase(Locale.US)).append(SdkConstants.DOT_PNG).append(" (") [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
DigitsKeyListenerTest.java | 57 new DigitsKeyListener(Locale.US); 58 new DigitsKeyListener(Locale.US, true, true); 59 new DigitsKeyListener(Locale.US, true, false); 60 new DigitsKeyListener(Locale.US, false, true); 61 new DigitsKeyListener(Locale.US, false, false); [all...] |
/external/icu/icu4c/source/test/intltest/ |
numfmtst.cpp | [all...] |
svccoll.cpp | 39 const Locale& US = Locale::getUS(); 40 const Locale US_FOO("en", "US", "FOO"); 45 Collator* uscol = Collator::createInstance(US, status); 55 URegistryKey key = Collator::registerInstance(frcol, US, status); 68 if (U_SUCCESS(status) && loc != US_FOO && loc != US) { 73 if (loc != US) { 77 if (loc != US) { 86 ncol = Collator::createInstance(US, status); 513 // can't get pesky operator+(const US&, foo) to cooperate; use toString
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DateFormatRegressionTest.java | 99 DateFormat fmt = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, Locale.US); 180 SimpleDateFormat fmt = new SimpleDateFormat("yyMMdd", Locale.US); 401 US locale a string formatted according to mm/dd/yy and parses it 416 DateFormat fmt = DateFormat.getDateInstance(DateFormat.SHORT, Locale.US); 470 Locale.TRADITIONAL_CHINESE, Locale.UK, Locale.US}; 508 SimpleDateFormat sdf = new SimpleDateFormat("z", Locale.US); 523 * This bug really only works in Locale.US, since that's what the locale 525 * NT; it would actually have failed on any non-US locale. Now it should 537 SimpleDateFormat df = new SimpleDateFormat("MMMM", Locale.US); 726 SimpleDateFormat format = new SimpleDateFormat(pattern, Locale.US); [all...] |
RbnfTest.java | 79 // (the ">>>" below causes us to see the number of minutes 255 NumberFormat decFormat = NumberFormat.getInstance(Locale.US); 276 RuleBasedNumberFormat formatter = new RuleBasedNumberFormat(Locale.US, 309 RuleBasedNumberFormat formatter= new RuleBasedNumberFormat(Locale.US, 339 RuleBasedNumberFormat formatter = new RuleBasedNumberFormat(Locale.US, [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateFormatRegressionTest.java | 96 DateFormat fmt = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, Locale.US); 177 SimpleDateFormat fmt = new SimpleDateFormat("yyMMdd", Locale.US); 398 US locale a string formatted according to mm/dd/yy and parses it 413 DateFormat fmt = DateFormat.getDateInstance(DateFormat.SHORT, Locale.US); 467 Locale.TRADITIONAL_CHINESE, Locale.UK, Locale.US}; 505 SimpleDateFormat sdf = new SimpleDateFormat("z", Locale.US); 520 * This bug really only works in Locale.US, since that's what the locale 522 * NT; it would actually have failed on any non-US locale. Now it should 534 SimpleDateFormat df = new SimpleDateFormat("MMMM", Locale.US); 723 SimpleDateFormat format = new SimpleDateFormat(pattern, Locale.US); [all...] |
RbnfTest.java | 76 // (the ">>>" below causes us to see the number of minutes 252 NumberFormat decFormat = NumberFormat.getInstance(Locale.US); 273 RuleBasedNumberFormat formatter = new RuleBasedNumberFormat(Locale.US, 306 RuleBasedNumberFormat formatter= new RuleBasedNumberFormat(Locale.US, 336 RuleBasedNumberFormat formatter = new RuleBasedNumberFormat(Locale.US, [all...] |
/cts/tests/tests/keystore/src/android/keystore/cts/ |
TestUtils.java | 626 return algorithm.toUpperCase(Locale.US).startsWith("HMAC"); 630 String algorithmUpperCase = algorithm.toUpperCase(Locale.US); 642 String transformationUpperCase = transformation.toUpperCase(Locale.US); 655 String transformationUpperCase = transformation.toUpperCase(Locale.US); 667 String transformationUpperCase = transformation.toUpperCase(Locale.US); 696 String transformationUpperCase = transformation.toUpperCase(Locale.US); 711 return transformation.split("/")[1].toUpperCase(Locale.US); 715 String algorithmUpperCase = algorithm.toUpperCase(Locale.US); 728 String algorithmUpperCase = algorithm.toUpperCase(Locale.US); 741 String algorithmUpperCase = algorithm.toUpperCase(Locale.US); [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/ |
ImapFolder.java | 301 Locale.US, 508 mp.setSubType(bs.getStringOrEmpty(i).getString().toLowerCase(Locale.US)); 532 final String mimeType = (type.getString() + "/" + subType.getString()).toLowerCase(Locale.US); 592 bodyDisposition.getStringOrEmpty(0).getString().toLowerCase(Locale.US); 608 Locale.US, 613 .toLowerCase(Locale.US), 621 contentDisposition.append(String.format(Locale.US, ";\n size=%d", size)); 697 Locale.US, 718 String.format(Locale.US, ImapConstants.SELECT + " \"%s\"", name)); 761 String.format(Locale.US, ImapConstants.GETQUOTAROOT + " \"%s\"", name)) [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
SpannableStringTest.java | 157 LocaleSpan localeSpan = new LocaleSpan(Locale.US); 187 first.setSpan(new LocaleSpan(Locale.US), 2, 4, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); 214 second.setSpan(new LocaleSpan(Locale.US), 2, 4, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
/frameworks/base/core/java/android/view/textclassifier/ |
SelectionSessionLogger.java | 225 String.format(Locale.US, "%2d: %s/%s/%s, range=%d,%d - smart_range=%d,%d (%s/%s)", 250 final String modelName = String.format(Locale.US, "%s_v%d", localesJoiner.toString(), 264 return String.format(Locale.US, "%s|%s|%d", classifierId, modelName, hash);
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
TestTextPrinter.java | 213 {Locale.US, "e", "1", DayOfWeek.SUNDAY}, 214 {Locale.US, "ee", "01", DayOfWeek.SUNDAY}, 215 {Locale.US, "c", "1", DayOfWeek.SUNDAY},
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
EventFieldEditorView.java | 166 final Calendar calendar = Calendar.getInstance(DateUtils.UTC_TIMEZONE, Locale.US); 202 final Calendar calendar = Calendar.getInstance(DateUtils.UTC_TIMEZONE, Locale.US); 236 Calendar.getInstance(DateUtils.UTC_TIMEZONE, Locale.US);
|
/developers/samples/android/ui/views/EffectiveNavigation/app/src/main/java/com/example/android/effectivenavigation/ |
CollectionDemoActivity.java | 113 String.format(Locale.US, "%d", args.getInt(ARG_OBJECT)));
|
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
TaskBackService.java | 176 mTts.setLanguage(Locale.US);
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
SmsReceivedDialog.java | 68 int result = mTts.setLanguage(Locale.US);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/ |
MathException.java | 185 return getMessage(Locale.US);
|
/external/clang/test/CodeGen/ |
xcore-stringtype.c | 28 // CHECK: @builtinType, !"f{0}(b,uc,uc,sc,ss,us,ss,si,ui,si,sl, 31 unsigned short US, signed short SS, int I, unsigned int UI,
|
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/ |
EngineWrapBenchmark.java | 154 String.format(Locale.US,
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
LowercaseTransliterator.java | 36 return new LowercaseTransliterator(ULocale.US);
|