/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesLocaleTest.java | 55 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/ |
D | LocaleHelper.java | 143 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/ |
D | FontCollection.cpp | 69 std::string languageTag; member 95 paint.localeListId = registerLocaleList(ITEMIZE_TEST_CASES[testIndex].languageTag); in BM_FontCollection_itemize()
|
/frameworks/base/core/java/android/view/textservice/ |
D | SpellCheckerSubtype.java | 82 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/ |
D | InputMethodSubtypeTest.java | 152 final String languageTag) { in createDummySubtypeUsingLanguageTag() argument 156 .setLanguageTag(languageTag) in createDummySubtypeUsingLanguageTag()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodSubtype.java | 186 public InputMethodSubtypeBuilder setLanguageTag(String languageTag) { in setLanguageTag() argument 187 mSubtypeLanguageTag = languageTag == null ? LANGUAGE_TAG_NONE : languageTag; in setLanguageTag()
|
/frameworks/base/core/java/android/text/style/ |
D | SuggestionSpan.java | 341 private static int hashCodeInternal(String[] suggestions, @NonNull String languageTag, in hashCodeInternal() argument 344 languageTag, localeStringForCompatibility}); in hashCodeInternal()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | AdditionalSubtypeUtils.java | 252 final String languageTag = in load() local 267 .setLanguageTag(languageTag) in load()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassifierEvent.java | 188 final String languageTag = in.readString(); in TextClassifierEvent() local 189 mLocale = languageTag == null ? null : ULocale.forLanguageTag(languageTag); in TextClassifierEvent()
|
/frameworks/base/core/java/android/os/ |
D | LocaleList.java | 396 for (String languageTag : supportedLocales) { in computeFirstMatchIndex() 397 final Locale supportedLocale = Locale.forLanguageTag(languageTag); in computeFirstMatchIndex()
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesImpl.java | 538 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/ |
D | TextClassifierTest.java | 646 private static Matcher<TextLanguage> isTextLanguage(final String languageTag) { 653 && languageTag.equals(result.getLocale(0).toLanguageTag()); 660 description.appendText("locale=").appendValue(languageTag);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/ |
D | InputMethodUtilsTest.java | 897 String languageTag, String mode, boolean isAuxiliary, in createDummyInputMethodSubtype() argument 910 .setLanguageTag(languageTag) in createDummyInputMethodSubtype()
|
/frameworks/base/services/java/com/android/server/ |
D | SystemServer.java | 409 final String languageTag = Locale.getDefault().toLanguageTag(); in run() local 411 SystemProperties.set("persist.sys.locale", languageTag); in run()
|
/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyManager.java | 9196 String languageTag = telephony.getSimLocaleForSubscriber(getSubId()); in getSimLocale() local 9197 if (!TextUtils.isEmpty(languageTag)) { in getSimLocale() 9198 return Locale.forLanguageTag(languageTag); in getSimLocale()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 96883 Lcom/android/internal/R$attr;->languageTag:I 117913 Ljava/util/Locale;->languageTag:Ljava/lang/String;
|
/frameworks/base/api/ |
D | current.txt | 824 field public static final int languageTag = 16844040; // 0x1010508
|