Home
last modified time | relevance | path

Searched refs:selectedLocales (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/localepicker/
DLocaleDragAndDropAdapter.java317 final ArrayList<String> selectedLocales = new ArrayList<>(); in saveState() local
320 selectedLocales.add(li.getId()); in saveState()
323 outInstanceState.putStringArrayList(CFGKEY_SELECTED_LOCALES, selectedLocales); in saveState()
334 final ArrayList<String> selectedLocales = in restoreState() local
336 if (selectedLocales == null || selectedLocales.isEmpty()) { in restoreState()
340 li.setChecked(selectedLocales.contains(li.getId())); in restoreState()
/packages/apps/Settings/src/com/android/settings/localepicker/
DLocaleDragAndDropAdapter.java317 final ArrayList<String> selectedLocales = new ArrayList<>(); in saveState() local
320 selectedLocales.add(li.getId()); in saveState()
323 outInstanceState.putStringArrayList(CFGKEY_SELECTED_LOCALES, selectedLocales); in saveState()
334 final ArrayList<String> selectedLocales = in restoreState() local
336 if (selectedLocales == null || selectedLocales.isEmpty()) { in restoreState()
340 li.setChecked(selectedLocales.contains(li.getId())); in restoreState()