Searched refs:localeSet (Results 1 – 5 of 5) sorted by relevance
84 final TreeSet<String> localeSet = new TreeSet<>(); in getUserDictionaryLocalesSet() local87 return localeSet; in getUserDictionaryLocalesSet()94 localeSet.add(null != locale ? locale : ""); in getUserDictionaryLocalesSet()118 localeSet.add(locale); in getUserDictionaryLocalesSet()127 if (!localeSet.contains(Locale.getDefault().getLanguage())) { in getUserDictionaryLocalesSet()128 localeSet.add(Locale.getDefault().toString()); in getUserDictionaryLocalesSet()131 return localeSet; in getUserDictionaryLocalesSet()143 final TreeSet<String> localeSet = getUserDictLocalesSet(mContext); in createUserDictSettings() local150 localeSet.add(mLocale); in createUserDictSettings()152 if (localeSet.size() > 1) { in createUserDictSettings()[all …]
61 final TreeSet<String> localeSet = new TreeSet<>(); in getUserDictionaryLocalesSet() local71 localeSet.add(null != locale ? locale : ""); in getUserDictionaryLocalesSet()80 localeSet.add(""); in getUserDictionaryLocalesSet()93 localeSet.add(locale); in getUserDictionaryLocalesSet()102 if (!localeSet.contains(Locale.getDefault().getLanguage().toString())) { in getUserDictionaryLocalesSet()103 localeSet.add(Locale.getDefault().toString()); in getUserDictionaryLocalesSet()106 return localeSet; in getUserDictionaryLocalesSet()116 final TreeSet<String> localeSet = in createUserDictSettings() local119 if (localeSet.size() > 1) { in createUserDictSettings()122 localeSet.add(""); in createUserDictSettings()[all …]
48 final TreeSet<String> localeSet = getDictionaryLocales(); in updateState() local51 if (localeSet.size() <= 1) { in updateState()52 if (!localeSet.isEmpty()) { in updateState()61 extras.putString("locale", localeSet.first()); in updateState()