/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DefaultCallLogInsertionHelper.java | 30 import java.util.Locale; 49 private final Locale mLocale; 60 mLocale = context.getResources().getConfiguration().locale;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
Configuration.java | 77 /** The locale in change flags or override flags */ 99 * Setting name for project-wide setting controlling rendering target and locale which 144 /** The locale to use for this configuration */ 146 private Locale mLocale = Locale.ANY; 288 * Returns the chosen locale 290 * @return the locale 293 public Locale getLocale() { 368 * Returns true if the current layout is locale-specific 370 * @return if this configuration represents a locale-specific layou 561 Locale locale = getLocale(); local 606 Locale locale = getLocale(); local 818 Locale locale = Locale.ANY; local 888 Locale locale = getLocale(); local [all...] |
/external/icu4c/test/intltest/ |
apicoll.cpp | 61 * Test Collator::createInstance(... version...) for some locale. Called by TestProperty(). 64 TestOpenVersion(IntlTest &test, const Locale &locale) { 70 collator1=Collator::createInstance(locale, errorCode); 77 collator2=Collator::createInstance(locale, version1, errorCode); 81 test.errln("error: Collator::createInstance(\"%s\", (%s collator)->getVersion()) returns a different collator\n", locale.getName(), locale.getName()); 85 test.errln("error: Collator::createInstance(\"%s\", (%s collator)->getVersion()) fails: %s\n", locale.getName(), locale.getName(), u_errorName(errorCode)); 114 col = Collator::createInstance(Locale::getEnglish(), success) 1590 Locale locale; local [all...] |
strcase.cpp | 76 test4.toLower(Locale("")); 82 test4.toLower(Locale("tr", "TR")); 92 test4.toUpper(Locale("")); 98 test4.toUpper(Locale("tr", "TR")); 105 test3.toUpper(Locale("de", "DE")); 112 test4.toLower(Locale("el", "GR")); 141 /* lowercase with root locale */ 147 errln("error in toLower(root locale)=\"" + s + "\" expected \"" + UnicodeString(FALSE, lowerRoot, (int32_t)(sizeof(lowerRoot)/U_SIZEOF_UCHAR)) + "\""); 150 /* lowercase with turkish locale */ 152 s.setCharAt(0, beforeLower[0]).toLower(Locale("tr")) 459 UnicodeString locale, input, output, optionsString, result; local [all...] |
regcoll.cpp | 26 en_us = (RuleBasedCollator *)Collator::createInstance(Locale::getUS(), status); 229 // locale 231 Locale oldDefault = Locale::getDefault(); 234 Locale::setDefault(Locale::getKorean(), status); 238 errln("Could not set default locale to Locale::KOREAN"); 249 Locale::setDefault(oldDefault, status); 263 Locale::setDefault(oldDefault, status) [all...] |
itrbnf.cpp | 31 // import java.util.Locale; 148 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getUS(), status); 173 RuleBasedNumberFormat assignResult(URBNF_SPELLOUT, Locale("es", "ES", ""), status); 204 RuleBasedNumberFormat ruleCtorResult(spelloutRules, Locale::getUS(), perror, status); 210 RuleBasedNumberFormat nf(spelloutRules, (UnicodeString)"", Locale::getUS(), perror, status); 223 RuleBasedNumberFormat fromRulesResult(rules, Locale::getUS(), perror, status); 400 RuleBasedNumberFormat formatter(fracRules, Locale::getEnglish(), perror, status); 1718 Locale locale = formatter0.getRuleSetDisplayNameLocale(i, status); local [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
apicoll.cpp | 59 * Test Collator::createInstance(... version...) for some locale. Called by TestProperty(). 62 TestOpenVersion(IntlTest &test, const Locale &locale) { 68 collator1=Collator::createInstance(locale, errorCode); 75 collator2=Collator::createInstance(locale, version1, errorCode); 79 test.errln("error: Collator::createInstance(\"%s\", (%s collator)->getVersion()) returns a different collator\n", locale.getName(), locale.getName()); 83 test.errln("error: Collator::createInstance(\"%s\", (%s collator)->getVersion()) fails: %s\n", locale.getName(), locale.getName(), u_errorName(errorCode)); 112 col = Collator::createInstance(Locale::getEnglish(), success) 1532 Locale locale; local [all...] |
strcase.cpp | 79 test4.toLower(Locale("")); 85 test4.toLower(Locale("tr", "TR")); 95 test4.toUpper(Locale("")); 101 test4.toUpper(Locale("tr", "TR")); 108 test3.toUpper(Locale("de", "DE")); 115 test4.toLower(Locale("el", "GR")); 144 /* lowercase with root locale */ 150 errln("error in toLower(root locale)=\"" + s + "\" expected \"" + UnicodeString(FALSE, lowerRoot, (int32_t)(sizeof(lowerRoot)/U_SIZEOF_UCHAR)) + "\""); 153 /* lowercase with turkish locale */ 155 s.setCharAt(0, beforeLower[0]).toLower(Locale("tr")) 462 UnicodeString locale, input, output, optionsString, result; local [all...] |
regcoll.cpp | 26 en_us = (RuleBasedCollator *)Collator::createInstance(Locale::getUS(), status); 229 // locale 231 Locale oldDefault = Locale::getDefault(); 234 Locale::setDefault(Locale::getKorean(), status); 238 errln("Could not set default locale to Locale::KOREAN"); 249 Locale::setDefault(oldDefault, status); 263 Locale::setDefault(oldDefault, status) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
String2Test.java | 21 import java.util.Locale; 236 Locale defLocale = Locale.getDefault(); 238 Locale.setDefault(new Locale("tr", "")); 239 assertEquals("Locale tr: 0x130 should compare = to 'i'", 0, 241 assertEquals("Locale tr: 0x131 should compare = to 'i'", 0, 244 Locale.setDefault(defLocale); 793 * @tests java.lang.String#toLowerCase(java.util.Locale) 797 // java.lang.String.toLowerCase(java.util.Locale) [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
KeySpecParserTests.java | 32 import java.util.Locale; 36 private final static Locale TEST_LOCALE = Locale.ENGLISH; 42 private static final String CODE_SETTINGS_UPPERCASE = CODE_SETTINGS.toUpperCase(Locale.ROOT); 43 private static final String ICON_SETTINGS_UPPERCASE = ICON_SETTINGS.toUpperCase(Locale.ROOT); 78 Locale.US, mCodesSet); 601 new String[] { HAS_LABEL.toUpperCase(Locale.ROOT), "a", "b", "c" }, 614 "a", HAS_LABEL.toUpperCase(Locale.ROOT), "b", "c", HAS_LABEL, "d" }, [all...] |
/libcore/luni/src/main/native/ |
libcore_icu_ICU.cpp | 129 // TODO: rewrite this with int32_t ucurr_forLocale(const char* locale, UChar* buff, int32_t buffCapacity, UErrorCode* ec)... 189 // ICU doesn't distinguish between falling back to the root locale and meeting a genuinely 212 static jstring ICU_getDisplayCountryNative(JNIEnv* env, jclass, jstring targetLocale, jstring locale) { 213 Locale loc = getLocale(env, locale); 214 Locale targetLoc = getLocale(env, targetLocale); 220 static jstring ICU_getDisplayLanguageNative(JNIEnv* env, jclass, jstring targetLocale, jstring locale) { 221 Locale loc = getLocale(env, locale); 222 Locale targetLoc = getLocale(env, targetLocale) 507 Locale locale = getLocale(env, javaLocaleName); local 649 Locale locale = getLocale(env, javaLocaleName); local [all...] |
/cts/tests/core/runner/src/android/test/ |
InstrumentationCtsTestRunner.java | 40 import java.util.Locale; 204 private Locale mDefaultLocale; 211 mDefaultLocale = Locale.getDefault(); 219 Locale.setDefault(mDefaultLocale);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
HttpCookieTest.java | 21 import java.util.Locale; 26 private Locale locale; field in class:HttpCookieTest 582 * Locale.ENGLISH. 587 Locale.setDefault(Locale.FRENCH); 594 Locale.setDefault(Locale.GERMAN); 601 Locale.setDefault(Locale.KOREA) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
DateTimeFieldElement.h | 87 Locale& localeForOwner() const;
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
LocaleWin.h | 45 class PLATFORM_EXPORT LocaleWin : public Locale { 74 // Locale function:
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
LocaleICUTest.cpp | 92 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local 93 return locale->monthFormat(); 98 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local 99 return locale->timeFormat(); 104 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local 105 return locale->shortTimeFormat(); 110 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local 111 return locale->shortMonthLabels()[index]; 116 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local 117 return locale->shortStandAloneMonthLabels()[index] 122 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local 128 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local 134 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local 229 OwnPtr<Locale> locale = Locale::create(localeIdentifier); local 242 OwnPtr<Locale> locale = Locale::create(localeIdentifier); local [all...] |
/external/chromium_org/third_party/icu/source/common/ |
locutil.cpp | 32 * Release all static memory held by Locale Utility. 122 Locale& 123 LocaleUtility::initLocaleFromName(const UnicodeString& id, Locale& result) 132 * create a Locale. 134 * Problem: Locale ID strings may contain '@' which is a variant 137 * Hack: Since ICU code can handle locale IDs with multiple encodings 146 * There should be only at most one '@' in a locale ID. 165 result = Locale::createFromName(buffer); 171 LocaleUtility::initNameFromLocale(const Locale& locale, UnicodeString& result [all...] |
servrbf.cpp | 53 ICUResourceBundleFactory::handleCreate(const Locale& loc, int32_t /* kind */, const ICUService* /* service */, UErrorCode& status) const
|
/external/chromium_org/third_party/icu/source/i18n/ |
currfmt.cpp | 22 CurrencyFormat::CurrencyFormat(const Locale& locale, UErrorCode& ec) : 25 fmt = NumberFormat::createCurrencyInstance(locale, ec);
|
ethpccal.h | 114 * with the given locale. 116 * @param aLocale The given locale. 123 EthiopicCalendar(const Locale& aLocale, UErrorCode& success, EEraType type = AMETE_MIHRET_ERA);
|
indiancal.h | 143 * with the given locale. 145 * @param aLocale The given locale. 151 IndianCalendar(const Locale& aLocale, UErrorCode &success);
|
persncal.h | 141 * with the given locale. 143 * @param aLocale The given locale. 148 PersianCalendar(const Locale& aLocale, UErrorCode &success);
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
format.h | 243 /** Get the locale for this format object. You can choose between valid and actual locale. 244 * @param type type of the locale we're looking for (valid or actual) 246 * @return the locale 249 Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const; 251 /** Get the locale for this format object. You can choose between valid and actual locale. 252 * @param type type of the locale we're looking for (valid or actual) 254 * @return the locale
|
numsys.h | 52 * Alternate numbering systems can be specified to a locale by using the 53 * numbers locale keyword. 79 * Create the default numbering system associated with the specified locale. 80 * @param inLocale The given locale. 84 static NumberingSystem* U_EXPORT2 createInstance(const Locale & inLocale, UErrorCode& status); 87 * Create the default numbering system associated with the default locale.
|