/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ConfigurationControllerImpl.kt | 33 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/ |
D | AndroidLocale.java | 53 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/ |
D | LocaleList.java | 165 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/ |
D | LineBreakerUtil.h | 59 const LocaleList& localeList = LocaleListCache::getById(localeListId); in getEffectiveLocale() local 60 return localeList.empty() ? Locale() : localeList[0]; in getEffectiveLocale()
|
D | LayoutCore.cpp | 462 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()
|
D | FontCollection.cpp | 217 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/ |
D | ModelFileManager.java | 76 public ModelFile findBestModelFile(@Nullable LocaleList localeList) { in findBestModelFile() argument 77 final String languages = localeList == null || localeList.isEmpty() in findBestModelFile() 79 : localeList.toLanguageTags(); in findBestModelFile()
|
D | TextClassifierImpl.java | 544 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/ |
D | LocalePicker.java | 139 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/ |
D | Font.java | 98 @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/ |
D | TextAppearanceSpan.java | 157 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/ |
D | SettingsHelper.java | 380 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/ |
D | ViewStructure.java | 436 public abstract void setLocaleList(LocaleList localeList); in setLocaleList() argument
|
/frameworks/base/core/java/android/app/assist/ |
D | AssistStructure.java | 2020 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/ |
D | ViewNode.java | 937 public void setLocaleList(LocaleList localeList) { in setLocaleList() argument 938 mNode.mLocaleList = localeList; in setLocaleList()
|
/frameworks/minikin/tests/unittest/ |
D | FontCollectionItemizeTest.cpp | 61 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/ |
D | TextView.java | 3981 final LocaleList localeList = LocaleList.forLanguageTags(localeString); in readTextAppearance() local 3982 if (!localeList.isEmpty()) { in readTextAppearance() 3983 attributes.mTextLocales = localeList; in readTextAppearance()
|