Home
last modified time | relevance | path

Searched refs:languageTag (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesLocaleTest.java55 for (String languageTag : supportedLocales) { in ensureNoLanguage()
56 if ("en-XA".equals(languageTag)) { in ensureNoLanguage()
61 language.equals(Locale.forLanguageTag(languageTag).getLanguage())); in ensureNoLanguage()
/frameworks/base/core/java/com/android/internal/app/
DLocaleHelper.java143 final String languageTag = locale.toLanguageTag(); in getDisplayCountry() local
145 final String country = ULocale.getDisplayCountry(languageTag, uDisplayLocale); in getDisplayCountry()
149 ULocale.getDisplayKeywordValue(languageTag, "numbers", uDisplayLocale)); in getDisplayCountry()
/frameworks/minikin/tests/perftests/
DFontCollection.cpp69 std::string languageTag; member
95 paint.localeListId = registerLocaleList(ITEMIZE_TEST_CASES[testIndex].languageTag); in BM_FontCollection_itemize()
/frameworks/base/core/java/android/view/textservice/
DSpellCheckerSubtype.java82 public SpellCheckerSubtype(int nameId, String locale, String languageTag, String extraValue, in SpellCheckerSubtype() argument
86 mSubtypeLanguageTag = languageTag != null ? languageTag : SUBTYPE_LANGUAGE_TAG_NONE; in SpellCheckerSubtype()
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DInputMethodSubtypeTest.java152 final String languageTag) { in createDummySubtypeUsingLanguageTag() argument
156 .setLanguageTag(languageTag) in createDummySubtypeUsingLanguageTag()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSubtype.java186 public InputMethodSubtypeBuilder setLanguageTag(String languageTag) { in setLanguageTag() argument
187 mSubtypeLanguageTag = languageTag == null ? LANGUAGE_TAG_NONE : languageTag; in setLanguageTag()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DAdditionalSubtypeUtils.java252 final String languageTag = in load() local
267 .setLanguageTag(languageTag) in load()
/frameworks/base/core/java/android/text/style/
DSuggestionSpan.java341 private static int hashCodeInternal(String[] suggestions, @NonNull String languageTag, in hashCodeInternal() argument
344 languageTag, localeStringForCompatibility}); in hashCodeInternal()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifierEvent.java188 final String languageTag = in.readString(); in TextClassifierEvent() local
189 mLocale = languageTag == null ? null : ULocale.forLanguageTag(languageTag); in TextClassifierEvent()
/frameworks/base/core/java/android/os/
DLocaleList.java374 for (String languageTag : supportedLocales) { in computeFirstMatchIndex()
375 final Locale supportedLocale = Locale.forLanguageTag(languageTag); in computeFirstMatchIndex()
/frameworks/base/core/java/android/content/res/
DResourcesImpl.java538 private static String adjustLanguageTag(String languageTag) { in adjustLanguageTag() argument
539 final int separator = languageTag.indexOf('-'); in adjustLanguageTag()
544 language = languageTag; in adjustLanguageTag()
547 language = languageTag.substring(0, separator); in adjustLanguageTag()
548 remainder = languageTag.substring(separator); in adjustLanguageTag()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassifierTest.java649 private static Matcher<TextLanguage> isTextLanguage(final String languageTag) {
656 && languageTag.equals(result.getLocale(0).toLanguageTag());
663 description.appendText("locale=").appendValue(languageTag);
/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/
DInputMethodUtilsTest.java897 String languageTag, String mode, boolean isAuxiliary, in createDummyInputMethodSubtype() argument
910 .setLanguageTag(languageTag) in createDummyInputMethodSubtype()
/frameworks/base/services/java/com/android/server/
DSystemServer.java414 final String languageTag = Locale.getDefault().toLanguageTag(); in run() local
416 SystemProperties.set("persist.sys.locale", languageTag); in run()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java10150 String languageTag = telephony.getSimLocaleForSubscriber(getSubId()); in getSimLocale() local
10151 if (!TextUtils.isEmpty(languageTag)) { in getSimLocale()
10152 return Locale.forLanguageTag(languageTag); in getSimLocale()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt90444 Lcom/android/internal/R$attr;->languageTag:I
110404 Ljava/util/Locale;->languageTag:Ljava/lang/String;
/frameworks/base/non-updatable-api/
Dcurrent.txt826 field public static final int languageTag = 16844040; // 0x1010508
/frameworks/base/api/
Dcurrent.txt826 field public static final int languageTag = 16844040; // 0x1010508