Home
last modified time | relevance | path

Searched refs:LocaleRenderer (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DUserDictionaryAddWordContents.java197 public static class LocaleRenderer { class in UserDictionaryAddWordContents
202 public LocaleRenderer(final Context context, final String localeString) { in LocaleRenderer() method in UserDictionaryAddWordContents.LocaleRenderer
229 final ArrayList<LocaleRenderer> list, final String locale) { in addLocaleDisplayNameToList()
231 list.add(new LocaleRenderer(context, locale)); in addLocaleDisplayNameToList()
236 public ArrayList<LocaleRenderer> getLocalesList(final Activity activity) { in getLocalesList()
245 final ArrayList<LocaleRenderer> localesList = new ArrayList<LocaleRenderer>(); in getLocalesList()
260 localesList.add(new LocaleRenderer(activity, null)); // meaning: select another locale in getLocalesList()
DUserDictionaryAddWordFragment.java31 import com.android.car.developeroptions.inputmethod.UserDictionaryAddWordContents.LocaleRenderer;
119 final ArrayList<LocaleRenderer> localesList = mContents.getLocalesList(getActivity()); in updateSpinner()
121 final ArrayAdapter<LocaleRenderer> adapter = new ArrayAdapter<LocaleRenderer>(getActivity(), in updateSpinner()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionaryAddWordContents.java197 public static class LocaleRenderer { class in UserDictionaryAddWordContents
202 public LocaleRenderer(final Context context, final String localeString) { in LocaleRenderer() method in UserDictionaryAddWordContents.LocaleRenderer
229 final ArrayList<LocaleRenderer> list, final String locale) { in addLocaleDisplayNameToList()
231 list.add(new LocaleRenderer(context, locale)); in addLocaleDisplayNameToList()
236 public ArrayList<LocaleRenderer> getLocalesList(final Activity activity) { in getLocalesList()
245 final ArrayList<LocaleRenderer> localesList = new ArrayList<LocaleRenderer>(); in getLocalesList()
260 localesList.add(new LocaleRenderer(activity, null)); // meaning: select another locale in getLocalesList()
DUserDictionaryAddWordFragment.java31 import com.android.settings.inputmethod.UserDictionaryAddWordContents.LocaleRenderer;
119 final ArrayList<LocaleRenderer> localesList = mContents.getLocalesList(getActivity()); in updateSpinner()
121 final ArrayAdapter<LocaleRenderer> adapter = new ArrayAdapter<LocaleRenderer>(getActivity(), in updateSpinner()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionaryAddWordContents.java220 public static class LocaleRenderer { class in UserDictionaryAddWordContents
224 public LocaleRenderer(final Context context, @Nullable final String localeString) { in LocaleRenderer() method in UserDictionaryAddWordContents.LocaleRenderer
248 final ArrayList<LocaleRenderer> list, final String locale) { in addLocaleDisplayNameToList()
250 list.add(new LocaleRenderer(context, locale)); in addLocaleDisplayNameToList()
255 public ArrayList<LocaleRenderer> getLocalesList(final Activity activity) { in getLocalesList()
263 final ArrayList<LocaleRenderer> localesList = new ArrayList<>(); in getLocalesList()
278 localesList.add(new LocaleRenderer(activity, null)); // meaning: select another locale in getLocalesList()
DUserDictionaryAddWordFragment.java20 import com.android.inputmethod.latin.userdictionary.UserDictionaryAddWordContents.LocaleRenderer;
133 final ArrayList<LocaleRenderer> localesList = mContents.getLocalesList(getActivity()); in updateSpinner()
137 final ArrayAdapter<LocaleRenderer> adapter = new ArrayAdapter<>( in updateSpinner()
156 final LocaleRenderer locale = (LocaleRenderer)parent.getItemAtPosition(pos); in onItemSelected()