Searched refs:mTts (Results 1 - 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/tts/
H A DTextToSpeechSettings.java98 private TextToSpeech mTts = null; field in class:TextToSpeechSettings
139 mTts = new TextToSpeech(getActivity().getApplicationContext(), mInitListener);
147 if (mTts == null) {
150 mTts.setOnUtteranceProgressListener(new UtteranceProgressListener() {
167 if (mTts != null) {
168 mTts.shutdown();
169 mTts = null;
186 mCurrentEngine = mTts.getCurrentEngine();
213 String currentEngine = mTts.getCurrentEngine();
215 if (TextUtils.isEmpty(currentEngine)) currentEngine = mTts
[all...]
H A DTtsEngineSettingsFragment.java63 private TextToSpeech mTts; field in class:TtsEngineSettingsFragment
130 mTts = new TextToSpeech(getActivity().getApplicationContext(), mTtsInitListener,
144 mTts.shutdown();
295 if (getEngineName().equals(mTts.getCurrentEngine())) {
298 mTts.setLanguage(new Locale(localeArray[0], localeArray[1], localeArray[2]));
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastAlertAudio.java89 private TextToSpeech mTts; field in class:CellBroadcastAlertAudio
131 mTts.speak(mMessageBody, TextToSpeech.QUEUE_FLUSH, null);
170 mTts = null;
182 int result = mTts.setLanguage(new Locale(mMessageLanguage));
220 if (mTts != null) {
222 mTts.shutdown();
277 if (mTts == null) {
278 mTts = new TextToSpeech(this, this);
418 } else if (mState == STATE_SPEAKING && mTts != null) {
420 mTts
[all...]
/packages/apps/VoiceDialer/src/com/android/voicedialer/
H A DVoiceDialerActivity.java169 private TextToSpeech mTts; field in class:VoiceDialerActivity
311 mTts.speak(getString(R.string.speak_now_tts),
335 if (mTts == null) {
342 mTts.setOnUtteranceCompletedListener(new OnUtteranceCompletedListener());
397 mTts = new TextToSpeech(VoiceDialerActivity.this, new TtsInitListener());
510 mTts.speak(getString(R.string.no_results_tts),
541 mTts.speak(sentenceSpoken,
908 mTts.speak(getString(R.string.invalid_choice_tts),
964 mTts.speak(builder.toString(),
1048 mTts
[all...]

Completed in 50 milliseconds