Searched refs:hasLanguage (Results 1 – 3 of 3) sorted by relevance
97 inline bool hasLanguage() const { return mLanguage != NO_LANGUAGE; } in hasLanguage() function104 return hasLanguage() || hasScript() || hasRegion() || hasVariant() || hasEmojiStyle(); in isSupported()
1448 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()
953 boolean hasLanguage() { in hasLanguage() method in TextToSpeechService.UtteranceSpeechItemWithParams1075 if (!hasLanguage()) return mDefaultLocale[1]; in getCountry()1080 if (!hasLanguage()) return mDefaultLocale[2]; in getVariant()