/frameworks/base/core/java/com/android/internal/app/ |
D | LocaleHelper.java | 115 ? ULocale.getDisplayNameWithDialect(locale.toLanguageTag(), displayULocale) in getDisplayName() 116 : ULocale.getDisplayName(locale.toLanguageTag(), displayULocale); in getDisplayName() 139 return ULocale.getDisplayCountry(locale.toLanguageTag(), ULocale.forLocale(displayLocale)); in getDisplayCountry() 149 return ULocale.getDisplayCountry(locale.toLanguageTag(), ULocale.getDefault()); in getDisplayCountry()
|
D | LocaleStore.java | 54 this.mId = locale.toLanguageTag(); in LocaleInfo() 149 ? mLocale.toLanguageTag() in getLangScriptKey() 150 : parentWithScript.toLanguageTag(); in getLangScriptKey() 267 String parentId = parent.toLanguageTag(); in fillCache() 344 if (parentId.equals(li.getParent().toLanguageTag())) { in getLevelLocales() 360 String id = locale.toLanguageTag(); in getLocaleInfo()
|
/frameworks/base/tools/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/minikin/libs/minikin/ |
D | FontLanguageListCache.cpp | 34 static size_t toLanguageTag(char* output, size_t outSize, const std::string& locale) { in toLanguageTag() function 91 size_t length = toLanguageTag(langTag, ULOC_FULLNAME_CAPACITY, locale); in parseLanguageList() 104 size_t length = toLanguageTag(langTag, ULOC_FULLNAME_CAPACITY, locale); in parseLanguageList()
|
/frameworks/support/compat/tests/java/android/support/v4/os/ |
D | LocaleListCompatTest.java | 165 assertEquals(toLanguageTag(Locale.US), ll.toLanguageTags()); in testToLanguageTags() 169 assertEquals(toLanguageTag(Locale.US) + "," + toLanguageTag(Locale.FRENCH), in testToLanguageTags() 411 private String toLanguageTag(Locale locale) { in toLanguageTag() method in LocaleListCompatTest 413 return locale.toLanguageTag(); in toLanguageTag() 415 return LocaleHelper.toLanguageTag(locale); in toLanguageTag()
|
/frameworks/support/compat/java/android/support/v4/os/ |
D | LocaleHelper.java | 61 static String toLanguageTag(Locale locale) { in toLanguageTag() method in LocaleHelper
|
D | LocaleListHelper.java | 190 sb.append(LocaleHelper.toLanguageTag(localeClone)); in LocaleListHelper() 242 sb.append(LocaleHelper.toLanguageTag(localeList[i])); in LocaleListHelper()
|
/frameworks/base/core/java/android/os/ |
D | RecoverySystem.java | 569 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() + "\n"; in installPackage() 627 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() + "\n"; in scheduleUpdateOnBoot() 744 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() ; in rebootWipeUserData() 775 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() ; in rebootWipeCache() 804 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() ; in rebootWipeAb()
|
D | LocaleList.java | 176 sb.append(localeClone.toLanguageTag()); in LocaleList() 227 sb.append(localeList[i].toLanguageTag()); in LocaleList()
|
/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/service/voice/ |
D | AlwaysOnHotwordDetector.java | 578 mKeyphraseMetadata.id, mLocale.toLanguageTag(), mInternalCallback, in startRecognitionLocked() 751 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/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/opt/telephony/src/java/com/android/internal/telephony/ |
D | MccTable.java | 321 l.toLanguageTag()); in getLocaleForLanguageCountry() 338 + bestMatch.toLanguageTag()); in getLocaleForLanguageCountry()
|
/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 | 1503 dest.writeString(l.toLanguageTag()); in writeToParcel() 1617 n = thisLocale.toLanguageTag().compareTo(thatLocale.toLanguageTag()); in compareTo()
|
D | ResourcesImpl.java | 417 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/core/java/android/text/ |
D | StaticLayout.java | 359 nSetLocale(mNativePtr, locale.toLanguageTag(),
|
/frameworks/base/services/java/com/android/server/ |
D | SystemServer.java | 300 final String languageTag = Locale.getDefault().toLanguageTag(); in run()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BaseShortcutManagerTest.java | 233 return mInjectedLocale.toLanguageTag(); in injectGetLocaleTagsForUser()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 1052 SystemProperties.set("persist.sys.locale", locale.toLanguageTag()); in copyLocaleFromMountService()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 2283 Log.d(TAG, "Storing locale " + l.toLanguageTag() + " for decryption UI"); in handleMessage() 2284 storageManager.setField(StorageManager.SYSTEM_LOCALE_KEY, l.toLanguageTag()); in handleMessage() 20278 locales.get(bestLocaleIndex).toLanguageTag());
|
/frameworks/base/api/ |
D | current.txt | 20013 method public java.lang.String toLanguageTag(); 64129 method public java.lang.String toLanguageTag();
|