Searched refs:hasLanguage (Results 1 – 2 of 2) sorted by relevance
1437 final boolean hasLanguage = !TextUtils.isEmpty(language); in getSuitableLocalesForSpellChecker()1442 if (hasLanguage && hasCountry && hasVariant) { in getSuitableLocalesForSpellChecker()1447 if (hasLanguage && hasCountry) { in getSuitableLocalesForSpellChecker()1452 if (hasLanguage) { in getSuitableLocalesForSpellChecker()
934 boolean hasLanguage() { in hasLanguage() method in TextToSpeechService.UtteranceSpeechItemWithParams1056 if (!hasLanguage()) return mDefaultLocale[1]; in getCountry()1061 if (!hasLanguage()) return mDefaultLocale[2]; in getVariant()