Lines Matching refs:mTts
129 public TextToSpeech mTts; field in CellBroadcastAlertAudio
178 mTts.setOnUtteranceCompletedListener(this); in onInit()
183 mTts = null; in onInit()
205 int result = mTts.setLanguage(locale); in setTtsLanguage()
265 mTts.setAudioAttributes(getAlertAudioAttributes()); in onCreate()
267 mTts.speak("", TextToSpeech.QUEUE_FLUSH, null, null); in onCreate()
268 res = mTts.speak(mMessageBody, 2, null, TTS_UTTERANCE_ID); in onCreate()
315 if (mTts != null) { in onDestroy()
317 mTts.shutdown(); in onDestroy()
430 if (mTts == null) { in handleStartIntent()
431 mTts = new TextToSpeech(this, this); in handleStartIntent()
709 if (mTts != null && mIsTextToSpeechSpeaking) { in stop()
711 mTts.stop(); in stop()