/frameworks/base/core/java/android/text/style/ |
D | LocaleSpan.java | 37 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/ |
D | FakePackageConfigurationUpdater.java | 32 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/ |
D | KeyboardLayout.java | 38 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/ |
D | PackageConfigPersister.java | 140 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 …]
|
D | PackageConfigurationUpdaterImpl.java | 35 private LocaleList mLocales; field in PackageConfigurationUpdaterImpl 65 mLocales = locales; in setLocales() 111 mLocales, mAtm.getGlobalConfiguration().getLocales()); in updateConfig() 129 return mLocales; in getLocales()
|
D | ActivityTaskManagerInternal.java | 622 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/ |
D | Locale.h | 210 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
|
D | Locale.cpp | 513 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/ |
D | LocaleConfig.java | 60 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/ |
D | Paint.java | 82 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/ |
D | ActivityTaskManagerServiceTests.java | 854 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/ |
D | LocaleManagerService.java | 398 LocaleList locales = appConfig.mLocales; in getApplicationLocalesUnchecked()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 18069 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;
|