/external/icu4c/i18n/unicode/ |
alphaindex.h | 102 * (according to the locale's collation). Strings can be added to the index; 114 * then it is a good idea to call addLabels(Locale::getEnglish(), status).</p> 296 * Construct an AlphabeticIndex object for the specified locale. If the locale's 298 * synthesized based on the locale's exemplar characters. The locale 302 * @param locale the desired locale. 307 AlphabeticIndex(const Locale &locale, UErrorCode &status) [all...] |
dtitvinf.h | 39 * formatter when user pass in skeleton and locale. 106 * in an interval pattern is the earlier date. There might be a locale in which 108 * We use fallback format for the default order for the locale. 110 * the first date in the interval pattern for this locale is earlier date. 123 * the locale. 124 * By using a Locale parameter, the DateIntervalFormat object is 126 * default locale. 172 * Construct DateIntervalInfo for the given locale, 173 * @param locale the interval patterns are loaded from the appropriate calendar 174 * data (specified calendar or default calendar) in this locale [all...] |
/external/icu4c/i18n/ |
upluralrules.cpp | 21 uplrules_open(const char *locale, UErrorCode *status) 23 return uplrules_openForType(locale, UPLURAL_TYPE_CARDINAL, status); 27 uplrules_openForType(const char *locale, UPluralType type, UErrorCode *status) 29 return (UPluralRules*)PluralRules::forLocale(Locale(locale), type, *status);
|
plurfmt.cpp | 36 : locale(Locale::getDefault()), 43 PluralFormat::PluralFormat(const Locale& loc, UErrorCode& status) 44 : locale(loc), 52 : locale(Locale::getDefault()), 59 PluralFormat::PluralFormat(const Locale& loc, 62 : locale(loc), 69 PluralFormat::PluralFormat(const Locale& loc, 72 : locale(loc) [all...] |
/external/icu4c/samples/datefmt/answers/ |
main_0.cpp | 57 Locale loc(LANGUAGE[i]);
|
main_1.cpp | 56 Locale loc(LANGUAGE[i]);
|
/external/icu4c/test/intltest/ |
genderinfotest.cpp | 43 void checkLocale(const Locale& locale, UGender expected, const UGender* genderList, int32_t listLength); 95 checkLocale(Locale::getUS(), expected_neutral, genderList, listLength); 97 checkLocale(Locale::getFrench(), expected_taints, genderList, listLength); 101 const Locale& locale, UGender expected, const UGender* genderList, int32_t listLength) { 103 const GenderInfo* gi = GenderInfo::getInstance(locale, status); 114 errln("For locale: %s expected: %d got %d", locale.getName(), expected, actual);
|
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...] |
listformattertest.h | 49 const Locale& locale,
|
tmsgfmt.h | 81 UnicodeString pattern ,Locale locale , UErrorCode& err, char* errMsg);
|
locnmtst.cpp | 90 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getGermany()); 98 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS(), ULDN_DIALECT_NAMES); 106 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS()); 117 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS()); 127 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS()); 137 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS()); 149 ULocaleDisplayNames *ldn = uldn_open(Locale::getGermany().getName(), ULDN_STANDARD_NAMES, &status); 157 // make sure that NULL gives us the default locale as usual 159 const char *locale = uldn_getLocale(ldn); local 160 if(0 != uprv_strcmp(uloc_getDefault(), locale)) { [all...] |
/frameworks/base/core/java/android/widget/ |
Chronometer.java | 35 import java.util.Locale; 71 private Locale mFormatterLocale; 233 Locale loc = Locale.getDefault();
|
/frameworks/base/core/tests/overlaytests/OverlayTest/src/com/android/overlaytest/ |
OverlayBaseTest.java | 7 import java.util.Locale; 32 Locale locale = new Locale(code); local 33 Locale.setDefault(locale); 35 config.locale = locale;
|
/libcore/luni/src/test/java/libcore/java/util/ |
DateTest.java | 21 import java.util.Locale; 29 // to expect. (Though we still assume an "en" locale.)
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
UserDictionaryList.java | 37 import java.util.Locale; 58 null == intent ? null : intent.getStringExtra("locale"); 62 null == arguments ? null : arguments.getString("locale"); 64 final String locale; local 66 locale = localeFromArguments; 68 locale = localeFromIntent; 70 locale = null; 72 mLocale = locale; 78 new String[] { UserDictionary.Words.LOCALE }, 85 final int columnIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE); 87 final String locale = cursor.getString(columnIndex); local 106 final String locale = subtype.getLocale(); local [all...] |
/packages/apps/Tag/src/com/android/apps/tag/record/ |
TextRecord.java | 35 import java.util.Locale; 61 public String getSnippet(Context context, Locale locale) { 72 * TODO: this should return a {@link java.util.Locale} 129 public static NdefRecord newTextRecord(String text, Locale locale) { 130 return newTextRecord(text, locale, true); 133 public static NdefRecord newTextRecord(String text, Locale locale, boolean encodeInUtf8) { 135 Preconditions.checkNotNull(locale); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
UserDictionaryList.java | 37 import java.util.Locale; 58 new String[] { UserDictionary.Words.LOCALE }, 65 final int columnIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE); 67 final String locale = cursor.getString(columnIndex); local 68 localeSet.add(null != locale ? locale : ""); 72 // For ICS, we need to show "For all languages" in case that the keyboard locale 73 // is different from the system locale 85 final String locale = subtype.getLocale(); local 86 if (!TextUtils.isEmpty(locale)) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
FlagManager.java | 30 import java.util.Locale; 35 * to {@link LocaleManager}. It also contains some locale related display 101 // Prefer the local registration of the current locale; even if 102 // for example the default locale for English is the US, if the current 103 // default locale is English, then use its associated country, which could 105 Locale locale = Locale.getDefault(); local 106 if (language.equals(locale.getLanguage())) { 107 Image flag = getFlag(locale.getCountry()) [all...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 31 import java.util.Locale; 48 private Locale mDefaultLocale; 57 mDefaultLocale = Locale.getDefault(); 67 if (!Locale.getDefault().equals(mDefaultLocale)) { 68 Locale.setDefault(mDefaultLocale); 122 if (!mDefaultLocale.equals(Locale.US)) { 123 Locale.setDefault(Locale.US);
|
DateUtilsTest.java | 26 import java.util.Locale; 43 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { 63 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { 79 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { 87 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { 146 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { 166 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { 206 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) {
|
/external/apache-http/src/org/apache/http/conn/scheme/ |
Scheme.java | 33 import java.util.Locale; 104 this.name = name.toLowerCase(Locale.ENGLISH);
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
RFC2109DomainHandler.java | 33 import java.util.Locale; 95 host = host.toLowerCase(Locale.ENGLISH);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
ColorChooserPopupUIController.cpp | 54 , m_locale(Locale::defaultLocale()) 97 PagePopupClient::addProperty("otherColorLabel", locale().queryString(WebLocalizedString::OtherColorLabel), writer); 105 Locale& ColorChooserPopupUIController::locale() function in class:blink::ColorChooserPopupUIController
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
dtitvinf.h | 47 * formatter when user pass in skeleton and locale. 114 * in an interval pattern is the earlier date. There might be a locale in which 116 * We use fallback format for the default order for the locale. 118 * the first date in the interval pattern for this locale is earlier date. 131 * the locale. 132 * By using a Locale parameter, the DateIntervalFormat object is 134 * default locale. 178 * Construct DateIntervalInfo for the given locale, 179 * @param locale the interval patterns are loaded from the appropriate calendar 180 * data (specified calendar or default calendar) in this locale [all...] |
/external/icu4c/samples/case/ |
case.cpp | 65 string.toLower(Locale("tr", "TR")); /* Turkish lower case map string = 71 string.toUpper(Locale("tr", "TR")); /* Turkish upper case map string =
|