Searched refs:mTts (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
D | TextToSpeechTests.java | 39 private TextToSpeech mTts; field in TextToSpeechTests 47 assertEquals(MOCK_ENGINE, mTts.getCurrentEngine()); in setUp() 53 if (mTts != null) { in tearDown() 54 mTts.shutdown(); in tearDown() 63 assertNull(mTts.getCurrentEngine()); in testEngineInitialized() 77 …assertEquals(TextToSpeech.LANG_COUNTRY_VAR_AVAILABLE, mTts.setLanguage(new Locale("eng", "USA", "v… in testSetLanguage_delegation() 98 mTts.setLanguage(new Locale("eng", "USA", "variant")); in testSetLanguage_availableLanguage() 121 mTts.setLanguage(Locale.FRANCE); in testSetLanguage_unavailableLanguage() 142 assertEquals(TextToSpeech.LANG_COUNTRY_AVAILABLE, mTts.isLanguageAvailable(Locale.US)); in testIsLanguageAvailable() 175 mTts.speak(speech, TextToSpeech.QUEUE_ADD, null); in blockingCallSpeak() [all …]
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | EnableAccessibilityController.java | 62 mTts.speak(text, TextToSpeech.QUEUE_FLUSH, null); 66 mTts.speak(text, TextToSpeech.QUEUE_FLUSH, null); 71 mTts.speak(mContext.getString(R.string.accessibility_enabled), 88 private final TextToSpeech mTts; field in EnableAccessibilityController 105 mTts = new TextToSpeech(context, new TextToSpeech.OnInitListener() { in EnableAccessibilityController() 109 mTts.shutdown(); in EnableAccessibilityController()
|
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/ |
D | ScoAudioTest.java | 69 private TextToSpeech mTts; field in ScoAudioTest 131 mTts = new TextToSpeech(this, new TtsInitListener()); in onCreate() 169 mTts.shutdown(); in onDestroy() 520 if (mTts == null) { in onInit() 525 int result = mTts.setLanguage(Locale.US); in onInit() 532 mTts.setOnUtteranceCompletedListener(new MyUtteranceCompletedListener(UTTERANCE)); in onInit() 620 … mTts.synthesizeToFile(mSpeakText.getText().toString(), mTtsParams, mSampleFile.getPath()); 622 mTts.speak(mSpeakText.getText().toString(),
|