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

/packages/apps/Settings/src/com/android/settings/tts/
H A DTextToSpeechSettings.java138 private TextToSpeech mTts = null; field in class:TextToSpeechSettings
208 mTts = new TextToSpeech(getActivity().getApplicationContext(), mInitListener);
222 if (mTts == null || mCurrentDefaultLocale == null) {
225 Locale ttsDefaultLocale = mTts.getDefaultLanguage();
233 if (mTts == null) {
236 mTts.setOnUtteranceProgressListener(new UtteranceProgressListener() {
253 if (mTts != null) {
254 mTts.shutdown();
255 mTts = null;
278 if (mTts !
[all...]
H A DTtsEngineSettingsFragment.java68 private TextToSpeech mTts; field in class:TtsEngineSettingsFragment
154 mTts = new TextToSpeech(getActivity().getApplicationContext(), mTtsInitListener,
167 mTts.shutdown();
209 mTts.getCurrentEngine());
357 if (getEngineName().equals(mTts.getCurrentEngine())) {
359 mTts.setLanguage((locale != null) ? locale : Locale.getDefault());
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
H A DTextToSpeechFragment.java101 private TextToSpeech mTts = null; field in class:TextToSpeechFragment
166 mTts = new TextToSpeech(getActivity().getApplicationContext(), mInitListener);
177 if (mTts == null || mCurrentDefaultLocale == null) {
180 Locale ttsDefaultLocale = mTts.getDefaultLanguage();
188 if (mTts == null) {
191 mTts.setOnUtteranceProgressListener(new UtteranceProgressListener() {
208 if (mTts != null) {
209 mTts.shutdown();
210 mTts = null;
228 mCurrentEngine = mTts
[all...]
H A DTtsEngineSettingsFragment.java84 private TextToSpeech mTts; field in class:TtsEngineSettingsFragment
178 mTts = new TextToSpeech(getActivity().getApplicationContext(), mTtsInitListener,
191 mTts.shutdown();
233 mTts.getCurrentEngine());
375 if (getEngineName().equals(mTts.getCurrentEngine())) {
377 mTts.setLanguage((locale != null) ? locale : Locale.getDefault());
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastAlertAudio.java93 private TextToSpeech mTts; field in class:CellBroadcastAlertAudio
157 res = mTts.speak(mMessageBody, 2, params, TTS_UTTERANCE_ID);
193 mTts.setOnUtteranceCompletedListener(this);
198 mTts = null;
211 TextToSpeech.LANG_AVAILABLE != mTts.isLanguageAvailable(new Locale(language))) {
214 TextToSpeech.LANG_AVAILABLE != mTts.isLanguageAvailable(new Locale(language))) {
225 int result = mTts.setLanguage(new Locale(language));
268 if (mTts != null) {
270 mTts.shutdown();
329 if (mTts
[all...]

Completed in 118 milliseconds