4b73867a12a9339c7788e8949aac4a32d2eee22b |
|
19-Nov-2014 |
Przemyslaw Szczepaniak <pszczepaniak@google.com> |
Add UtteranceProgressListener#onStop callback New UtteranceProgressListener callback that allows to detect a call to TextToSpeech#stop() (or QUEUE_FLUSH usage) from the same client, or a QUEUE_DESTROY usage from any other client (Talkback uses it to preempt other users of TextToSpeech queue). This change is required for seamless Books read aloud feature+Talkback usage. + Fixes for broken tests/TtsTests Bug: 17901521 Change-Id: I30d2f297bb7c8d05cbeb16f63e85c1be0cca5c84
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/TextToSpeechTests.java
|
fd80746bb9d67be3a9f87dcb9264785a53631b74 |
|
05-Aug-2014 |
Przemyslaw Szczepaniak <pszczepaniak@google.com> |
Set the TTS voice name for the default language. This changes makes the initial, default language set and the #setLanguage call with the default language as input exactly the same. Previously, the requests made after the initial default language set were missing the name of the default voice. + Some tests clean-up. Some of them fail due to issues with Locale#toLanguageTag upper-casing the variant field. Change-Id: I5470617007fe45462b7198bf62a03eb5fe47a590
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/TextToSpeechTests.java
|
93d34a61dbdfd9ece9ac4a53d78e896638172895 |
|
29-Jul-2013 |
Przemyslaw Szczepaniak <pszczepaniak@google.com> |
Fix TTS tests. Fix breakages steaming from recent changes: - onGetLanguage is no longer called anywhere (it's used in API <= 17), tests for it no longer apply. - onLoadLanguage is called as item on synthesis thread queue. To return value to client asap, onIsLanguageAvailable is called as well - added missing expectations for mocks. Change-Id: I205bc406f085e2c2f7e98f8495ddb96ad3701b97
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/TextToSpeechTests.java
|
c60aad2a8ab519a9f9ac03f4f9f929ded7ba2db5 |
|
06-Dec-2011 |
Narayan Kamath <narayan@google.com> |
Write unit tests for android.speech.tts. Change-Id: Ie5b3b4cdd13be2babee9a44bae00da179b372d12
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/TextToSpeechTests.java
|