Searched refs:overlayLocales (Results 1 – 1 of 1) sorted by relevance
37 static LocaleList combineLocalesIfOverlayExists(LocaleList overlayLocales, in combineLocalesIfOverlayExists() argument39 if (overlayLocales == null || overlayLocales.isEmpty()) { in combineLocalesIfOverlayExists()40 return overlayLocales; in combineLocalesIfOverlayExists()42 return combineLocales(overlayLocales, baseLocales); in combineLocalesIfOverlayExists()49 private static LocaleList combineLocales(LocaleList overlayLocales, LocaleList baseLocales) { in combineLocales() argument50 Locale[] combinedLocales = new Locale[overlayLocales.size() + baseLocales.size()]; in combineLocales()51 for (int i = 0; i < overlayLocales.size(); i++) { in combineLocales()52 combinedLocales[i] = overlayLocales.get(i); in combineLocales()55 combinedLocales[i + overlayLocales.size()] = baseLocales.get(i); in combineLocales()