/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
itunes_data_provider.cc | 120 // Test user locale. Localized directory names encoded in UTF-8. 150 const icu::Locale locale = icu::Locale::getDefault(); local 151 const char* language = locale.getLanguage(); 152 const char* country = locale.getCountry();
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
LocaleWin.cpp | 55 static String extractLanguageCode(const String& locale) 57 size_t dashPosition = locale.find('-'); 59 return locale; 60 return locale.left(dashPosition); 123 static LCID LCIDFromLocaleInternal(LCID userDefaultLCID, const String& userDefaultLanguageCode, LocaleNameToLCIDPtr localeNameToLCID, const String& locale) 125 String localeLanguageCode = extractLanguageCode(locale); 128 return localeNameToLCID(locale.charactersWithNullTermination().data(), 0); 131 static LCID LCIDFromLocale(const String& locale, bool defaultsForLocale) 144 LCID lcid = LCIDFromLocaleInternal(LOCALE_USER_DEFAULT, userDefaultLanguageCode, localeNameToLCID, locale); 150 PassOwnPtr<Locale> Locale::create(const String& locale [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
hebrwcal.cpp | 151 * in the default time zone with the default locale. 154 HebrewCalendar::HebrewCalendar(const Locale& aLocale, UErrorCode& success) 735 HebrewCalendar calendar(Locale("@calendar=hebrew"),status);
|
islamcal.cpp | 93 IslamicCalendar::IslamicCalendar(const Locale& aLocale, UErrorCode& success, ECivil beCivil) 521 IslamicCalendar calendar(Locale("@calendar=islamic-civil"),status);
|
windtfmt.cpp | 55 UnicodeString* Win32DateFormat::getTimeDateFormat(const Calendar *cal, const Locale *locale, UErrorCode &status) const 59 const char *base = locale->getBaseName(); 96 Win32DateFormat::Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const Locale &locale, UErrorCode &status) 97 : DateFormat(), fDateTimeMsg(NULL), fTimeStyle(timeStyle), fDateStyle(dateStyle), fLocale(&locale), fZoneID() 100 fLCID = locale.getLCID(); 103 adoptCalendar(Calendar::createInstance(locale, status));
|
winnmfmt.cpp | 138 // TODO: keep locale too? 139 Win32NumberFormat::Win32NumberFormat(const Locale &locale, UBool currency, UErrorCode &status) 143 fLCID = locale.getLCID(); 216 // TODO: cache Locale and NumberFormat? Could keep locale passed to constructor... 220 Locale loc(uprv_convertToPosix(fLCID, &status)); 270 // vswprintf is sensitive to the locale set by setlocale. For some locales
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
dcfmtest.cpp | 310 DecimalFormatSymbols symbols(Locale::getUS(), status); 376 DecimalFormatSymbols symbols(Locale::getUS(), status);
|
/external/icu4c/i18n/ |
hebrwcal.cpp | 151 * in the default time zone with the default locale. 154 HebrewCalendar::HebrewCalendar(const Locale& aLocale, UErrorCode& success) 735 HebrewCalendar calendar(Locale("@calendar=hebrew"),status);
|
islamcal.cpp | 92 IslamicCalendar::IslamicCalendar(const Locale& aLocale, UErrorCode& success, ECivil beCivil) 524 IslamicCalendar calendar(Locale("@calendar=islamic-civil"),status);
|
windtfmt.cpp | 55 UnicodeString* Win32DateFormat::getTimeDateFormat(const Calendar *cal, const Locale *locale, UErrorCode &status) const 59 const char *base = locale->getBaseName(); 96 Win32DateFormat::Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const Locale &locale, UErrorCode &status) 97 : DateFormat(), fDateTimeMsg(NULL), fTimeStyle(timeStyle), fDateStyle(dateStyle), fLocale(&locale), fZoneID() 100 fLCID = locale.getLCID(); 103 adoptCalendar(Calendar::createInstance(locale, status));
|
winnmfmt.cpp | 138 // TODO: keep locale too? 139 Win32NumberFormat::Win32NumberFormat(const Locale &locale, UBool currency, UErrorCode &status) 143 fLCID = locale.getLCID(); 216 // TODO: cache Locale and NumberFormat? Could keep locale passed to constructor... 220 Locale loc(uprv_convertToPosix(fLCID, &status)); 270 // vswprintf is sensitive to the locale set by setlocale. For some locales
|
/frameworks/base/core/java/android/app/ |
ResourcesManager.java | 36 import java.util.Locale; 245 if (config.locale != null) { 246 Locale.setDefault(config.locale);
|
/frameworks/base/core/java/android/net/ |
UrlQuerySanitizer.java | 22 import java.util.Locale; 309 String asLower = value.toLowerCase(Locale.ROOT);
|
/libcore/luni/src/main/java/java/net/ |
URLConnection.java | 27 import java.util.Locale; 761 String textHeader = header.trim().toUpperCase(Locale.US); [all...] |
/libcore/luni/src/main/java/java/util/jar/ |
JarVerifier.java | 32 import java.util.Locale; 235 metaEntries.put(name.toUpperCase(Locale.US), buf);
|
/packages/apps/Calculator/src/com/android/calculator2/ |
Logic.java | 28 import java.util.Locale; 281 String result = String.format(Locale.US, "%" + mLineLength + "." + precision + "g", value);
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaAdapter.java | 38 import java.util.Locale; 93 mFormatter = new Formatter(mStringBuilder, Locale.getDefault());
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertUtils.java | 39 import java.util.Locale; 185 isDST, TimeZone.SHORT, Locale.getDefault()));
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
DigitalAppWidgetProvider.java | 43 import java.util.Locale; 175 CharSequence dateFormat = DateFormat.getBestDateTimePattern(Locale.getDefault(),
|
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
WorldClockAdapter.java | 40 import java.util.Locale; 78 // and not from the selected list so that change of locale or changes in the DB will 283 now.getDisplayName(Calendar.DAY_OF_WEEK, Calendar.SHORT, Locale.getDefault())));
|
/packages/apps/Dialer/tests/src/com/android/dialer/ |
PhoneCallDetailsHelperTest.java | 33 import java.util.Locale; 78 mLocaleTestUtils.setLocale(Locale.US);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
Rfc822Output.java | 47 import java.util.Locale; 58 // "Jan", not the other localized format like "Ene" (meaning January in locale es). 60 new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss Z", Locale.US);
|
/packages/apps/Settings/src/com/android/settings/ |
UserDictionarySettings.java | 43 import java.util.Locale; 55 // Either the locale is empty (means the word is applicable to all locales) 56 // or the word equals our current locale 58 UserDictionary.Words.LOCALE + "=?"; 60 UserDictionary.Words.LOCALE + " is null"; 93 null == intent ? null : intent.getStringExtra("locale"); 97 null == arguments ? null : arguments.getString("locale"); 99 final String locale; local 101 locale = localeFromArguments; 103 locale = localeFromIntent [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
AndroidWordLevelSpellCheckerSession.java | 40 import java.util.Locale; 46 // Immutable, but need the locale which is not available in the constructor yet 49 private Locale mLocale; 128 * locale for this spell checker.
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
MoreKeysResources.java | 29 import java.util.Locale; 186 return new Locale(language).getDisplayLanguage();
|