/libcore/luni/src/main/java/libcore/icu/ |
ICU.java | 290 String languageTag = locale.toLanguageTag(); 363 return toLowerCase(s, locale.toLanguageTag()); 369 return toUpperCase(s, locale.toLanguageTag()); 400 return getCurrencyDisplayName(locale.toLanguageTag(), currencyCode); 409 return getCurrencySymbol(locale.toLanguageTag(), currencyCode); 415 return getDisplayCountryNative(targetLocale.toLanguageTag(), locale.toLanguageTag()); 421 return getDisplayLanguageNative(targetLocale.toLanguageTag(), locale.toLanguageTag()); 427 return getDisplayVariantNative(targetLocale.toLanguageTag(), locale.toLanguageTag()) [all...] |
LocaleData.java | 127 if ("und".equals(locale.toLanguageTag())) { 142 final String languageTag = locale.toLanguageTag(); 204 if (!ICU.initLocaleDataNative(locale.toLanguageTag(), localeData)) {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
AndroidLocale.java | 26 * This class provides an alternate implementation for {@code java.util.Locale#toLanguageTag} 35 public static String toLanguageTag(Locale locale) { 36 return ULocale.forLocale(locale).toLanguageTag();
|
/frameworks/base/core/java/com/android/internal/app/ |
LocaleHelper.java | 115 ? ULocale.getDisplayNameWithDialect(locale.toLanguageTag(), displayULocale) 116 : ULocale.getDisplayName(locale.toLanguageTag(), displayULocale); 139 return ULocale.getDisplayCountry(locale.toLanguageTag(), ULocale.forLocale(displayLocale)); 149 return ULocale.getDisplayCountry(locale.toLanguageTag(), ULocale.getDefault());
|
LocaleStore.java | 54 this.mId = locale.toLanguageTag(); 149 ? mLocale.toLanguageTag() 150 : parentWithScript.toLanguageTag(); 267 String parentId = parent.toLanguageTag(); 347 if (parentId.equals(li.getParent().toLanguageTag())) { 363 String id = locale.toLanguageTag();
|
/frameworks/minikin/libs/minikin/ |
FontLanguageListCache.cpp | 33 static size_t toLanguageTag(char* output, size_t outSize, const std::string& locale) { 90 size_t length = toLanguageTag(langTag, ULOC_FULLNAME_CAPACITY, locale); 103 size_t length = toLanguageTag(langTag, ULOC_FULLNAME_CAPACITY, locale);
|
/cts/tests/tests/text/src/android/text/style/cts/ |
SuggestionSpanTest.java | 40 return Locale.forLanguageTag(locale.toLanguageTag());
|
/frameworks/base/core/tests/coretests/src/android/os/ |
LocaleListTest.java | 73 assertEquals("en", Locale.getDefault().toLanguageTag());
|
/libcore/luni/src/test/java/libcore/java/util/ |
LocaleTest.java | [all...] |
/libcore/luni/src/test/java/libcore/icu/ |
ICUTest.java | 212 assertEquals("de-u-co-phonebk-kf-upper-kn", l.toLanguageTag()); 240 ICU.setDefaultLocale(enUsLocale.toLanguageTag()); 247 ICU.setDefaultLocale(unrecognizedLocale.toLanguageTag());
|
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
StubTextToSpeechService.java | 106 return TtsEngines.normalizeTTSLocale(locale).toLanguageTag();
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
DatabaseHelper.java | 138 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag(); 167 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag();
|
/cts/tests/tests/os/src/android/os/cts/ |
LocaleListTest.java | 172 assertEquals(Locale.US.toLanguageTag(), ll.toLanguageTags()); 176 assertEquals(Locale.US.toLanguageTag()+","+Locale.FRENCH.toLanguageTag(), 279 assertEquals("ae", Locale.getDefault().toLanguageTag()); 295 assertEquals("ae", Locale.getDefault().toLanguageTag());
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
LocaleBuilderTest.java | 188 String langtag = loc.toLanguageTag();
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
LocaleBuilderTest.java | 184 String langtag = loc.toLanguageTag();
|
/packages/apps/Settings/src/com/android/settings/ |
CryptKeeperConfirm.java | 143 mountService.setField("SystemLocale", Locale.getDefault().toLanguageTag());
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
LanguageFragment.java | 84 final String languageTag = localeInfo.getLocale().toLanguageTag();
|
/frameworks/base/core/java/android/os/ |
LocaleList.java | 39 // basically the result of running each locale's toLanguageTag() method and concatenating them 176 sb.append(localeClone.toLanguageTag()); 227 sb.append(localeList[i].toLanguageTag());
|
/frameworks/base/core/java/android/service/voice/ |
AlwaysOnHotwordDetector.java | 578 mKeyphraseMetadata.id, mLocale.toLanguageTag(), mInternalCallback, 751 mVoiceInteractionService, keyphraseId, locale.toLanguageTag());
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
MccTable.java | 308 l.toLanguageTag()); 320 bestMatch.toLanguageTag());
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
KeyphraseEnrollmentInfo.java | 314 .putExtra(EXTRA_VOICE_KEYPHRASE_LOCALE, locale.toLanguageTag())
|
/frameworks/base/core/java/android/text/style/ |
SuggestionSpan.java | 154 mLanguageTag = sourceLocale == null ? "" : sourceLocale.toLanguageTag();
|
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
TextToSpeechTests.java | 181 assertEquals(defaultLocale.toLanguageTag(), req.getValue().getVoiceName());
|
/libcore/ojluni/src/main/java/java/util/ |
Locale.java | 327 * losing information. Thus <code>toLanguageTag</code> cannot 335 * then always rely on <code>toLanguageTag</code> for this purpose. 383 * that <code>toLanguageTag</code> reflects the new one). This [all...] |
/frameworks/base/core/java/android/content/res/ |
Configuration.java | [all...] |