/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
HttpResponseStub.java | 11 import java.util.Locale; 47 @Override public Locale getLocale() { 51 @Override public void setLocale(Locale locale) {
|
/frameworks/base/core/java/android/text/method/ |
WordIterator.java | 24 import java.util.Locale; 44 * Constructs a WordIterator using the default locale. 47 this(Locale.getDefault()); 51 * Constructs a new WordIterator for the specified locale. 52 * @param locale The locale to be used when analysing the text. 54 public WordIterator(Locale locale) { 55 mIterator = BreakIterator.getWordInstance(locale);
|
/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 | 32 import java.util.Locale; 95 final Locale l = Locale.getDefault();
|
/libcore/benchmarks/src/benchmarks/regression/ |
FormatterBenchmark.java | 22 import java.util.Locale; 51 Locale arabic = new Locale("ar");
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
UserDictionaryList.java | 31 import java.util.Locale; 48 new String[] { UserDictionary.Words.LOCALE }, 55 final int columnIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE); 57 String locale = cursor.getString(columnIndex); local 58 localeList.add(null != locale ? locale : ""); 61 localeList.add(Locale.getDefault().toString()); 66 * Creates the entries that allow the user to go into the user dictionary for each locale. 78 for (String locale : localeList) { 79 userDictGroup.addPreference(createUserDictionaryPreference(locale, activity)) [all...] |
/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;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
UserDictionaryList.java | 32 import java.util.Locale; 53 new String[] { UserDictionary.Words.LOCALE }, 61 final int columnIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE); 63 final String locale = cursor.getString(columnIndex); local 64 final boolean allLocale = TextUtils.isEmpty(locale); 65 localeList.add(allLocale ? "" : locale); 72 // For ICS, we need to show "For all languages" in case that the keyboard locale 73 // is different from the system locale 76 localeList.add(Locale.getDefault().toString()); 81 * Creates the entries that allow the user to go into the user dictionary for each locale [all...] |
/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() 272 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);
|
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);
|
/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/icu4c/common/ |
servlk.cpp | 112 Locale& 113 LocaleKey::canonicalLocale(Locale& result) const { 117 Locale& 118 LocaleKey::currentLocale(Locale& result) const {
|
/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...] |
/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...] |