Home
last modified time | relevance | path

Searched refs:toLanguageTag (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DLocaleStore.java54 this.mId = locale.toLanguageTag(); in LocaleInfo()
149 ? mLocale.toLanguageTag() in getLangScriptKey()
150 : parentWithScript.toLanguageTag(); in getLangScriptKey()
267 String parentId = parent.toLanguageTag(); in fillCache()
347 if (parentId.equals(li.getParent().toLanguageTag())) { in getLevelLocales()
363 String id = locale.toLanguageTag(); in getLocaleInfo()
DLocaleHelper.java115 ? 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()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DAndroidLocale.java35 public static String toLanguageTag(Locale locale) { in toLanguageTag() method in AndroidLocale
36 return ULocale.forLocale(locale).toLanguageTag(); in toLanguageTag()
/frameworks/minikin/libs/minikin/
DFontLanguageListCache.cpp33 static size_t toLanguageTag(char* output, size_t outSize, const std::string& locale) { in toLanguageTag() function
90 size_t length = toLanguageTag(langTag, ULOC_FULLNAME_CAPACITY, locale); in parseLanguageList()
103 size_t length = toLanguageTag(langTag, ULOC_FULLNAME_CAPACITY, locale); in parseLanguageList()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java123 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag(); in deleteKeyphraseSoundModel()
152 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag(); in getKeyphraseSoundModel()
/frameworks/base/core/tests/coretests/src/android/os/
DLocaleListTest.java73 assertEquals("en", Locale.getDefault().toLanguageTag()); in testGetDefault_localeSetDefaultCalledButNoChangeNecessary()
/frameworks/base/core/java/android/os/
DLocaleList.java176 sb.append(localeClone.toLanguageTag()); in LocaleList()
227 sb.append(localeList[i].toLanguageTag()); in LocaleList()
/frameworks/base/core/java/android/service/voice/
DAlwaysOnHotwordDetector.java578 mKeyphraseMetadata.id, mLocale.toLanguageTag(), mInternalCallback, in startRecognitionLocked()
751 mVoiceInteractionService, keyphraseId, locale.toLanguageTag()); in internalGetIsEnrolled()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMccTable.java299 l.toLanguageTag()); in getLocaleForLanguageCountry()
311 bestMatch.toLanguageTag()); in getLocaleForLanguageCountry()
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java181 assertEquals(defaultLocale.toLanguageTag(), req.getValue().getVoiceName()); in testDefaultLanguage_setsVoiceName()
/frameworks/base/core/java/android/hardware/soundtrigger/
DKeyphraseEnrollmentInfo.java314 .putExtra(EXTRA_VOICE_KEYPHRASE_LOCALE, locale.toLanguageTag()) in getManageKeyphraseIntent()
/frameworks/base/core/java/android/text/style/
DSuggestionSpan.java154 mLanguageTag = sourceLocale == null ? "" : sourceLocale.toLanguageTag(); in SuggestionSpan()
/frameworks/base/core/java/android/content/res/
DConfiguration.java1263 dest.writeString(l.toLanguageTag()); in writeToParcel()
1371 n = thisLocale.toLanguageTag().compareTo(thatLocale.toLanguageTag()); in compareTo()
DResourcesImpl.java409 adjustLanguageTag(mConfiguration.getLocales().get(0).toLanguageTag()), in updateConfiguration()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java339 String voiceName = properLocale.toLanguageTag(); in onGetDefaultVoiceNameFor()
/frameworks/base/core/java/android/text/
DStaticLayout.java345 nSetLocale(mNativePtr, locale.toLanguageTag(),
/frameworks/base/services/java/com/android/server/
DSystemServer.java238 final String languageTag = Locale.getDefault().toLanguageTag(); in run()
/frameworks/base/services/core/java/com/android/server/
DMountService.java1028 SystemProperties.set("persist.sys.locale", locale.toLanguageTag()); in copyLocaleFromMountService()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java2057 Log.d(TAG, "Storing locale " + l.toLanguageTag() + " for decryption UI"); in handleMessage()
2058 mountService.setField(StorageManager.SYSTEM_LOCALE_KEY, l.toLanguageTag()); in handleMessage()
18704 locales.get(bestLocaleIndex).toLanguageTag()); in updateConfigurationLocked()
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt994 NO DOC BLOCK: java.util.Locale Method toLanguageTag()
/frameworks/base/api/
Dcurrent.txt18603 method public java.lang.String toLanguageTag();
58174 method public java.lang.String toLanguageTag();
Dtest-current.txt18616 method public java.lang.String toLanguageTag();
58254 method public java.lang.String toLanguageTag();
Dsystem-current.txt19804 method public java.lang.String toLanguageTag();
61531 method public java.lang.String toLanguageTag();
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt48442 method public java.lang.String toLanguageTag();