History log of /frameworks/base/core/java/android/speech/tts/TtsEngines.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
39268ffcb74f4c177e5e7427b66480c77743f928 17-Oct-2011 Narayan Kamath <narayan@google.com> Format default locale the same way as those stored in prefs.

Also explicitly disallow locales with empty countries. This
is required to match them against the set of engine supported
locales.

bug:5309930
Change-Id: Ie9714fdc09d3081081a2393d97c31e3a42bca294
/frameworks/base/core/java/android/speech/tts/TtsEngines.java
e5b8c4dfc70288f661e0da4f082dd51cc1399f86 22-Aug-2011 Narayan Kamath <narayan@google.com> Framework changes to support new TTS settings features.

Locale is now stored per engine, instead of as a global
option.

bug:5149036
Change-Id: I9848172623fe8aea1dd8e6678bca008da6a4cfb1
/frameworks/base/core/java/android/speech/tts/TtsEngines.java
4d03462b374dfc080f0c7c78d458c102a26be5c6 16-Jun-2011 Narayan Kamath <narayan@google.com> New API for TTS settings.

Engines must declare a <meta-data> attribute in their
manifest with name "android.speech.tts". This must reference
an XML resource as per
com.android.internal.R.styleable.TextToSpeechEngine.

Change-Id: I56a6b9f1a360174f98c9f39da901ade83d0f38a7
/frameworks/base/core/java/android/speech/tts/TtsEngines.java
c3edf2a01a2cf2123a3de17ec1da11a3b6c459f0 15-Jun-2011 Narayan Kamath <narayan@google.com> Don't enforce defaults any more in the TextToSpeech API.

This has been discussed in an email thread. This brings the
text to speech API in line with other android APIs.

The user can set default speech rates / languages and
engine preferences, which the API obeys BUT these can be
overriden by individual apps (much like intent.setComponent
and intent.setClassName can be used to launch a specific
handler for a given intent).

Also, all installed engines are enabled by default. The
user is shown the "data privacy" warning every time an
installed engine is set to the default.

Change-Id: I24f5f331b3a7cc7ce1a62962192e3a452bdca9d4
/frameworks/base/core/java/android/speech/tts/TtsEngines.java
0e20fe5bab7dc3aff488d133961acfe0239f5240 14-Jun-2011 Narayan Kamath <narayan@google.com> A few TTS bug fixes

(a) ensure that onInit is called exactly once per call to initTts().
(b) TtsEngines should never return an engine that is not installed.

Change-Id: Ic1ef63a9339e6d1050e3302445ca40d3ae481f61
/frameworks/base/core/java/android/speech/tts/TtsEngines.java
d3ee2fa18464fb7e4d7f6d27610fbf60b6d1ffce 10-Jun-2011 Narayan Kamath <narayan@google.com> Refactor some of TextToSpeech

required to let the Settings code to the same logic
and not have to roll it's own.

Change-Id: I2766b8562c940182a2954555fb1854889c3ac91a
/frameworks/base/core/java/android/speech/tts/TtsEngines.java