Home
last modified time | relevance | path

Searched refs:newPref (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionaryListPreferenceController.java193 final Preference newPref = new Preference(mScreen.getContext()); in createUserDictionaryPreference() local
196 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 …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DUserDictionaryListPreferenceController.java193 final Preference newPref = new Preference(mScreen.getContext()); in createUserDictionaryPreference() local
196 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 …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionaryList.java140 final Preference newPref = new Preference(getActivity()); in createUserDictionaryPreference() local
143 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()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/autofill/
DAutofillPickerFragment.java145 final RadioPreference newPref = (RadioPreference) preference; in onPreferenceTreeClick() local
146 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()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAllAppsFragment.java245 final Preference newPref = bindPreference(recycle, entry);
246 group.addPreference(newPref);