History log of /frameworks/base/tests/TtsTests/src/com/android/speech/tts/TtsEnginesTests.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ad6df74ada7c478257425b746588f22eeec199a6 01-Jul-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> Add support for voices in TTS API.

Voices allow to expose multiple backends/voice packs for a single
Locale. This is an attempt to port this feature from V2 API.

Bug: 15834470
Change-Id: I0117de238cfcf028bcec5344b8d65c960b96b98c
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/TtsEnginesTests.java
1b5637ee32c5d4e5d857fa86a1b1c1db23d027b7 30-May-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> Expose "default tts locale" to the TTS V2 API.

This change allows TTS V2 API client applications to honor the
"default TTS locale" set by the user in the TTS settings.

Note that the TTS V1 API uses 3 character country/language codes
for locale encoding. It's the only system component that does
that. TTS V2 uses the standard, valid Locale objects. The default
TTS locale setting was stored as a 3 character locale string with
"-" as the separator.

This change switches the TTS locale setting format to the output of
Locale.toString() call (on a valid Locale object). Methods used for
reading this value can interpret both forms and try to return a valid
Locale object as an output.

Change-Id: Ice2e6c25a43eb9dd6e17d371ee582c2dae3329c9
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/TtsEnginesTests.java