/frameworks/base/core/java/android/webkit/ |
DateSorter.java | 24 import java.util.Locale; 69 Locale locale = resources.getConfiguration().locale; local 70 if (locale == null) { 71 locale = Locale.getDefault(); 73 LocaleData localeData = LocaleData.get(locale);
|
/frameworks/base/location/java/android/location/ |
Country.java | 23 import java.util.Locale; 47 * The country code came from the system locale setting 86 mCountryIso = countryIso.toUpperCase(Locale.US); 96 mCountryIso = countryIso.toUpperCase(Locale.US);
|
Geocoder.java | 27 import java.util.Locale; 72 * given Locale. 75 * @param locale the desired Locale for the query results 77 * @throws NullPointerException if Locale is null 79 public Geocoder(Context context, Locale locale) { 80 if (locale == null) { 81 throw new NullPointerException("locale == null"); 83 mParams = new GeocoderParams(context, locale); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
DateView.java | 33 import java.util.Locale; 85 mDateFormat = null; // reload the locale next time 92 final Locale l = Locale.getDefault();
|
/libcore/benchmarks/src/benchmarks/regression/ |
FormatterBenchmark.java | 22 import java.util.Locale; 51 Locale arabic = new Locale("ar");
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
DictionaryPool.java | 28 import java.util.Locale; 46 private final Locale mLocale; 72 final Locale locale) { 76 mLocale = locale;
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
rbbiapts.cpp | 41 RuleBasedBreakIterator* bi1 = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createCharacterInstance(Locale::getDefault(), status); 42 RuleBasedBreakIterator* biequal = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createCharacterInstance(Locale::getDefault(), status); 43 RuleBasedBreakIterator* bi3 = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createCharacterInstance(Locale::getDefault(), status); 44 RuleBasedBreakIterator* bi2 = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createWordInstance(Locale::getDefault(), status); 79 RuleBasedBreakIterator *bix = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(Locale::getDefault(), status); 150 BreakIterator* a = BreakIterator::createWordInstance(Locale("hi"), status); 151 BreakIterator* b = BreakIterator::createWordInstance(Locale("hi_IN"),status); 162 BreakIterator* c = BreakIterator::createCharacterInstance(Locale("ja"),status); 163 BreakIterator* d = BreakIterator::createCharacterInstance(Locale("th"),status); 181 RuleBasedBreakIterator* bi1=(RuleBasedBreakIterator*)RuleBasedBreakIterator::createCharacterInstance(Locale::getDefault(), status) [all...] |
incaltst.cpp | 129 logln(UnicodeString("Creating calendar of locale ") + locs[j]); 152 void IntlCalendarTest::quasiGregorianTest(Calendar& cal, const Locale& gcl, const int32_t *data) { 254 quasiGregorianTest(*cal,Locale("fr_FR"),data); 303 quasiGregorianTest(*cal,Locale("th_TH@calendar=gregorian"),data); 354 quasiGregorianTest(*cal,Locale("en_US"),data); 405 quasiGregorianTest(*cal,Locale("ja_JP"),data); 418 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("MMMM d, yyyy G"), Locale("en_US@calendar=buddhist"), status); 420 SimpleDateFormat *fmt2 = new SimpleDateFormat(UnicodeString("MMMM d, yyyy G"), Locale("en_US@calendar=gregorian"), status); 455 Locale loc("th_TH_TRADITIONAL"); // legacy 464 Locale loc("th_TH@calendar=buddhist") [all...] |
tmsgfmt.h | 79 UnicodeString pattern ,Locale locale , UErrorCode& err, char* errMsg);
|
/external/icu4c/i18n/ |
locdspnm.cpp | 58 // Access resource data for locale components. 62 Locale locale; member in class:ICUDataTable 65 ICUDataTable(const char* path, const Locale& locale); 68 const Locale& getLocale(); 91 ICUDataTable::ICUDataTable(const char* path, const Locale& locale) 92 : path(NULL), locale(Locale::getRoot() 270 Locale locale; member in class:LocaleDisplayNamesImpl [all...] |
buddhcal.h | 60 * with the given locale. 62 * @param aLocale The given locale. 67 BuddhistCalendar(const Locale& aLocale, UErrorCode& success);
|
cecal.h | 32 * with the given locale with the Julian epoch offiset 34 * @param aLocale The given locale. 39 CECalendar(const Locale& aLocale, UErrorCode& success);
|
coptccal.h | 120 * with the given locale. 122 * @param aLocale The given locale. 127 CopticCalendar(const Locale& aLocale, UErrorCode& success);
|
japancal.h | 67 * with the given locale. 69 * @param aLocale The given locale. 74 JapaneseCalendar(const Locale& aLocale, UErrorCode& success);
|
taiwncal.h | 57 * with the given locale. 59 * @param aLocale The given locale. 64 TaiwanCalendar(const Locale& aLocale, UErrorCode& success);
|
tzgnames.h | 44 static TimeZoneGenericNames* createInstance(const Locale& locale, UErrorCode& status);
|
/external/apache-http/src/org/apache/http/auth/ |
AuthScope.java | 33 import java.util.Locale; 109 this.host = (host == null) ? ANY_HOST: host.toLowerCase(Locale.ENGLISH); 112 this.scheme = (scheme == null) ? ANY_SCHEME: scheme.toUpperCase(Locale.ENGLISH); 259 buffer.append(this.scheme.toUpperCase(Locale.ENGLISH));
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
TtsPlatformImpl.java | 16 import java.util.Locale; 177 mTextToSpeech.setLanguage(new Locale(lang)); 217 Locale[] locales = Locale.getAvailableLocales();
|
/external/chromium_org/third_party/icu/source/common/ |
servlk.cpp | 112 Locale& 113 LocaleKey::canonicalLocale(Locale& result) const { 117 Locale& 118 LocaleKey::currentLocale(Locale& result) const {
|
/external/chromium_org/third_party/icu/source/i18n/ |
buddhcal.h | 60 * with the given locale. 62 * @param aLocale The given locale. 67 BuddhistCalendar(const Locale& aLocale, UErrorCode& success);
|
cecal.h | 32 * with the given locale with the Julian epoch offiset 34 * @param aLocale The given locale. 39 CECalendar(const Locale& aLocale, UErrorCode& success);
|
coptccal.h | 120 * with the given locale. 122 * @param aLocale The given locale. 127 CopticCalendar(const Locale& aLocale, UErrorCode& success);
|
japancal.h | 67 * with the given locale. 69 * @param aLocale The given locale. 74 JapaneseCalendar(const Locale& aLocale, UErrorCode& success);
|
taiwncal.h | 57 * with the given locale. 59 * @param aLocale The given locale. 64 TaiwanCalendar(const Locale& aLocale, UErrorCode& success);
|
/external/icu4c/common/ |
servlk.cpp | 112 Locale& 113 LocaleKey::canonicalLocale(Locale& result) const { 117 Locale& 118 LocaleKey::currentLocale(Locale& result) const {
|