Searched refs:mTts (Results 1 – 5 of 5) sorted by relevance
138 private TextToSpeech mTts = null; field in TextToSpeechSettings208 mTts = new TextToSpeech(getActivity().getApplicationContext(), mInitListener); in onCreate()222 if (mTts == null || mCurrentDefaultLocale == null) { in onResume()225 Locale ttsDefaultLocale = mTts.getDefaultLanguage(); in onResume()233 if (mTts == null) { in setTtsUtteranceProgressListener()236 mTts.setOnUtteranceProgressListener(new UtteranceProgressListener() { in setTtsUtteranceProgressListener()253 if (mTts != null) { in onDestroy()254 mTts.shutdown(); in onDestroy()255 mTts = null; in onDestroy()278 if (mTts != null) { in initSettings()[all …]
68 private TextToSpeech mTts; field in TtsEngineSettingsFragment154 mTts = new TextToSpeech(getActivity().getApplicationContext(), mTtsInitListener, in onCreate()167 mTts.shutdown(); in onDestroy()209 mTts.getCurrentEngine()); in updateVoiceDetails()357 if (getEngineName().equals(mTts.getCurrentEngine())) { in updateLanguageTo()359 mTts.setLanguage((locale != null) ? locale : Locale.getDefault()); in updateLanguageTo()
101 private TextToSpeech mTts = null; field in TextToSpeechFragment166 mTts = new TextToSpeech(getActivity().getApplicationContext(), mInitListener); in onCreate()177 if (mTts == null || mCurrentDefaultLocale == null) { in onResume()180 Locale ttsDefaultLocale = mTts.getDefaultLanguage(); in onResume()188 if (mTts == null) { in setTtsUtteranceProgressListener()191 mTts.setOnUtteranceProgressListener(new UtteranceProgressListener() { in setTtsUtteranceProgressListener()208 if (mTts != null) { in onDestroy()209 mTts.shutdown(); in onDestroy()210 mTts = null; in onDestroy()228 mCurrentEngine = mTts.getCurrentEngine(); in initSettings()[all …]
84 private TextToSpeech mTts; field in TtsEngineSettingsFragment178 mTts = new TextToSpeech(getActivity().getApplicationContext(), mTtsInitListener, in onCreate()191 mTts.shutdown(); in onDestroy()233 mTts.getCurrentEngine()); in updateVoiceDetails()375 if (getEngineName().equals(mTts.getCurrentEngine())) { in updateLanguageTo()377 mTts.setLanguage((locale != null) ? locale : Locale.getDefault()); in updateLanguageTo()
103 private TextToSpeech mTts; field in CellBroadcastAlertAudio159 res = mTts.speak(mMessageBody, 2, params, TTS_UTTERANCE_ID);195 mTts.setOnUtteranceCompletedListener(this); in onInit()200 mTts = null; in onInit()213 TextToSpeech.LANG_AVAILABLE != mTts.isLanguageAvailable(new Locale(language))) { in setTtsLanguage()216 TextToSpeech.LANG_AVAILABLE != mTts.isLanguageAvailable(new Locale(language))) { in setTtsLanguage()227 int result = mTts.setLanguage(new Locale(language)); in setTtsLanguage()270 if (mTts != null) { in onDestroy()272 mTts.shutdown(); in onDestroy()336 if (mTts == null) { in onStartCommand()[all …]