Searched refs:isLanguageAvailable (Results 1 – 6 of 6) sorted by relevance
92 protected int isLanguageAvailable(final Locale loc) { in isLanguageAvailable() method in ShadowTextToSpeech93 return sInstance.isLanguageAvailable(loc); in isLanguageAvailable()
208 when(mTts.isLanguageAvailable(any(Locale.class))).thenReturn( in speakSampleText_requiresNetworkConnection_languageNotAvailable_showsAlert()221 when(mTts.isLanguageAvailable(Locale.FRENCH)).thenReturn(TextToSpeech.LANG_AVAILABLE); in speakSampleText_requiresNetworkConnection_languageAvailable_speaksText()
153 if (!networkRequired || networkRequired && mTts.isLanguageAvailable(defaultLocale) in speakSampleText()
428 mTts.isLanguageAvailable(mCurrentDefaultLocale) >= TextToSpeech.LANG_AVAILABLE) { in speakSampleText()
604 (mTts.isLanguageAvailable(mCurrentDefaultLocale) >= TextToSpeech.LANG_AVAILABLE)) { in speakSampleText()