Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DConfigurationControllerImpl.kt33 private var localeList: LocaleList? = null variable
44 localeList = currentConfig.locales
75 val localeList = newConfig.locales in onConfigurationChanged() constant
76 if (localeList != this.localeList) { in onConfigurationChanged()
77 this.localeList = localeList in onConfigurationChanged()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DAndroidLocale.java53 LocaleList localeList = context.getConfiguration().getLocales(); in getDefault() local
54 if (!localeList.isEmpty()) { in getDefault()
55 return localeList.get(0); in getDefault()
/frameworks/base/core/java/android/os/
DLocaleList.java165 final Locale[] localeList = new Locale[list.length]; in LocaleList() local
176 localeList[i] = localeClone; in LocaleList()
184 mList = localeList; in LocaleList()
210 final Locale[] localeList = new Locale[outputLength]; in LocaleList() local
211 localeList[0] = (Locale) topLocale.clone(); in LocaleList()
215 localeList[i + 1] = (Locale) otherLocales.mList[i].clone(); in LocaleList()
219 localeList[i + 1] = (Locale) otherLocales.mList[i].clone(); in LocaleList()
222 localeList[i] = (Locale) otherLocales.mList[i].clone(); in LocaleList()
228 sb.append(localeList[i].toLanguageTag()); in LocaleList()
234 mList = localeList; in LocaleList()
/frameworks/minikin/libs/minikin/
DLineBreakerUtil.h59 const LocaleList& localeList = LocaleListCache::getById(localeListId); in getEffectiveLocale() local
60 return localeList.empty() ? Locale() : localeList[0]; in getEffectiveLocale()
DLayoutCore.cpp462 const LocaleList& localeList = LocaleListCache::getById(paint.localeListId); in LayoutPiece() local
463 if (localeList.size() != 0) { in LayoutPiece()
464 hb_language_t hbLanguage = localeList.getHbLanguage(0); in LayoutPiece()
465 for (size_t i = 0; i < localeList.size(); ++i) { in LayoutPiece()
466 if (localeList[i].supportsHbScript(script)) { in LayoutPiece()
467 hbLanguage = localeList.getHbLanguage(i); in LayoutPiece()
DFontCollection.cpp217 const LocaleList& localeList = LocaleListCache::getById(userLocaleListId); in calcLocaleMatchingScore() local
220 const size_t maxCompareNum = std::min(localeList.size(), FONT_LOCALE_LIMIT); in calcLocaleMatchingScore()
223 score = score * 5u + localeList[i].calcScoreFor(fontLocaleList); in calcLocaleMatchingScore()
/frameworks/base/core/java/android/view/textclassifier/
DModelFileManager.java76 public ModelFile findBestModelFile(@Nullable LocaleList localeList) { in findBestModelFile() argument
77 final String languages = localeList == null || localeList.isEmpty() in findBestModelFile()
79 : localeList.toLanguageTags(); in findBestModelFile()
DTextClassifierImpl.java544 private AnnotatorModel getAnnotatorImpl(LocaleList localeList) in getAnnotatorImpl() argument
547 localeList = localeList == null ? LocaleList.getDefault() : localeList; in getAnnotatorImpl()
549 mAnnotatorModelFileManager.findBestModelFile(localeList); in getAnnotatorImpl()
552 "No annotator model for " + localeList.toLanguageTags()); in getAnnotatorImpl()
/frameworks/base/core/java/com/android/internal/app/
DLocalePicker.java139 List<String> localeList = new ArrayList<String>(locales.length); in getAllAssetLocales() local
140 Collections.addAll(localeList, locales); in getAllAssetLocales()
142 Collections.sort(localeList); in getAllAssetLocales()
146 final ArrayList<LocaleInfo> localeInfos = new ArrayList<LocaleInfo>(localeList.size()); in getAllAssetLocales()
147 for (String locale : localeList) { in getAllAssetLocales()
/frameworks/base/graphics/java/android/graphics/fonts/
DFont.java98 @NonNull String localeList) { in Builder() argument
101 mLocaleList = localeList; in Builder()
433 @Nullable FontVariationAxis[] axes, @NonNull String localeList) { in Font() argument
440 mLocaleList = localeList; in Font()
/frameworks/base/core/java/android/text/style/
DTextAppearanceSpan.java157 LocaleList localeList = LocaleList.forLanguageTags(localeString); in TextAppearanceSpan() local
158 if (!localeList.isEmpty()) { in TextAppearanceSpan()
159 mTextLocales = localeList; in TextAppearanceSpan()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java380 final LocaleList localeList = LocaleList.forLanguageTags(localeCodes); in setLocaleData() local
381 if (localeList.isEmpty()) { in setLocaleData()
388 final LocaleList merged = resolveLocales(localeList, currentLocales, supportedLocales); in setLocaleData()
/frameworks/base/core/java/android/view/
DViewStructure.java436 public abstract void setLocaleList(LocaleList localeList); in setLocaleList() argument
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java2020 public void setLocaleList(LocaleList localeList) { in setLocaleList() argument
2021 mNode.mLocaleList = localeList; in setLocaleList()
2262 LocaleList localeList = node.getLocaleList(); in dump() local
2263 if (localeList != null) { in dump()
2264 Log.i(TAG, prefix + " LocaleList: " + localeList); in dump()
/frameworks/base/core/java/android/view/contentcapture/
DViewNode.java937 public void setLocaleList(LocaleList localeList) { in setLocaleList() argument
938 mNode.mLocaleList = localeList; in setLocaleList()
/frameworks/minikin/tests/unittest/
DFontCollectionItemizeTest.cpp61 const std::string& localeList) { in itemize() argument
67 const uint32_t localeListId = registerLocaleList(localeList); in itemize()
87 const char* str, const std::string& localeList) { in itemize() argument
88 return itemize(collection, str, FontStyle(), localeList); in itemize()
/frameworks/base/core/java/android/widget/
DTextView.java3981 final LocaleList localeList = LocaleList.forLanguageTags(localeString); in readTextAppearance() local
3982 if (!localeList.isEmpty()) { in readTextAppearance()
3983 attributes.mTextLocales = localeList; in readTextAppearance()