Home
last modified time | relevance | path

Searched refs:localeList (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/os/
DLocaleList.java164 final Locale[] localeList = new Locale[list.length]; in LocaleList() local
175 localeList[i] = localeClone; in LocaleList()
183 mList = localeList; in LocaleList()
209 final Locale[] localeList = new Locale[outputLength]; in LocaleList() local
210 localeList[0] = (Locale) topLocale.clone(); in LocaleList()
214 localeList[i + 1] = (Locale) otherLocales.mList[i].clone(); in LocaleList()
218 localeList[i + 1] = (Locale) otherLocales.mList[i].clone(); in LocaleList()
221 localeList[i] = (Locale) otherLocales.mList[i].clone(); in LocaleList()
227 sb.append(localeList[i].toLanguageTag()); in LocaleList()
233 mList = localeList; in LocaleList()
/frameworks/support/compat/java/android/support/v4/os/
DLocaleListHelper.java178 final Locale[] localeList = new Locale[list.length]; in LocaleListHelper() local
189 localeList[i] = localeClone; in LocaleListHelper()
197 mList = localeList; in LocaleListHelper()
224 final Locale[] localeList = new Locale[outputLength]; in LocaleListHelper() local
225 localeList[0] = (Locale) topLocale.clone(); in LocaleListHelper()
229 localeList[i + 1] = (Locale) otherLocales.mList[i].clone(); in LocaleListHelper()
233 localeList[i + 1] = (Locale) otherLocales.mList[i].clone(); in LocaleListHelper()
236 localeList[i] = (Locale) otherLocales.mList[i].clone(); in LocaleListHelper()
242 sb.append(LocaleHelper.toLanguageTag(localeList[i])); in LocaleListHelper()
249 mList = localeList; in LocaleListHelper()
DLocaleListCompat.java204 public static LocaleListCompat create(@NonNull Locale... localeList) { in create() argument
206 instance.setLocaleListArray(localeList); in create()
353 private void setLocaleList(LocaleList localeList) { in setLocaleList() argument
354 final int localeListSize = localeList.size(); in setLocaleList()
358 localeArrayList[i] = localeList.get(i); in setLocaleList()
/frameworks/base/core/java/com/android/internal/app/
DLocalePicker.java104 List<String> localeList = new ArrayList<String>(locales.length); in getAllAssetLocales() local
105 Collections.addAll(localeList, locales); in getAllAssetLocales()
110 localeList.remove(locale); in getAllAssetLocales()
114 Collections.sort(localeList); in getAllAssetLocales()
118 final ArrayList<LocaleInfo> localeInfos = new ArrayList<LocaleInfo>(localeList.size()); in getAllAssetLocales()
119 for (String locale : localeList) { in getAllAssetLocales()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DConfigurationControllerImpl.java79 final LocaleList localeList = newConfig.getLocales(); in onConfigurationChanged() local
80 if (!localeList.equals(mLocaleList)) { in onConfigurationChanged()
81 mLocaleList = localeList; in onConfigurationChanged()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifierImpl.java203 private SmartSelection getSmartSelection(LocaleList localeList) throws FileNotFoundException { in getSmartSelection() argument
205 localeList = localeList == null ? LocaleList.getEmptyLocaleList() : localeList; in getSmartSelection()
206 final Locale locale = findBestSupportedLocaleLocked(localeList); in getSmartSelection()
304 private Locale findBestSupportedLocaleLocked(LocaleList localeList) { in findBestSupportedLocaleLocked() argument
306 final String languages = localeList.isEmpty() in findBestSupportedLocaleLocked()
308 : localeList.toLanguageTags() + "," + LocaleList.getDefault().toLanguageTags(); in findBestSupportedLocaleLocked()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java398 final LocaleList localeList = LocaleList.forLanguageTags(localeCodes); in setLocaleData() local
399 if (localeList.isEmpty()) { in setLocaleData()
406 final LocaleList merged = resolveLocales(localeList, currentLocales, supportedLocales); in setLocaleData()
/frameworks/base/core/java/android/view/
DViewStructure.java388 public abstract void setLocaleList(LocaleList localeList); in setLocaleList() argument
/frameworks/support/design/tests/src/android/support/design/testutils/
DViewStructureImpl.java275 public void setLocaleList(LocaleList localeList) { in setLocaleList() argument
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java1777 public void setLocaleList(LocaleList localeList) { in setLocaleList() argument
1778 mNode.mLocaleList = localeList; in setLocaleList()
2015 LocaleList localeList = node.getLocaleList(); in dump() local
2016 if (localeList != null) { in dump()
2017 Log.i(TAG, prefix + " LocaleList: " + localeList); in dump()