/frameworks/base/core/java/com/android/internal/app/ |
D | LocaleStore.java | 55 this.mId = locale.toLanguageTag(); in LocaleInfo() 156 ? mLocale.toLanguageTag() in getLangScriptKey() 157 : parentWithScript.toLanguageTag(); in getLangScriptKey() 288 String parentId = parent.toLanguageTag(); in fillCache() 352 if (parentId.equals(li.getParent().toLanguageTag())) { in getLevelLocales() 368 String id = locale.toLanguageTag(); in getLocaleInfo()
|
D | LocaleHelper.java | 115 ? ULocale.getDisplayNameWithDialect(locale.toLanguageTag(), displayULocale) in getDisplayName() 116 : ULocale.getDisplayName(locale.toLanguageTag(), displayULocale); in getDisplayName() 139 final String languageTag = locale.toLanguageTag(); in getDisplayCountry() 158 return ULocale.getDisplayCountry(locale.toLanguageTag(), ULocale.getDefault()); in getDisplayCountry()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | AndroidLocale.java | 35 public static String toLanguageTag(Locale locale) { in toLanguageTag() method in AndroidLocale 36 return ULocale.forLocale(locale).toLanguageTag(); in toLanguageTag()
|
/frameworks/support/compat/src/androidTest/java/androidx/core/os/ |
D | LocaleListCompatTest.java | 163 assertEquals(toLanguageTag(Locale.US), ll.toLanguageTags()); in testToLanguageTags() 167 assertEquals(toLanguageTag(Locale.US) + "," + toLanguageTag(Locale.FRENCH), in testToLanguageTags() 407 private String toLanguageTag(Locale locale) { in toLanguageTag() method in LocaleListCompatTest 409 return locale.toLanguageTag(); in toLanguageTag() 411 return LocaleHelper.toLanguageTag(locale); in toLanguageTag()
|
/frameworks/minikin/libs/minikin/ |
D | LocaleListCache.cpp | 34 static size_t toLanguageTag(char* output, size_t outSize, const StringPiece& locale) { in toLanguageTag() function 88 size_t length = toLanguageTag(langTag, ULOC_FULLNAME_CAPACITY, localeStr); in parseLocaleList()
|
/frameworks/support/compat/src/main/java/androidx/core/os/ |
D | LocaleHelper.java | 61 static String toLanguageTag(Locale locale) { in toLanguageTag() method in LocaleHelper
|
D | LocaleListHelper.java | 189 sb.append(LocaleHelper.toLanguageTag(localeClone)); in LocaleListHelper() 241 sb.append(LocaleHelper.toLanguageTag(localeList[i])); in LocaleListHelper()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | LocaleListTest.java | 73 assertEquals("en", Locale.getDefault().toLanguageTag()); in testGetDefault_localeSetDefaultCalledButNoChangeNecessary()
|
/frameworks/base/core/java/android/os/ |
D | RecoverySystem.java | 584 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() + "\n"; in installPackage() 642 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() + "\n"; in scheduleUpdateOnBoot() 772 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() ; in rebootWipeUserData() 881 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() ; in rebootWipeCache() 910 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() ; in rebootWipeAb()
|
D | LocaleList.java | 197 sb.append(localeClone.toLanguageTag()); in LocaleList() 248 sb.append(localeList[i].toLanguageTag()); in LocaleList()
|
/frameworks/base/core/java/android/service/voice/ |
D | AlwaysOnHotwordDetector.java | 576 mKeyphraseMetadata.id, mLocale.toLanguageTag(), mInternalCallback, in startRecognitionLocked() 749 mVoiceInteractionService, keyphraseId, locale.toLanguageTag()); in internalGetIsEnrolled()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | DatabaseHelper.java | 183 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag(); in deleteKeyphraseSoundModel() 212 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag(); in getKeyphraseSoundModel()
|
/frameworks/base/core/java/android/security/ |
D | ConfirmationPrompt.java | 278 String locale = Locale.getDefault().toLanguageTag(); in presentPrompt()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | MccTable.java | 304 l.toLanguageTag()); in getLocaleForLanguageCountry() 321 + bestMatch.toLanguageTag()); in getLocaleForLanguageCountry()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | SelectionSessionLogger.java | 248 localesJoiner.add(locale.toLanguageTag()); in createId()
|
D | TextClassifierImpl.java | 551 localesJoiner.add(locale.toLanguageTag()); in toString()
|
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
D | TextToSpeechTests.java | 184 assertEquals(defaultLocale.toLanguageTag(), req.getValue().getVoiceName()); in testDefaultLanguage_setsVoiceName()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | KeyphraseEnrollmentInfo.java | 316 .putExtra(EXTRA_VOICE_KEYPHRASE_LOCALE, locale.toLanguageTag()) in getManageKeyphraseIntent()
|
/frameworks/base/core/java/android/text/style/ |
D | SuggestionSpan.java | 154 mLanguageTag = sourceLocale == null ? "" : sourceLocale.toLanguageTag(); in SuggestionSpan()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 1724 n = thisLocale.toLanguageTag().compareTo(thatLocale.toLanguageTag()); in compareTo()
|
D | ResourcesImpl.java | 438 adjustLanguageTag(mConfiguration.getLocales().get(0).toLanguageTag()), in updateConfiguration()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TextToSpeechService.java | 336 String voiceName = properLocale.toLanguageTag(); in onGetDefaultVoiceNameFor()
|
/frameworks/base/services/java/com/android/server/ |
D | SystemServer.java | 337 final String languageTag = Locale.getDefault().toLanguageTag(); in run()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BaseShortcutManagerTest.java | 239 return mInjectedLocale.toLanguageTag(); in injectGetLocaleTagsForUser()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 1002 SystemProperties.set("persist.sys.locale", locale.toLanguageTag()); in copyLocaleFromMountService()
|