/libcore/libdvm/src/main/java/java/lang/ |
String.java | 29 import java.util.Locale; [all...] |
/libcore/luni/src/main/java/java/util/ |
GregorianCalendar.java | 228 * time with the default {@code Locale} and {@code TimeZone}. 231 this(TimeZone.getDefault(), Locale.getDefault()); 236 * {@code TimeZone} and {@code Locale} on the specified date. 246 super(TimeZone.getDefault(), Locale.getDefault()); 252 * time in the default {@code TimeZone} and {@code Locale}. 266 super(TimeZone.getDefault(), Locale.getDefault()); 272 * time in the default {@code TimeZone} and {@code Locale}. 289 super(TimeZone.getDefault(), Locale.getDefault()); 300 * time and using the specified {@code Locale} and the default {@code TimeZone}. 302 * @param locale [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
NameSplitter.java | 28 import java.util.Locale; 50 private static final String JAPANESE_LANGUAGE = Locale.JAPANESE.getLanguage().toLowerCase(); 51 private static final String KOREAN_LANGUAGE = Locale.KOREAN.getLanguage().toLowerCase(); 54 private static final String CHINESE_LANGUAGE = Locale.CHINESE.getLanguage().toLowerCase(); 61 private final Locale mLocale; 284 String commonSuffixes, String commonConjunctions, Locale locale) { 290 mLocale = locale != null ? locale : Locale.getDefault() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
LintPreferencePage.java | 84 import java.util.Locale; 570 .toLowerCase(Locale.US).startsWith(filter.substring(1))) 571 || issue.getCategory().getName().toLowerCase(Locale.US).startsWith(filter) 572 || issue.getCategory().getFullName().toLowerCase(Locale.US).startsWith(filter) 573 || issue.getId().toLowerCase(Locale.US).contains(filter) 574 || issue.getDescription(RAW).toLowerCase(Locale.US).contains(filter); 616 filter = filter.toLowerCase(Locale.US);
|
/cts/tests/tests/text/src/android/text/util/cts/ |
LinkifyTest.java | 29 import java.util.Locale; 315 // phonenumber linkify is locale-dependent 316 if (Locale.US.equals(Locale.getDefault())) {
|
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
LogRecordTest.java | 21 import java.util.Locale; 331 "bundles/java/util/logging/res", Locale.US)); 340 "bundles/java/util/logging/res", Locale.US));
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
Support_SimpleDateFormat.java | 27 import java.util.Locale; 57 .getDateInstance(DateFormat.DEFAULT, Locale.US); 144 .getDateInstance(DateFormat.DEFAULT, Locale.US);
|
/external/chromium/chrome/browser/chromeos/login/ |
wizard_controller_browsertest.cc | 80 // Checking the default locale. Provided that the profile is cleared in SetUp. 82 EXPECT_STREQ("en", icu::Locale::getDefault().getLanguage()); 89 EXPECT_STREQ("fr", icu::Locale::getDefault().getLanguage()); 98 EXPECT_STREQ("ar", icu::Locale::getDefault().getLanguage());
|
/external/chromium_org/third_party/icu/source/i18n/ |
dcfmtsym.cpp | 57 // Initializes this with the decimal format symbols in the default locale. 61 locale() 63 initialize(locale, status, TRUE); 67 // Initializes this with the decimal format symbols in the desired locale. 69 DecimalFormatSymbols::DecimalFormatSymbols(const Locale& loc, UErrorCode& status) 71 locale(loc) 73 initialize(locale, status); 106 locale = rhs.locale; 134 return locale == that.locale & [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
itercoll.cpp | 29 en_us = (RuleBasedCollator *)Collator::createInstance(Locale::getUS(), status); 149 Collator *c4 = Collator::createInstance(Locale("th", "TH", ""), status); 159 Collator *c5 = Collator::createInstance(Locale("ja", "JP", ""), status);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/utils/ |
Util.java | 29 import java.util.Locale; 43 public static final NumberFormat PERCENTAGE_FORMAT = NumberFormat.getPercentInstance(Locale.US); 47 public static final NumberFormat DOUBLE_FORMAT = NumberFormat.getNumberInstance(Locale.US);
|
/external/icu4c/i18n/ |
dcfmtsym.cpp | 58 // Initializes this with the decimal format symbols in the default locale. 62 locale() 64 initialize(locale, status, TRUE); 68 // Initializes this with the decimal format symbols in the desired locale. 70 DecimalFormatSymbols::DecimalFormatSymbols(const Locale& loc, UErrorCode& status) 72 locale(loc) 74 initialize(locale, status); 118 locale = rhs.locale; 146 return locale == that.locale & [all...] |
tznames.cpp | 101 TimeZoneNamesDelegate(const Locale& locale, UErrorCode& status); 128 TimeZoneNamesDelegate::TimeZoneNamesDelegate(const Locale& locale, UErrorCode& status) { 156 const char *key = locale.getName(); 162 tznames = new TimeZoneNamesImpl(locale, status); 303 TimeZoneNames::createInstance(const Locale& locale, UErrorCode& status) { 304 return new TimeZoneNamesDelegate(locale, status);
|
/external/icu4c/samples/ustring/ |
ustring.cpp | 207 * 1:1 code point mappings without context/locale ID. 210 * case mappings require context, depend on the locale ID, 273 * 1:n code point mappings (n can be 0!) and are sensitive to context and locale ID. 275 * Note that lower/upper/titlecasing take a locale ID while case-folding 372 const Locale &en=Locale::getEnglish(); 373 Locale tr("tr");
|
/external/icu4c/test/intltest/ |
calregts.cpp | 485 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("ddMMMyy"), Locale::getUK(),status); 487 Locale::getUK(),status); 752 Locale saveLocale = Locale::getDefault(); 754 Locale::setDefault(Locale::getUK(),status); 782 Locale::setDefault(saveLocale,status); 2426 const char * locale; member in struct:__anon19078 [all...] |
itercoll.cpp | 29 en_us = (RuleBasedCollator *)Collator::createInstance(Locale::getUS(), status); 149 Collator *c4 = Collator::createInstance(Locale("th", "TH", ""), status); 159 Collator *c5 = Collator::createInstance(Locale("ja", "JP", ""), status);
|
/frameworks/base/core/java/android/speech/tts/ |
TtsEngines.java | 46 import java.util.Locale; 285 * Returns the locale string for a given TTS engine. Attempts to read the 288 * both these values are empty, the default phone locale is returned. 290 * @param engineName the engine to return the locale for. 291 * @return the locale string preference for this engine. Will be non null 295 String locale = parseEnginePrefFromList( local 299 if (TextUtils.isEmpty(locale)) { 301 locale = getV1Locale(); 304 if (DBG) Log.d(TAG, "getLocalePrefForEngine(" + engineName + ")= " + locale); 306 return locale; 371 final Locale locale = Locale.getDefault(); local [all...] |
/frameworks/base/core/java/android/text/util/ |
Linkify.java | 36 import java.util.Locale; 368 String prefix = (scheme == null) ? "" : scheme.toLowerCase(Locale.ROOT); 453 Locale.getDefault().getCountry(), Leniency.POSSIBLE, Long.MAX_VALUE);
|
/frameworks/base/services/java/com/android/server/ |
WiredAccessoryManager.java | 47 import java.util.Locale; 412 return String.format(Locale.US, "/devices/virtual/switch/%s", mDevName); 416 return String.format(Locale.US, "/sys/class/switch/%s/state", mDevName);
|
/libcore/luni/src/main/java/org/apache/harmony/security/x501/ |
AttributeTypeAndValue.java | 29 import java.util.Locale; 201 ObjectIdentifier thisOid = KNOWN_NAMES.get(sOid.toUpperCase(Locale.US)); 253 sb.append(value.getHexString().toUpperCase(Locale.US));
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmTimelineView.java | 42 import java.util.Locale; 239 final Locale locale = Locale.getDefault(); local 241 String format = DateFormat.getBestDateTimePattern(locale, formatString); 242 mDateFormat = new SimpleDateFormat(format, locale);
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
CaptionPropertiesFragment.java | 46 import java.util.Locale; 140 final Locale locale = mCaptioningManager.getLocale(); local 141 if (locale != null) { 143 context, locale, R.string.captioning_preview_text); 160 final Locale locale = manager.getLocale(); local 161 if (locale != null) { 163 context, locale, R.string.captioning_preview_characters);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeySpecParser.java | 31 import java.util.Locale; 484 final Locale locale) { 488 text, needsToUpperCase, locale); 494 final boolean needsToUpperCase, final Locale locale) { 496 return text.toUpperCase(locale);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
BinaryDictionary.java | 33 import java.util.Locale; 61 private final Locale mLocale; 104 final boolean useFullEditDistance, final Locale locale, final String dictType, 107 mLocale = locale;
|
BinaryDictionaryFileDumper.java | 49 import java.util.Locale; 109 * Supported types include QUERY_PATH_DICT_INFO, which takes the locale as 136 * Queries a content provider for the list of word lists for a specific locale 139 private static List<WordListInfo> getWordListWordListInfos(final Locale locale, 148 QUERY_PATH_DICT_INFO, locale.toString()); 215 * to the cache file name designated by its id and locale, overwriting it if already present 218 private static void cacheWordList(final String wordlistId, final String locale, 239 DictionaryInfoUtils.getCacheFileName(wordlistId, locale, context); 374 * Queries a content provider for word list data for some locale and cache the returned file [all...] |