Searched refs:availableLangs (Results 1 – 2 of 2) sorted by relevance
259 private void updateDefaultLocalePref(ArrayList<String> availableLangs) { in updateDefaultLocalePref() argument260 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()
236 private void updateDefaultLocalePref(ArrayList<String> availableLangs) { in updateDefaultLocalePref() argument237 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()