/frameworks/base/tests/Internal/src/com/android/internal/app/ |
D | LocaleStoreTest.java | 187 info -> info.getLocale().toLanguageTag().equals("en"))); in getLevelLocales_languageTier_returnAllSupportLanguages() 189 info -> info.getLocale().toLanguageTag().equals("zh-Hant"))); in getLevelLocales_languageTier_returnAllSupportLanguages() 191 info -> info.getLocale().toLanguageTag().equals("ja"))); in getLevelLocales_languageTier_returnAllSupportLanguages() 193 info -> info.getLocale().toLanguageTag().equals("bn"))); in getLevelLocales_languageTier_returnAllSupportLanguages() 195 info -> info.getLocale().toLanguageTag().equals("ks-Arab"))); in getLevelLocales_languageTier_returnAllSupportLanguages() 215 info -> info.getLocale().toLanguageTag().equals("en-US"))); in getLevelLocales_regionTierAndParentIsEn_returnEnLocales() 217 info -> info.getLocale().toLanguageTag().equals("en-GB"))); in getLevelLocales_regionTierAndParentIsEn_returnEnLocales() 219 info -> info.getLocale().toLanguageTag().equals("en-ZA"))); in getLevelLocales_regionTierAndParentIsEn_returnEnLocales() 235 assertEquals("bn-IN", localeInfos.iterator().next().getLocale().toLanguageTag()); in getLevelLocales_numberingTierAndParentIsBnIn_returnBnInLocales() 267 info -> info.getLocale().toLanguageTag().equals("bn-IN-u-nu-adlm"))); in getLevelLocales_regionTierAndParentIsBnIn_returnBnLocaleFamily() [all …]
|
/frameworks/base/services/core/java/com/android/server/locales/ |
D | AppLocaleChangedAtomRecord.java | 42 this.mNewLocales = DEFAULT_PREFIX + defaultLocale.toLanguageTag(); in AppLocaleChangedAtomRecord() 43 this.mPrevLocales = DEFAULT_PREFIX + defaultLocale.toLanguageTag(); in AppLocaleChangedAtomRecord() 72 target = DEFAULT_PREFIX + defaultLocale.toLanguageTag(); in convertEmptyLocales()
|
/frameworks/opt/localepicker/src/com/android/localepicker/ |
D | LocaleHelper.java | 116 ? ULocale.getDisplayNameWithDialect(locale.toLanguageTag(), displayULocale) in getDisplayName() 117 : ULocale.getDisplayName(locale.toLanguageTag(), displayULocale); in getDisplayName() 140 final String languageTag = locale.toLanguageTag(); in getDisplayCountry() 159 return ULocale.getDisplayCountry(locale.toLanguageTag(), ULocale.getDefault()); in getDisplayCountry()
|
D | LocaleStore.java | 61 this.mId = locale.toLanguageTag(); in LocaleInfo() 162 ? mLocale.toLanguageTag() in getLangScriptKey() 163 : parentWithScript.toLanguageTag(); in getLangScriptKey() 295 String parentId = parent.toLanguageTag(); in fillCache() 360 if (parentId.equals(li.getParent().toLanguageTag())) { in getLevelLocales() 376 String id = locale.toLanguageTag(); in getLocaleInfo()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocaleStore.java | 107 this.mId = locale.toLanguageTag(); in LocaleInfo() 253 ? mLocale.toLanguageTag() in getLangScriptKey() 254 : parentWithScript.toLanguageTag(); in getLangScriptKey() 504 String parentId = parent.toLanguageTag(); in fillCache() 634 if (parentId.equals(li.getParent().toLanguageTag())) { in getTierLocales() 675 String parentId = parent.toLanguageTag(); in convertExplicitLocales() 719 String id = locale.toLanguageTag(); in getLocaleInfo() 725 if (localeInfos.containsKey(filteredLocale.toLanguageTag())) { in getLocaleInfo() 727 LocaleInfo localeInfo = localeInfos.get(filteredLocale.toLanguageTag()); in getLocaleInfo() 752 if (!map.containsKey(locale.toLanguageTag())) { in addLocaleInfoToMap() [all …]
|
D | LocaleHelper.java | 90 ? ULocale.getDisplayNameWithDialect(locale.toLanguageTag(), displayULocale) in getDisplayName() 91 : ULocale.getDisplayName(locale.toLanguageTag(), displayULocale); in getDisplayName() 115 final String languageTag = locale.toLanguageTag(); in getDisplayCountry() 134 return ULocale.getDisplayCountry(locale.toLanguageTag(), ULocale.getDefault()); in getDisplayCountry()
|
D | AppLocaleCollector.java | 174 langTagsToIgnore.add(mAppCurrentLocale.getLocale().toLanguageTag()); in getIgnoredLocaleList() 180 info -> langTagsToIgnore.add(info.getLocale().toLanguageTag())); in getIgnoredLocaleList() 182 mImeLocales.forEach(info -> langTagsToIgnore.add(info.getLocale().toLanguageTag())); in getIgnoredLocaleList() 188 langTagsToIgnore.add(systemLangList.get(i).toLanguageTag()); in getIgnoredLocaleList()
|
/frameworks/base/media/java/android/media/voice/ |
D | KeyphraseModelManager.java | 90 locale.toLanguageTag()); in getKeyphraseSoundModel() 151 locale.toLanguageTag()); in deleteKeyphraseSoundModel()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | LocaleUtils.java | 107 + l.toLanguageTag()); in getLocaleForLanguageCountry() 124 + bestMatch.toLanguageTag()); in getLocaleForLanguageCountry()
|
/frameworks/minikin/libs/minikin/ |
D | LocaleListCache.cpp | 35 static size_t toLanguageTag(char* output, size_t outSize, const StringPiece& locale) { in toLanguageTag() function 92 size_t length = toLanguageTag(langTag, ULOC_FULLNAME_CAPACITY, localeStr); in parseLocaleList()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextLanguage.java | 109 return mEntityConfidence.getConfidenceScore(locale.toLanguageTag()); in getConfidenceScore() 172 mEntityConfidenceMap.put(locale.toLanguageTag(), confidenceScore); in putLocale()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | DatabaseHelper.java | 178 soundModel.getKeyphrases()[0].getLocale().toLanguageTag()); in updateKeyphraseSoundModel() 195 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag(); in deleteKeyphraseSoundModel() 219 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag(); in getKeyphraseSoundModel() 233 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag(); in getKeyphraseSoundModel()
|
D | TestModelEnrollmentDatabase.java | 102 keyphrase.getLocale().toLanguageTag()), in updateKeyphraseSoundModel()
|
/frameworks/opt/localepicker/tests/src/com/android/localepicker/ |
D | LocaleStoreTest.java | 64 assertThat(localeInfo.getParent().toLanguageTag()).isEqualTo("zh-Hant"); in getLevel()
|
D | SuggestedLocaleAdapterTest.java | 136 return localeInfo.getLocale().toLanguageTag(); in getLocaleTagList()
|
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/http/ |
D | HttpRequest.java | 123 .toLanguageTag()); in builder()
|
/frameworks/base/core/java/android/hardware/input/ |
D | VirtualKeyboardConfig.java | 144 mLanguageTag = ULocale.createCanonical(locale).toLanguageTag(); in setLanguageTag()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodSubtype.java | 213 mPkLanguageTag = languageTag == null ? "" : languageTag.toLanguageTag(); in setPhysicalKeyboardHint() 512 final String langTag = locale.toLanguageTag(); in getCanonicalizedLanguageTag() 514 result = ULocale.createCanonical(ULocale.forLanguageTag(langTag)).toLanguageTag(); in getCanonicalizedLanguageTag()
|
/frameworks/base/core/java/android/os/ |
D | RecoverySystem.java | 630 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() + "\n"; in installPackage() 833 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() + "\n"; in scheduleUpdateOnBoot() 979 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() ; in rebootWipeUserData() 1228 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() ; in rebootWipeCache() 1257 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() ; in rebootWipeAb()
|
D | LocaleList.java | 199 sb.append(localeClone.toLanguageTag()); in LocaleList() 250 sb.append(localeList[i].toLanguageTag()); in LocaleList()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | BilingualSuggestedLocaleAdapterTest.java | 127 return localeInfo.getLocale().toLanguageTag(); in getLocaleTagList()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | LocaleListTest.java | 92 assertEquals("en", Locale.getDefault().toLanguageTag()); in testGetDefault_localeSetDefaultCalledButNoChangeNecessary()
|
/frameworks/base/core/java/android/security/ |
D | ConfirmationPrompt.java | 276 String locale = Locale.getDefault().toLanguageTag(); in presentPrompt()
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesImpl.java | 471 adjustLanguageTag(intersection[i].toLanguageTag()); in updateConfigurationImpl() 474 adjustLanguageTag(lc.getDefaultLocale().toLanguageTag()); in updateConfigurationImpl() 494 adjustLanguageTag(bestLocale.toLanguageTag())}; in updateConfigurationImpl() 508 selectedLocales[i] = adjustLanguageTag(locales.get(i).toLanguageTag()); in updateConfigurationImpl() 512 adjustLanguageTag(locales.get(0).toLanguageTag())}; in updateConfigurationImpl()
|
/frameworks/base/core/java/android/app/admin/ |
D | FullyManagedDeviceProvisioningParams.java | 373 dest.writeString(mLocale == null ? null : mLocale.toLanguageTag()); in writeToParcel()
|