/external/sonivox/arm-wt-22k/lib_src/ |
dls.h | 198 MIDILOCALE Locale; /* Intended MIDI locale of this instrument */
|
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 30 import java.util.Locale; 121 private static Locale sIs24HourLocale; 135 Locale locale = context.getResources().getConfiguration().locale; local 138 if (sIs24HourLocale != null && sIs24HourLocale.equals(locale)) { 144 java.text.DateFormat.getTimeInstance(java.text.DateFormat.LONG, locale); 160 sIs24HourLocale = locale; 172 * locale. A skeleton is similar to, and uses the same format characters as, a Unicode 177 * "MMMM d" in the {@code en_US} locale, but "d. MMMM" in the {@code de_CH} locale [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
CallerInfo.java | 41 import java.util.Locale; 516 * @param context the context used to look up the current locale / country 539 Locale locale = context.getResources().getConfiguration().locale; local 540 String countryIso = getCurrentCountryIso(context, locale); 552 String description = geocoder.getDescriptionForNumber(pn, locale); 564 private static String getCurrentCountryIso(Context context, Locale locale) { 577 countryIso = locale.getCountry() [all...] |
/libcore/luni/src/main/java/java/util/ |
Date.java | 482 String text = buffer.toString().toUpperCase(Locale.US); 501 DateFormatSymbols symbols = new DateFormatSymbols(Locale.US); 672 SimpleDateFormat sdf = new SimpleDateFormat("d MMM y HH:mm:ss 'GMT'", Locale.US); 681 * Returns the string representation of this {@code Date} for the default {@code Locale}. 695 * locale are used. If you need control over the time zone or locale, 703 LocaleData localeData = LocaleData.get(Locale.US);
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
XMLGregorianCalendar.java | 158 * {@link #toGregorianCalendar(java.util.TimeZone timezone, java.util.Locale aLocale, XMLGregorianCalendar defaults)}, [all...] |
/packages/apps/InCallUI/src/com/android/incallui/ |
CallerInfo.java | 39 import java.util.Locale; 513 * @param context the context used to look up the current locale / country 536 Locale locale = context.getResources().getConfiguration().locale; local 537 String countryIso = getCurrentCountryIso(context, locale); 550 String description = geocoder.getDescriptionForNumber(pn, locale); 562 private static String getCurrentCountryIso(Context context, Locale locale) { 575 countryIso = locale.getCountry() [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
DictionarySettingsFragment.java | 48 import java.util.Locale; 292 final String systemLocaleString = Locale.getDefault().toString(); 305 final Locale locale = new Locale(localeString); local 320 && oldPreference.mLocale.equals(locale)) { 322 // for version and locale because although attributes other than status 330 mClientId, wordlistId, version, locale, description, status,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
StringUtils.java | 34 import java.util.Locale; 137 public static String capitalizeFirstCodePoint(final String s, final Locale locale) { 139 return s.toUpperCase(locale); 142 // {@link #capitalizeFirstAndDowncaseRest(String,Locale)} as this has the same shortcomings 144 return s.substring(0, cutoff).toUpperCase(locale) + s.substring(cutoff); 147 public static String capitalizeFirstAndDowncaseRest(final String s, final Locale locale) { 149 return s.toUpperCase(locale); 160 return s.substring(0, cutoff).toUpperCase(locale) + s.substring(cutoff).toLowerCase(locale) [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
rbbitst.cpp | 494 Locale("th"), status); 497 errcheckln(status, "Failed to create the BreakIterator for Thai locale in TestThaiLineBreak. - %s", u_errorName(status)); 538 RuleBasedBreakIterator* e = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(Locale("th"), status); 541 errcheckln(status, "Failed to create the BreakIterator for Thai locale in TestMixedThaiLineBreak. - %s", u_errorName(status)); 570 Locale("th"), status); 574 errcheckln(status, "Failed to create the BreakIterator for Thai locale in TestMaiyamok. - %s", u_errorName(status)); 592 (RuleBasedBreakIterator *)BreakIterator::createWordInstance(Locale("th"), status); 628 Locale("ja"), status); 631 errcheckln(status, "Failed to create the BreakIterator for Japanese locale in TestJapaneseWordBreak.\n"); 2189 Locale locale = Locale("th"); local 2277 const char * locale; member in struct:__anon11583 [all...] |
/frameworks/base/core/java/android/widget/ |
CalendarView.java | 51 import java.util.Locale; 308 * The current locale. 310 private Locale mCurrentLocale; 339 // initialization based on locale 340 setCurrentLocale(Locale.getDefault()); 347 LocaleData.get(Locale.getDefault()).firstDayOfWeek); 698 setCurrentLocale(newConfig.locale); 958 * Sets the current locale. 960 * @param locale The current locale [all...] |
/libcore/luni/src/main/java/java/text/ |
SimpleDateFormat.java | 29 import java.util.Locale; 36 * Formats and parses dates in a locale-sensitive manner. Formatting turns a {@link Date} into 44 * locale. In cases where the system does not provide a suitable pattern, see 46 * the elements you'd like in a pattern and get back a pattern suitable for any given locale. 50 * to explicitly ask for {@link Locale#US} to ensure that you get ASCII digits (rather than, 52 * (See "<a href="../util/Locale.html#default_locale">Be wary of the default locale</a>".) 152 * SimpleDateFormat sdf = new SimpleDateFormat(format, Locale.US); 225 * dates and times in the {@code SHORT} style for the user's default locale. 226 * See "<a href="../util/Locale.html#default_locale">Be wary of the default locale</a>" [all...] |
/development/samples/training/NavigationDrawer/src/com/example/android/navigationdrawerexample/ |
MainActivity.java | 19 import java.util.Locale; 233 int imageId = getResources().getIdentifier(planet.toLowerCase(Locale.getDefault()),
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
TracingControllerAndroid.java | 24 import java.util.Locale; 135 "yyyy-MM-dd-HHmmss", Locale.US);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderEmbeddedObject.cpp | 82 Locale& locale = node ? toElement(node)->locale() : Locale::defaultLocale(); local 85 return locale.queryString(blink::WebLocalizedString::MissingPluginText); 87 return locale.queryString(blink::WebLocalizedString::BlockedPluginText);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
DateTimeChooserImpl.cpp | 56 , m_locale(WebCore::Locale::create(parameters.locale)) 110 todayLabelString = locale().queryString(WebLocalizedString::ThisMonthButtonLabel); 111 otherDateLabelString = locale().queryString(WebLocalizedString::OtherMonthLabel); 113 todayLabelString = locale().queryString(WebLocalizedString::ThisWeekButtonLabel); 114 otherDateLabelString = locale().queryString(WebLocalizedString::OtherWeekLabel); 116 todayLabelString = locale().queryString(WebLocalizedString::CalendarToday); 117 otherDateLabelString = locale().queryString(WebLocalizedString::OtherDateLabel); 134 addProperty("locale", m_parameters.locale.string(), writer) 170 WebCore::Locale& DateTimeChooserImpl::locale() function in class:blink::DateTimeChooserImpl [all...] |
/external/chromium_org/third_party/icu/source/common/ |
serv.cpp | 156 SimpleFactory::getDisplayName(const UnicodeString& id, const Locale& /* locale */, UnicodeString& result) const 276 const Locale locale; member in class:DNCache 278 DNCache(const Locale& _locale) 279 : cache(), locale(_locale) 686 return getDisplayName(id, result, Locale::getDefault()); 690 ICUService::getDisplayName(const UnicodeString& id, UnicodeString& result, const Locale& locale) const 700 f->getDisplayName(id, locale, result) [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
dtitvfmt.cpp | 71 return createInstance(skeleton, Locale::getDefault(), status); 77 const Locale& locale, 91 DateIntervalInfo* dtitvinf = new DateIntervalInfo(locale, status); 92 return create(locale, dtitvinf, &skeleton, status); 101 return createInstance(skeleton, Locale::getDefault(), dtitvinf, status); 107 const Locale& locale, 111 return create(locale, ptn, &skeleton, status); 419 DateIntervalFormat::DateIntervalFormat(const Locale& locale 548 const Locale& locale = fDateFormat->getSmpFmtLocale(); local [all...] |
gregocal.cpp | 164 : Calendar(zone, Locale::getDefault(), status), 175 : Calendar(zone, Locale::getDefault(), status), 185 GregorianCalendar::GregorianCalendar(const Locale& aLocale, UErrorCode& status) 196 GregorianCalendar::GregorianCalendar(TimeZone* zone, const Locale& aLocale, 208 GregorianCalendar::GregorianCalendar(const TimeZone& zone, const Locale& aLocale, 222 : Calendar(TimeZone::createDefault(), Locale::getDefault(), status), 237 : Calendar(TimeZone::createDefault(), Locale::getDefault(), status), 255 : Calendar(TimeZone::createDefault(), Locale::getDefault(), status), 767 // // is zero-based, with 0 being the locale-specific first day of [all...] |
indiancal.cpp | 41 IndianCalendar::IndianCalendar(const Locale& aLocale, UErrorCode& success) 423 IndianCalendar calendar(Locale("@calendar=Indian"),status);
|
numsys.cpp | 101 NumberingSystem::createInstance(const Locale & inLocale, UErrorCode& status) { 109 if ( count > 0 ) { // @numbers keyword was specified in the locale 112 } else { // Find the default numbering system for this locale. 141 return NumberingSystem::createInstance(Locale::getDefault(), status);
|
persncal.cpp | 190 PersianCalendar::PersianCalendar(const Locale& aLocale, UErrorCode& success) 441 PersianCalendar calendar(Locale("@calendar=persian"),status);
|
/external/emma/core/java12/com/vladium/util/exception/ |
ExceptionCommon.java | 17 import java.util.Locale; 118 temprb = ResourceBundle.getBundle (nameInNamespace, Locale.getDefault (), loader);
|
/external/guava/guava-tests/test/com/google/common/net/ |
InternetDomainNameTest.java | 30 import java.util.Locale; 349 // String.toLowerCase(Locale) 350 @GwtIncompatible("String.toLowerCase(Locale)") 361 String expectedName = inputName.toLowerCase(Locale.ENGLISH);
|
/external/icu4c/common/ |
serv.cpp | 158 SimpleFactory::getDisplayName(const UnicodeString& id, const Locale& /* locale */, UnicodeString& result) const 280 const Locale locale; member in class:DNCache 282 DNCache(const Locale& _locale) 283 : cache(), locale(_locale) 686 return getDisplayName(id, result, Locale::getDefault()); 690 ICUService::getDisplayName(const UnicodeString& id, UnicodeString& result, const Locale& locale) const 699 f->getDisplayName(id, locale, result) [all...] |
/external/icu4c/i18n/ |
dtitvfmt.cpp | 71 return createInstance(skeleton, Locale::getDefault(), status); 77 const Locale& locale, 91 DateIntervalInfo* dtitvinf = new DateIntervalInfo(locale, status); 92 return create(locale, dtitvinf, &skeleton, status); 101 return createInstance(skeleton, Locale::getDefault(), dtitvinf, status); 107 const Locale& locale, 111 return create(locale, ptn, &skeleton, status); 463 DateIntervalFormat::DateIntervalFormat(const Locale& locale 592 const Locale& locale = fDateFormat->getSmpFmtLocale(); local [all...] |