/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/core/java/android/view/accessibility/ |
D | AccessibilityWindowAttributes.java | 36 private final LocaleList mLocales; field in AccessibilityWindowAttributes 41 mLocales = locales; in AccessibilityWindowAttributes() 48 mLocales = inLocales; in AccessibilityWindowAttributes() 50 mLocales = LocaleList.getEmptyLocaleList(); in AccessibilityWindowAttributes() 79 return mLocales; in getLocales() 90 mLocales, that.mLocales); in equals() 95 return Objects.hash(mWindowTitle, mLocales); in hashCode() 119 parcel.writeParcelable(mLocales, flags); in writeToParcel() 126 + "mLocales=" + mLocales in toString()
|
D | AccessibilityWindowInfo.java | 143 private LocaleList mLocales = LocaleList.getEmptyLocaleList(); field in AccessibilityWindowInfo 575 mLocales = locales; in setLocales() 584 return mLocales; in getLocales() 709 parcel.writeParcelable(mLocales, flags); in writeToParcel() 740 mLocales = other.mLocales; in init() 768 mLocales = parcel.readParcelable(null, LocaleList.class); in initFromParcel() 850 mLocales = LocaleList.getEmptyLocaleList(); in clear()
|
/frameworks/base/core/java/android/app/ |
D | LocaleConfig.java | 71 private LocaleList mLocales; field in LocaleConfig 136 mLocales = localeConfig.getSupportedLocales(); in LocaleConfig() 178 mLocales = locales; in LocaleConfig() 190 mLocales = in.readTypedObject(LocaleList.CREATOR); in LocaleConfig() 226 mLocales = LocaleList.forLanguageTags(String.join(",", localeNames)); in parseLocaleConfig() 247 return mLocales; in getSupportedLocales() 291 dest.writeTypedObject(mLocales, flags); in writeToParcel() 328 LocaleList otherLocales = other.mLocales; in isSameLocaleConfig() 329 if (mLocales == null && otherLocales == null) { in isSameLocaleConfig() 331 } else if (mLocales != null && otherLocales != null) { in isSameLocaleConfig() [all …]
|
/frameworks/base/core/java/android/hardware/input/ |
D | KeyboardLayout.java | 71 private final LocaleList mLocales; field in KeyboardLayout 153 mLocales = locales; in KeyboardLayout() 164 mLocales = LocaleList.CREATOR.createFromParcel(source); in KeyboardLayout() 204 return mLocales; in getLocales() 238 for (int i = 0; i < mLocales.size(); i++) { in isAnsiLayout() 239 Locale locale = mLocales.get(i); in isAnsiLayout() 252 for (int i = 0; i < mLocales.size(); i++) { in isJisLayout() 253 Locale locale = mLocales.get(i); in isJisLayout() 272 mLocales.writeToParcel(dest, 0); in writeToParcel() 301 + ", locales: " + mLocales.toString() in toString()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locales/ |
D | FakePackageConfigurationUpdater.java | 36 LocaleList mLocales = null; field in FakePackageConfigurationUpdater 45 mLocales = locales; in setLocales() 57 return mLocales != null; in commit() 66 return mLocales; in getStoredLocales()
|
D | LocaleManagerBackupRestoreTest.java | 935 out.attribute(/* namespace= */ null, "locales", pkgLocalesMap.get(pkg).mLocales); in writeTestPayload() 959 assertEquals(expectedPkgLocalesMap.get(pkg).mLocales, info[0]); in verifyStageData() 970 assertEquals(expectedPkgLocalesMap.get(pkg).mLocales, stageData.get(pkg).mLocales); in verifyStageData()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PackageConfigPersister.java | 142 initRecord.mLocales = locales; in loadUserPackages() 170 modifiedRecord.mLocales, mAtm.getGlobalConfiguration().getLocales()), in updateConfigIfNeeded() 199 && (record.mLocales == null || record.mLocales.isEmpty()) in updateFromImpl() 222 && !updateLocales(record.mLocales, writeRecord) in updateFromImpl() 245 if (requestedLocaleList == null || requestedLocaleList.equals(record.mLocales)) { in updateLocales() 248 record.mLocales = requestedLocaleList; in updateLocales() 327 packageConfigRecord.mLocales, in findPackageConfiguration() 347 pw.println(" Locales : " + packageConfig.mLocales); in dump() 358 LocaleList mLocales; field in PackageConfigPersister.PackageConfigRecord 374 + " nightMode " + mNightMode + " locales " + mLocales; in toString() [all …]
|
D | PackageConfigurationUpdaterImpl.java | 36 private LocaleList mLocales; field in PackageConfigurationUpdaterImpl 68 mLocales = locales; in setLocales() 123 mLocales, mAtm.getGlobalConfiguration().getLocales()); in updateConfig() 141 return mLocales; in getLocales()
|
D | ActivityTaskManagerInternal.java | 680 public final LocaleList mLocales; field in ActivityTaskManagerInternal.PackageConfig 693 mLocales = locales; in PackageConfig() 702 return "PackageConfig: nightMode " + mNightMode + " locales " + mLocales; in toString()
|
D | ActivityRecord.java | 11122 if (appConfig != null && appConfig.mLocales != null && !appConfig.mLocales.isEmpty()) { 11123 resolvedConfig.setLocales(appConfig.mLocales);
|
/frameworks/minikin/libs/minikin/ |
D | Locale.h | 211 size_t size() const { return mLocales.size(); } in size() 212 bool empty() const { return mLocales.empty(); } in empty() 213 const Locale& operator[](size_t n) const { return mLocales[n]; } 229 std::vector<Locale> mLocales; variable
|
D | Locale.cpp | 519 LocaleList::LocaleList(std::vector<Locale>&& locales) : mLocales(std::move(locales)) { in LocaleList() 522 mHbLangs.reserve(mLocales.size()); in LocaleList() 524 const auto firstLanguage = mLocales.empty() ? NO_LANGUAGE : mLocales[0].mLanguage; in LocaleList() 525 for (const Locale& locale : mLocales) { in LocaleList() 542 for (const Locale& myLocale : mLocales) { in atLeastOneScriptMatch() 543 for (const Locale& otherLocale : list.mLocales) { in atLeastOneScriptMatch() 554 for (const Locale& locale : mLocales) { in hasScript()
|
/frameworks/base/services/core/java/com/android/server/locales/ |
D | LocaleManagerBackupHelper.java | 265 Slog.d(TAG, "Add locales=" + localesInfo.mLocales in stageAndApplyRestoredPayload() 437 LocaleList.forLanguageTags(localesInfo.mLocales), localesInfo.mSetFromDelegate, in checkExistingLocalesAndApplyRestore() 440 Slog.d(TAG, "Restored locales=" + localesInfo.mLocales + " fromDelegate=" in checkExistingLocalesAndApplyRestore() 503 out.attribute(/* namespace= */ null, ATTR_LOCALES, pkgStates.get(pkg).mLocales); in writeToXml() 514 final String mLocales; field in LocaleManagerBackupHelper.LocalesInfo 518 mLocales = locales; in LocalesInfo() 611 + ", localesInfo.mLocales: " + localesInfo.mLocales in storeStagedDataInfo() 615 localesInfo.mLocales + STRING_SPLIT + String.valueOf(localesInfo.mSetFromDelegate); in storeStagedDataInfo()
|
D | LocaleManagerService.java | 459 LocaleList locales = appConfig.mLocales; in getApplicationLocalesUnchecked()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 89 private LocaleList mLocales; field in Paint 766 mLocales = paint.mLocales; in setClassVariablesFrom() 1720 return mLocales.get(0); in getTextLocale() 1730 return mLocales; in getTextLocales() 1745 if (mLocales != null && mLocales.size() == 1 && locale.equals(mLocales.get(0))) { in setTextLocale() 1748 mLocales = new LocaleList(locale); in setTextLocale() 1783 if (locales.equals(mLocales)) return; in setTextLocales() 1784 mLocales = locales; in setTextLocales() 1789 final String languageTags = mLocales.toLanguageTags(); in syncTextLocalesWithMinikin()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityTaskManagerServiceTests.java | 950 assertNull(appSpecificConfig2.mLocales); in testPackageConfigUpdate_localesNotSet_localeConfigRetrievedNull() 971 assertEquals(LocaleList.forLanguageTags("en-XA,ar-XB"), appSpecificConfig.mLocales); in testPackageConfigUpdate_appNotRunning_configSuccessfullyApplied() 1004 assertEquals(LocaleList.forLanguageTags("en-XA,ar-XB"), appSpecificConfig.mLocales); in testPackageConfigUpdate_appRunning_configSuccessfullyApplied()
|
/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; 56150 Landroid/text/style/LocaleSpan;->mLocales:Landroid/os/LocaleList; 62046 Landroid/view/textclassifier/TextClassifierImplNative$AnnotationOptions;->mLocales:Ljava/lang/Strin… 62053 Landroid/view/textclassifier/TextClassifierImplNative$ClassificationOptions;->mLocales:Ljava/lang/S… 62077 Landroid/view/textclassifier/TextClassifierImplNative$SelectionOptions;->mLocales:Ljava/lang/String;
|