Searched refs:availableLangs (Results 1 – 3 of 3) sorted by relevance
246 ArrayList<String> availableLangs = in onVoiceDataIntegrityCheckDone() local248 if (availableLangs == null || availableLangs.size() == 0) { in onVoiceDataIntegrityCheckDone()252 updateDefaultLanguagePreference(availableLangs); in onVoiceDataIntegrityCheckDone()363 private void updateDefaultLanguagePreference(@NonNull ArrayList<String> availableLangs) { in updateDefaultLanguagePreference() argument366 for (int i = 0; i < availableLangs.size(); i++) { in updateDefaultLanguagePreference()367 Locale locale = mEnginesHelper.parseLocaleString(availableLangs.get(i)); in updateDefaultLanguagePreference()376 CharSequence[] entries = new CharSequence[availableLangs.size() + 1]; in updateDefaultLanguagePreference()377 CharSequence[] entryValues = new CharSequence[availableLangs.size() + 1]; in updateDefaultLanguagePreference()
268 private void updateDefaultLocalePref(ArrayList<String> availableLangs) { in updateDefaultLocalePref() argument269 if (availableLangs == null || availableLangs.size() == 0) { in updateDefaultLocalePref()279 new ArrayList<>(availableLangs.size()); in updateDefaultLocalePref()280 for (int i = 0; i < availableLangs.size(); i++) { in updateDefaultLocalePref()281 Locale locale = mEnginesHelper.parseLocaleString(availableLangs.get(i)); in updateDefaultLocalePref()292 CharSequence[] entries = new CharSequence[availableLangs.size()+1]; in updateDefaultLocalePref()293 CharSequence[] entryValues = new CharSequence[availableLangs.size()+1]; in updateDefaultLocalePref()
513 final ArrayList<String> availableLangs = in updateDefaultLocalePref() local519 if (availableLangs == null || availableLangs.size() == 0) { in updateDefaultLocalePref()529 new ArrayList<Pair<String, Locale>>(availableLangs.size()); in updateDefaultLocalePref()530 for (int i = 0; i < availableLangs.size(); i++) { in updateDefaultLocalePref()531 Locale locale = mEnginesHelper.parseLocaleString(availableLangs.get(i)); in updateDefaultLocalePref()546 CharSequence[] entries = new CharSequence[availableLangs.size() + 1]; in updateDefaultLocalePref()547 CharSequence[] entryValues = new CharSequence[availableLangs.size() + 1]; in updateDefaultLocalePref()