/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() 359 if (parentId.equals(li.getParent().toLanguageTag())) { in getLevelLocales() 375 String id = locale.toLanguageTag(); in getLocaleInfo()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocaleHelper.java | 118 ? ULocale.getDisplayNameWithDialect(locale.toLanguageTag(), displayULocale) in getDisplayName() 119 : ULocale.getDisplayName(locale.toLanguageTag(), displayULocale); in getDisplayName() 143 final String languageTag = locale.toLanguageTag(); in getDisplayCountry() 162 return ULocale.getDisplayCountry(locale.toLanguageTag(), ULocale.getDefault()); in getDisplayCountry()
|
D | LocaleStore.java | 57 this.mId = locale.toLanguageTag(); in LocaleInfo() 163 ? mLocale.toLanguageTag() in getLangScriptKey() 164 : parentWithScript.toLanguageTag(); in getLangScriptKey() 296 String parentId = parent.toLanguageTag(); in fillCache() 361 if (parentId.equals(li.getParent().toLanguageTag())) { in getLevelLocales() 378 String id = locale.toLanguageTag(); in getLocaleInfo()
|
/frameworks/base/media/java/android/media/voice/ |
D | KeyphraseModelManager.java | 88 locale.toLanguageTag()); in getKeyphraseSoundModel() 149 locale.toLanguageTag()); in deleteKeyphraseSoundModel()
|
/frameworks/minikin/libs/minikin/ |
D | LocaleListCache.cpp | 34 static size_t toLanguageTag(char* output, size_t outSize, const StringPiece& locale) { in toLanguageTag() function 91 size_t length = toLanguageTag(langTag, ULOC_FULLNAME_CAPACITY, localeStr); in parseLocaleList()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | LocaleUtils.java | 107 + l.toLanguageTag()); in getLocaleForLanguageCountry() 124 + bestMatch.toLanguageTag()); in getLocaleForLanguageCountry()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | DatabaseHelper.java | 182 soundModel.getKeyphrases()[0].getLocale().toLanguageTag()); in updateKeyphraseSoundModel() 201 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag(); in deleteKeyphraseSoundModel() 230 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag(); in getKeyphraseSoundModel() 249 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag(); in getKeyphraseSoundModel()
|
/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()
|
D | TextClassifierEvent.java | 241 dest.writeString(mLocale == null ? null : mLocale.toLanguageTag()); in writeToParcel()
|
/frameworks/opt/localepicker/tests/src/com/android/localepicker/ |
D | LocaleStoreTest.java | 67 assertThat(localeInfo.getParent().toLanguageTag()).isEqualTo("zh-Hant"); in getLevel()
|
D | SuggestedLocaleAdapterTest.java | 136 return localeInfo.getLocale().toLanguageTag(); in getLocaleTagList()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | LocaleListTest.java | 74 assertEquals("en", Locale.getDefault().toLanguageTag()); in testGetDefault_localeSetDefaultCalledButNoChangeNecessary()
|
/frameworks/base/core/java/android/os/ |
D | RecoverySystem.java | 600 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() + "\n"; in installPackage() 730 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() + "\n"; in scheduleUpdateOnBoot() 864 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() ; in rebootWipeUserData() 1105 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() ; in rebootWipeCache() 1134 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() ; in rebootWipeAb()
|
D | LocaleList.java | 177 sb.append(localeClone.toLanguageTag()); in LocaleList() 228 sb.append(localeList[i].toLanguageTag()); in LocaleList()
|
/frameworks/base/core/java/android/security/ |
D | ConfirmationPrompt.java | 274 String locale = Locale.getDefault().toLanguageTag(); in presentPrompt()
|
/frameworks/base/core/java/android/service/voice/ |
D | AlwaysOnHotwordDetector.java | 786 mKeyphraseMetadata.getId(), mLocale.toLanguageTag(), mInternalCallback, in startRecognitionLocked() 991 mText, mLocale.toLanguageTag()); in internalUpdateEnrolledKeyphraseMetadata()
|
/frameworks/base/core/java/android/text/style/ |
D | SuggestionSpan.java | 184 mLanguageTag = sourceLocale == null ? "" : sourceLocale.toLanguageTag(); in SuggestionSpan()
|
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
D | TextToSpeechTests.java | 185 assertEquals(defaultLocale.toLanguageTag(), req.getValue().getVoiceName()); in testDefaultLanguage_setsVoiceName()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | KeyphraseEnrollmentInfo.java | 351 .putExtra(EXTRA_VOICE_KEYPHRASE_LOCALE, locale.toLanguageTag()) in getManageKeyphraseIntent()
|
D | ConversionUtil.java | 137 aidlPhrase.locale = apiPhrase.getLocale().toLanguageTag(); in api2aidlPhrase()
|
D | SoundTrigger.java | 665 dest.writeString(getLocale().toLanguageTag()); in writeToParcel() 734 + ", locale=" + getLocale().toLanguageTag() + ", text=" + getText() in toString()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 2018 n = thisLocale.toLanguageTag().compareTo(thatLocale.toLanguageTag()); in compareTo()
|
D | ResourcesImpl.java | 466 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()
|