Lines Matching defs:locale
57 String locale = cursor.getString(columnIndex);
58 localeList.add(null != locale ? locale : "");
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));
86 * @param locale The locale for which this user dictionary is for.
89 protected Preference createUserDictionaryPreference(String locale, Activity activity) {
92 if (null == locale) {
95 if ("".equals(locale))
98 newPref.setTitle(Utils.createLocaleFromString(locale).getDisplayName());
99 intent.putExtra("locale", locale);
100 newPref.getExtras().putString("locale", locale);