Home
last modified time | relevance | path

Searched refs:mLocales (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/text/style/
DLocaleSpan.java37 private final LocaleList mLocales; field in LocaleSpan
53 mLocales = locale == null ? LocaleList.getEmptyLocaleList() : new LocaleList(locale); in LocaleSpan()
64 mLocales = locales; in LocaleSpan()
68 mLocales = LocaleList.CREATOR.createFromParcel(source); in LocaleSpan()
93 mLocales.writeToParcel(dest, flags); in writeToParcelInternal()
105 return mLocales.get(0); in getLocale()
113 return mLocales; in getLocales()
118 apply(ds, mLocales); in updateDrawState()
123 apply(paint, mLocales); in updateMeasureState()
/frameworks/base/services/tests/servicestests/src/com/android/server/locales/
DFakePackageConfigurationUpdater.java32 LocaleList mLocales = null; field in FakePackageConfigurationUpdater
41 mLocales = locales; in setLocales()
47 return mLocales != null; in commit()
56 return mLocales; in getStoredLocales()
/frameworks/base/core/java/android/hardware/input/
DKeyboardLayout.java38 private final LocaleList mLocales; field in KeyboardLayout
58 mLocales = locales; in KeyboardLayout()
68 mLocales = LocaleList.CREATOR.createFromParcel(source); in KeyboardLayout()
107 return mLocales; in getLocales()
139 mLocales.writeToParcel(dest, 0); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/wm/
DPackageConfigPersister.java140 initRecord.mLocales = locales; in loadUserPackages()
168 modifiedRecord.mLocales, mAtm.getGlobalConfiguration().getLocales())); in updateConfigIfNeeded()
193 && (record.mLocales == null || record.mLocales.isEmpty())) { in updateFromImpl()
214 && !updateLocales(record.mLocales, writeRecord)) { in updateFromImpl()
236 if (requestedLocaleList == null || requestedLocaleList.equals(record.mLocales)) { in updateLocales()
239 record.mLocales = requestedLocaleList; in updateLocales()
308 packageConfigRecord.mNightMode, packageConfigRecord.mLocales); in findPackageConfiguration()
327 pw.println(" Locales : " + packageConfig.mLocales); in dump()
338 LocaleList mLocales; field in PackageConfigPersister.PackageConfigRecord
352 + " nightMode " + mNightMode + " locales " + mLocales; in toString()
[all …]
DPackageConfigurationUpdaterImpl.java35 private LocaleList mLocales; field in PackageConfigurationUpdaterImpl
65 mLocales = locales; in setLocales()
111 mLocales, mAtm.getGlobalConfiguration().getLocales()); in updateConfig()
129 return mLocales; in getLocales()
DActivityTaskManagerInternal.java622 public final LocaleList mLocales; field in ActivityTaskManagerInternal.PackageConfig
627 mLocales = locales; in PackageConfig()
635 return "PackageConfig: nightMode " + mNightMode + " locales " + mLocales; in toString()
/frameworks/minikin/libs/minikin/
DLocale.h210 size_t size() const { return mLocales.size(); } in size()
211 bool empty() const { return mLocales.empty(); } in empty()
212 const Locale& operator[](size_t n) const { return mLocales[n]; }
223 std::vector<Locale> mLocales; variable
DLocale.cpp513 LocaleList::LocaleList(std::vector<Locale>&& locales) : mLocales(std::move(locales)) { in LocaleList()
516 mHbLangs.reserve(mLocales.size()); in LocaleList()
518 const auto firstLanguage = mLocales.empty() ? NO_LANGUAGE : mLocales[0].mLanguage; in LocaleList()
519 for (const Locale& locale : mLocales) { in LocaleList()
/frameworks/base/core/java/android/app/
DLocaleConfig.java60 private LocaleList mLocales; field in LocaleConfig
133 mLocales = LocaleList.forLanguageTags(String.join(",", localeNames)); in parseLocaleConfig()
145 return mLocales; in getSupportedLocales()
/frameworks/base/graphics/java/android/graphics/
DPaint.java82 private LocaleList mLocales; field in Paint
696 mLocales = paint.mLocales; in setClassVariablesFrom()
1650 return mLocales.get(0); in getTextLocale()
1660 return mLocales; in getTextLocales()
1675 if (mLocales != null && mLocales.size() == 1 && locale.equals(mLocales.get(0))) { in setTextLocale()
1678 mLocales = new LocaleList(locale); in setTextLocale()
1713 if (locales.equals(mLocales)) return; in setTextLocales()
1714 mLocales = locales; in setTextLocales()
1719 final String languageTags = mLocales.toLanguageTags(); in syncTextLocalesWithMinikin()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTaskManagerServiceTests.java854 assertNull(appSpecificConfig2.mLocales); in testPackageConfigUpdate_localesNotSet_localeConfigRetrievedNull()
875 assertEquals(LocaleList.forLanguageTags("en-XA,ar-XB"), appSpecificConfig.mLocales); in testPackageConfigUpdate_appNotRunning_configSuccessfullyApplied()
908 assertEquals(LocaleList.forLanguageTags("en-XA,ar-XB"), appSpecificConfig.mLocales); in testPackageConfigUpdate_appRunning_configSuccessfullyApplied()
/frameworks/base/services/core/java/com/android/server/locales/
DLocaleManagerService.java398 LocaleList locales = appConfig.mLocales; in getApplicationLocalesUnchecked()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt18069 Landroid/graphics/Paint;->mLocales:Landroid/os/LocaleList;
20971 Landroid/hardware/input/KeyboardLayout;->mLocales:Landroid/os/LocaleList;
56793 Landroid/text/style/LocaleSpan;->mLocales:Landroid/os/LocaleList;
62689 Landroid/view/textclassifier/TextClassifierImplNative$AnnotationOptions;->mLocales:Ljava/lang/Strin…
62696 Landroid/view/textclassifier/TextClassifierImplNative$ClassificationOptions;->mLocales:Ljava/lang/S…
62720 Landroid/view/textclassifier/TextClassifierImplNative$SelectionOptions;->mLocales:Ljava/lang/String;