Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTtsEngineSettingsFragment.java259 private void updateDefaultLocalePref(ArrayList<String> availableLangs) { in updateDefaultLocalePref() argument
260 if (availableLangs == null || availableLangs.size() == 0) { in updateDefaultLocalePref()
270 new ArrayList<>(availableLangs.size()); in updateDefaultLocalePref()
271 for (int i = 0; i < availableLangs.size(); i++) { in updateDefaultLocalePref()
272 Locale locale = mEnginesHelper.parseLocaleString(availableLangs.get(i)); in updateDefaultLocalePref()
288 CharSequence[] entries = new CharSequence[availableLangs.size()+1]; in updateDefaultLocalePref()
289 CharSequence[] entryValues = new CharSequence[availableLangs.size()+1]; in updateDefaultLocalePref()
/packages/apps/Settings/src/com/android/settings/tts/
DTtsEngineSettingsFragment.java236 private void updateDefaultLocalePref(ArrayList<String> availableLangs) { in updateDefaultLocalePref() argument
237 if (availableLangs == null || availableLangs.size() == 0) { in updateDefaultLocalePref()
247 new ArrayList<Pair<String, Locale>>(availableLangs.size()); in updateDefaultLocalePref()
248 for (int i = 0; i < availableLangs.size(); i++) { in updateDefaultLocalePref()
249 Locale locale = mEnginesHelper.parseLocaleString(availableLangs.get(i)); in updateDefaultLocalePref()
266 CharSequence[] entries = new CharSequence[availableLangs.size()+1]; in updateDefaultLocalePref()
267 CharSequence[] entryValues = new CharSequence[availableLangs.size()+1]; in updateDefaultLocalePref()