/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/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/base/core/tests/coretests/src/android/view/textclassifier/ |
D | ModelFileManagerTest.java | 129 Collections.singletonList(locale), locale.toLanguageTag(), false); in findBestModel_languageDependentModelIsPreferred() 136 LocaleList.forLanguageTags(locale.toLanguageTag())); in findBestModel_languageDependentModelIsPreferred() 151 Collections.singletonList(locale), locale.toLanguageTag(), false); in findBestModel_noMatchedLanguageModel() 174 DEFAULT_LOCALE), DEFAULT_LOCALE.toLanguageTag(), false); in findBestModel_noMatchedLanguageModel_defaultLocaleModelExists()
|
D | ActionsSuggestionsHelperTest.java | 57 private static final String LOCALE_TAG = Locale.US.toLanguageTag();
|
D | TextClassifierTest.java | 653 && languageTag.equals(result.getLocale(0).toLanguageTag());
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextLanguage.java | 111 return mEntityConfidence.getConfidenceScore(locale.toLanguageTag()); in getConfidenceScore() 174 mEntityConfidenceMap.put(locale.toLanguageTag(), confidenceScore); in putLocale()
|
D | ActionsSuggestionsHelper.java | 113 localesJoiner.add(locale.toLanguageTag()); in createResultId()
|
D | ModelFileManager.java | 295 localesJoiner.add(locale.toLanguageTag()); in toString()
|
D | SelectionSessionLogger.java | 257 localesJoiner.add(locale.toLanguageTag()); in createId()
|
D | TextClassifierEvent.java | 237 dest.writeString(mLocale == null ? null : mLocale.toLanguageTag()); in writeToParcel()
|
D | TextClassifierImpl.java | 528 languageTags.add(locale.toLanguageTag()); in detectLanguageTagsFromText()
|
/frameworks/base/core/java/android/os/ |
D | RecoverySystem.java | 583 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() + "\n"; in installPackage() 641 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() + "\n"; in scheduleUpdateOnBoot() 772 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() ; in rebootWipeUserData() 909 final String localeArg = "--locale=" + Locale.getDefault().toLanguageTag() ; in rebootWipeCache() 938 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/android/os/ |
D | LocaleListTest.java | 74 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/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/text/style/ |
D | SuggestionSpan.java | 184 mLanguageTag = sourceLocale == null ? "" : sourceLocale.toLanguageTag(); in SuggestionSpan()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | KeyphraseEnrollmentInfo.java | 316 .putExtra(EXTRA_VOICE_KEYPHRASE_LOCALE, locale.toLanguageTag()) in getManageKeyphraseIntent()
|
/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/content/res/ |
D | Configuration.java | 1900 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()
|