Searched refs:availableLangs (Results 1 – 4 of 4) sorted by relevance
220 ArrayList<String> availableLangs = in onVoiceDataIntegrityCheckDone() local222 if (availableLangs == null || availableLangs.size() == 0) { in onVoiceDataIntegrityCheckDone()227 updateDefaultLanguagePreference(availableLangs); in onVoiceDataIntegrityCheckDone()338 private void updateDefaultLanguagePreference(@NonNull ArrayList<String> availableLangs) { in updateDefaultLanguagePreference() argument341 for (int i = 0; i < availableLangs.size(); i++) { in updateDefaultLanguagePreference()342 Locale locale = mEnginesHelper.parseLocaleString(availableLangs.get(i)); in updateDefaultLanguagePreference()351 CharSequence[] entries = new CharSequence[availableLangs.size() + 1]; in updateDefaultLanguagePreference()352 CharSequence[] entryValues = new CharSequence[availableLangs.size() + 1]; in updateDefaultLanguagePreference()
266 private void updateDefaultLocalePref(ArrayList<String> availableLangs) { in updateDefaultLocalePref() argument267 if (availableLangs == null || availableLangs.size() == 0) { in updateDefaultLocalePref()277 new ArrayList<>(availableLangs.size()); in updateDefaultLocalePref()278 for (int i = 0; i < availableLangs.size(); i++) { in updateDefaultLocalePref()279 Locale locale = mEnginesHelper.parseLocaleString(availableLangs.get(i)); in updateDefaultLocalePref()290 CharSequence[] entries = new CharSequence[availableLangs.size()+1]; in updateDefaultLocalePref()291 CharSequence[] entryValues = new CharSequence[availableLangs.size()+1]; in updateDefaultLocalePref()
488 final ArrayList<String> availableLangs = in updateDefaultLocalePref() local494 if (availableLangs == null || availableLangs.size() == 0) { in updateDefaultLocalePref()504 new ArrayList<Pair<String, Locale>>(availableLangs.size()); in updateDefaultLocalePref()505 for (int i = 0; i < availableLangs.size(); i++) { in updateDefaultLocalePref()506 Locale locale = mEnginesHelper.parseLocaleString(availableLangs.get(i)); in updateDefaultLocalePref()517 CharSequence[] entries = new CharSequence[availableLangs.size() + 1]; in updateDefaultLocalePref()518 CharSequence[] entryValues = new CharSequence[availableLangs.size() + 1]; in updateDefaultLocalePref()