Searched refs:availableLangs (Results 1 – 4 of 4) sorted by relevance
223 ArrayList<String> availableLangs = in onVoiceDataIntegrityCheckDone() local225 if (availableLangs == null || availableLangs.size() == 0) { in onVoiceDataIntegrityCheckDone()230 updateDefaultLanguagePreference(availableLangs); in onVoiceDataIntegrityCheckDone()341 private void updateDefaultLanguagePreference(@NonNull ArrayList<String> availableLangs) { in updateDefaultLanguagePreference() argument344 for (int i = 0; i < availableLangs.size(); i++) { in updateDefaultLanguagePreference()345 Locale locale = mEnginesHelper.parseLocaleString(availableLangs.get(i)); in updateDefaultLanguagePreference()354 CharSequence[] entries = new CharSequence[availableLangs.size() + 1]; in updateDefaultLanguagePreference()355 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()