Searched refs:newPref (Results 1 – 5 of 5) sorted by relevance
193 final Preference newPref = new Preference(mScreen.getContext()); in createUserDictionaryPreference() local196 newPref.setTitle(Locale.getDefault().getDisplayName()); in createUserDictionaryPreference()197 newPref.setKey(Locale.getDefault().toString()); in createUserDictionaryPreference()200 newPref.setTitle(mContext.getString(R.string.user_dict_settings_all_languages)); in createUserDictionaryPreference()201 newPref.setKey(KEY_ALL_LANGUAGE); in createUserDictionaryPreference()202 newPref.setOrder(0); in createUserDictionaryPreference()204 newPref.setTitle(Utils.createLocaleFromString(locale).getDisplayName()); in createUserDictionaryPreference()205 newPref.setKey(locale); in createUserDictionaryPreference()208 newPref.getExtras().putString(KEY_LOCALE, locale); in createUserDictionaryPreference()210 newPref.setIntent(intent); in createUserDictionaryPreference()[all …]
140 final Preference newPref = new Preference(getActivity()); in createUserDictionaryPreference() local143 newPref.setTitle(Locale.getDefault().getDisplayName()); in createUserDictionaryPreference()146 newPref.setTitle(getString(R.string.user_dict_settings_all_languages)); in createUserDictionaryPreference()148 newPref.setTitle( in createUserDictionaryPreference()152 newPref.getExtras().putString("locale", localeString); in createUserDictionaryPreference()154 newPref.setIntent(intent); in createUserDictionaryPreference()155 newPref.setFragment(UserDictionarySettings.class.getName()); in createUserDictionaryPreference()156 return newPref; in createUserDictionaryPreference()
145 final RadioPreference newPref = (RadioPreference) preference; in onPreferenceTreeClick() local146 final String newKey = newPref.getKey(); in onPreferenceTreeClick()155 R.string.autofill_confirmation_message, newPref.getTitle())); in onPreferenceTreeClick()166 newPref.setChecked(true); in onPreferenceTreeClick()167 newPref.clearOtherRadioPreferences(getPreferenceScreen()); in onPreferenceTreeClick()
245 final Preference newPref = bindPreference(recycle, entry);246 group.addPreference(newPref);