Home
last modified time | relevance | path

Searched refs:hasLanguage (Results 1 – 3 of 3) sorted by relevance

/frameworks/minikin/libs/minikin/
DLocale.h97 inline bool hasLanguage() const { return mLanguage != NO_LANGUAGE; } in hasLanguage() function
104 return hasLanguage() || hasScript() || hasRegion() || hasVariant() || hasEmojiStyle(); in isSupported()
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodUtils.java1448 final boolean hasLanguage = !TextUtils.isEmpty(language); in getSuitableLocalesForSpellChecker()
1453 if (hasLanguage && hasCountry && hasVariant) { in getSuitableLocalesForSpellChecker()
1458 if (hasLanguage && hasCountry) { in getSuitableLocalesForSpellChecker()
1463 if (hasLanguage) { in getSuitableLocalesForSpellChecker()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java953 boolean hasLanguage() { in hasLanguage() method in TextToSpeechService.UtteranceSpeechItemWithParams
1075 if (!hasLanguage()) return mDefaultLocale[1]; in getCountry()
1080 if (!hasLanguage()) return mDefaultLocale[2]; in getVariant()