HomeSort by relevance Sort by last modified time
    Searched full:localeset (Results 1 - 11 of 11) sorted by null

  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
LocaleSetTest.java 27 final LocaleSet locales = new LocaleSet(primaryLocale, secondaryLocale);
31 final LocaleSet parseLocales = LocaleSet.getLocaleSet(localeString);
44 final LocaleSet expected = new LocaleSet(expectedPrimary, expectedSecondary);
45 final LocaleSet actual = LocaleSet.getLocaleSet(localeString).normalize();
ContactLocaleUtilsTest.java 114 if (LocaleSet.isLocaleSimplifiedChinese(locale[i])) {
116 } else if (LocaleSet.isLocaleTraditionalChinese(locale[i])) {
245 new LocaleSet(Locale.ENGLISH, Locale.SIMPLIFIED_CHINESE));
260 new LocaleSet(Locale.ENGLISH, Locale.JAPAN));
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
LocaleSet.java 23 public class LocaleSet {
76 public static LocaleSet getDefault() {
77 return new LocaleSet(Locale.getDefault());
80 public LocaleSet(Locale locale) {
89 * set LocaleSet(Locale.US, Locale.CHINA).
92 * @return LocaleSet for specified locale string, or default set if null
95 public static LocaleSet getLocaleSet(String localeString) {
109 return new LocaleSet(primaryLocale, secondaryLocale);
112 return new LocaleSet(primaryLocale);
121 public LocaleSet(Locale primaryLocale, Locale secondaryLocale)
    [all...]
ContactLocaleUtils.java 76 public ContactLocaleUtilsBase(LocaleSet locales) {
216 public JapaneseContactUtils(LocaleSet locales) {
358 public SimplifiedChineseContactUtils(LocaleSet locales) {
414 private final LocaleSet mLocales;
417 private ContactLocaleUtils(LocaleSet locales) {
419 mLocales = LocaleSet.getDefault();
434 public boolean isLocale(LocaleSet locales) {
440 sSingleton = new ContactLocaleUtils(LocaleSet.getDefault());
447 setLocales(new LocaleSet(locale));
450 public static synchronized void setLocales(LocaleSet locales)
    [all...]
ContactsProvider2.java     [all...]
ContactsDatabaseHelper.java     [all...]
  /packages/apps/Settings/src/com/android/settings/inputmethod/
UserDictionaryList.java 79 final TreeSet<String> localeSet = new TreeSet<String>();
89 localeSet.add(null != locale ? locale : "");
100 // localeSet.add("");
113 localeSet.add(locale);
122 if (!localeSet.contains(Locale.getDefault().getLanguage().toString())) {
123 localeSet.add(Locale.getDefault().toString());
126 return localeSet;
136 final TreeSet<String> localeSet =
141 localeSet.add(mLocale);
143 if (localeSet.size() > 1)
    [all...]
InputMethodAndLanguageSettings.java 202 final TreeSet<String> localeSet = UserDictionaryList.getUserDictionaryLocalesSet(activity);
203 if (null == localeSet) {
216 if (localeSet.size() <= 1) {
217 if (!localeSet.isEmpty()) {
226 extras.putString("locale", localeSet.first());
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
UserDictionaryList.java 59 final TreeSet<String> localeSet = new TreeSet<>();
69 localeSet.add(null != locale ? locale : "");
78 localeSet.add("");
91 localeSet.add(locale);
100 if (!localeSet.contains(Locale.getDefault().getLanguage().toString())) {
101 localeSet.add(Locale.getDefault().toString());
104 return localeSet;
114 final TreeSet<String> localeSet =
117 if (localeSet.size() > 1) {
120 localeSet.add("")
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
plurults.cpp     [all...]
  /external/icu/icu4c/source/test/intltest/
plurults.cpp     [all...]

Completed in 1989 milliseconds