Lines Matching refs:mTts
92 private TextToSpeech mTts;
156 res = mTts.speak(mMessageBody, 2, params, TTS_UTTERANCE_ID);
192 mTts.setOnUtteranceCompletedListener(this);
197 mTts = null;
210 TextToSpeech.LANG_AVAILABLE != mTts.isLanguageAvailable(new Locale(language))) {
213 TextToSpeech.LANG_AVAILABLE != mTts.isLanguageAvailable(new Locale(language))) {
224 int result = mTts.setLanguage(new Locale(language));
267 if (mTts != null) {
269 mTts.shutdown();
328 if (mTts == null) {
329 mTts = new TextToSpeech(this, this);
492 } else if (mState == STATE_SPEAKING && mTts != null) {
494 mTts.stop();