Searched refs:availableLangs (Results 1 – 3 of 3) sorted by relevance
269 private void updateDefaultLocalePref(ArrayList<String> availableLangs) { in updateDefaultLocalePref() argument270 if (availableLangs == null || availableLangs.size() == 0) { in updateDefaultLocalePref()280 new ArrayList<>(availableLangs.size()); in updateDefaultLocalePref()281 for (int i = 0; i < availableLangs.size(); i++) { in updateDefaultLocalePref()282 Locale locale = mEnginesHelper.parseLocaleString(availableLangs.get(i)); in updateDefaultLocalePref()293 CharSequence[] entries = new CharSequence[availableLangs.size()+1]; in updateDefaultLocalePref()294 CharSequence[] entryValues = new CharSequence[availableLangs.size()+1]; in updateDefaultLocalePref()
254 ArrayList<String> availableLangs = in onVoiceDataIntegrityCheckDone() local256 if (availableLangs == null || availableLangs.size() == 0) { in onVoiceDataIntegrityCheckDone()260 updateDefaultLanguagePreference(availableLangs); in onVoiceDataIntegrityCheckDone()376 private void updateDefaultLanguagePreference(@NonNull ArrayList<String> availableLangs) { in updateDefaultLanguagePreference() argument379 for (int i = 0; i < availableLangs.size(); i++) { in updateDefaultLanguagePreference()380 Locale locale = mEnginesHelper.parseLocaleString(availableLangs.get(i)); in updateDefaultLanguagePreference()389 CharSequence[] entries = new CharSequence[availableLangs.size() + 1]; in updateDefaultLanguagePreference()390 CharSequence[] entryValues = new CharSequence[availableLangs.size() + 1]; in updateDefaultLanguagePreference()
515 final ArrayList<String> availableLangs = in updateDefaultLocalePref() local521 if (availableLangs == null || availableLangs.size() == 0) { in updateDefaultLocalePref()531 new ArrayList<Pair<String, Locale>>(availableLangs.size()); in updateDefaultLocalePref()532 for (int i = 0; i < availableLangs.size(); i++) { in updateDefaultLocalePref()533 Locale locale = mEnginesHelper.parseLocaleString(availableLangs.get(i)); in updateDefaultLocalePref()548 CharSequence[] entries = new CharSequence[availableLangs.size() + 1]; in updateDefaultLocalePref()549 CharSequence[] entryValues = new CharSequence[availableLangs.size() + 1]; in updateDefaultLocalePref()