Searched refs:isLanguageAvailable (Results 1 – 5 of 5) sorted by relevance
92 protected int isLanguageAvailable(final Locale loc) { in isLanguageAvailable() method in ShadowTextToSpeech93 return sInstance.isLanguageAvailable(loc); in isLanguageAvailable()
199 when(mTts.isLanguageAvailable(any(Locale.class))).thenReturn( in speakSampleText_requiresNetworkConnection_languageNotAvailable_showsAlert()212 when(mTts.isLanguageAvailable(Locale.FRENCH)).thenReturn(TextToSpeech.LANG_AVAILABLE); in speakSampleText_requiresNetworkConnection_languageAvailable_speaksText()
154 if (!networkRequired || networkRequired && mTts.isLanguageAvailable(defaultLocale) in speakSampleText()
467 mTts.isLanguageAvailable(mCurrentDefaultLocale) >= TextToSpeech.LANG_AVAILABLE) { in speakSampleText()
635 (mTts.isLanguageAvailable(mCurrentDefaultLocale) >= TextToSpeech.LANG_AVAILABLE)) { in speakSampleText()