History log of /frameworks/base/core/java/android/speech/tts/TextToSpeech.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6ddd9c29b376fda27c4df3b18d6a67de14a633ca 25-Sep-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> Fix ambiguous TTS#playSilence method.

Due to recent fixes for TTS API review (b/17389935)
overloaded playSilence method became ambiguous when
the last argument is null. This change renames the new
method to playSilentUtterance solving the issue.

Also, since LMP API level is 21, I updated invalid
references to it as API level 20 inside speech.tts.

Bug: 17389935
Change-Id: I9f9fae988240d1cec45d44650e53ffc29803ccac
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
f9ba548f210b0ed071ff7d597ddf2209af817294 22-Sep-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> Fix issues with new TTS API

Bug: 17389935
Change-Id: I59234b3222f59dc89be7e40f7d4706b1f8c610ce
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
3786bc549891592335be0f454609d9c626d69ef4 11-Sep-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> Replace TreeSet with HashSet.

Both Locale and Voice do not implement Comparable.

Bug: 17467923
Change-Id: I683577e5b18ae1892e1ccea5ea241e1d016c9517
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
35c7698a1b17c3e4ca0eae753e68bf069a463d70 05-Sep-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> API review requests for the TTS package.

- New TextToSpeechService methods are no longer protected.
- s/getRequiresNetworkConnection/isNetworkConnectionRequired
- New TextToSpeec#play.. methods use a Bundle instead of a HashMap
- New synthesizeToFile(), addSpeech(), addEarcon() methods
take a File instead of a String with filepath.
- TextToSpeechService#s/isValidVoiceName/onIsValidVoiceName

Bug:17389935,17253934
Change-Id: Iec76f59015c34104683c050fe1ff1ceccd604134
/frameworks/base/core/java/android/speech/tts/TextToSpeech.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/core/java/android/speech/tts/TextToSpeech.java
289cc8e887f786f557faab226a1e01abb9a632a6 19-Jul-2014 Jean-Michel Trivi <jmtrivi@google.com> API for audio session ID generation

Expose the value used by the framework to generate an audio
session ID when a value isn't known.
Rename allocateAudioSessionId() to generateAudioSessionId()
as this operation doesn't "allocate" anything, and there is
no allocated resource to free after this operation.

Bug 16401631

Change-Id: I7a7bc05b39ea0b024ff225254eb755a9c85a2ad9
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
672695e42387a024083d198f3d665f354ef1d27c 14-Jul-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> Add AudioAttributes support in the TTS.

Bug: 16259299
Change-Id: I53f4f7a2b9a3b9a422affaf6abe4aca258e67d7f
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
cafd15216ee66a302ee69c0ea0c6c63b07a2f68c 08-Jul-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> Fix TTS regression, TTS#stop can result in #onDone callback.

Regressinon in the L, side effect of the rewrite. In pre-L android,
UtteranceProgressListener#onDone was called (but only if client
received UtteranceProgressListener#onStart for the utterance in progress)
after client called TextToSpeech#stop. This changeset reinstates
this behaviour.
+ Removed not used fallback callback

Bug: 16149006
Change-Id: I2eb5ede0abe6f5717b07f09adad861465575c238
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
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/core/java/android/speech/tts/TextToSpeech.java
f8fd3420919a2693b644294d2dbd432b19370f3d 02-Jul-2014 Niels Egberts <nielse@google.com> First argument of playSilence is incorrect in javaDoc.

Change-Id: Icc059471e61fb6154108b74ea45cb06554d80631
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
795d777ee13405d8b6ba6c889ea3ef49713892a8 02-Jul-2014 Niels Egberts <nielse@google.com> Forgot to deprecate a method in current.txt before merging earlier change.

Also includes a comment fix and line size changes in TextToSpeech.java.

Change-Id: Ia5842b694bca6cd9cae035164ffc605451e72d8b
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
df7deefe8ebcbd619f27e2d394d7e5d0d7af33d1 25-Jun-2014 Niels Egberts <nielse@google.com> Support for CharSequences in the V1 API.

Two newly deprecated methods:
- TextToSpeech.speak (over TextToSpeech.speak with mandatory utteranceId)
- SynthesisRequest.getText (over SynthesisRequest.getCharSequenceText)

Change-Id: I8a75ed335c91074c72d6ef374ff8b9c79a7c208d
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
5cbf17ca053b09beadd0b031a46ce193ab27a0f8 18-Jun-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> Add support for audio session id in the TTS

+ #playEarcon & #queueAudio respects request Volume/Pan settings.

Bug:15432115
Change-Id: I136afef77afbc56c34810c64123f7be4b431d378
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
fc4b2890378eb1b6e0b11d60d703eb6854268064 26-Jun-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> Remove TextToSpeechClient API.

Removed all of TTS V2 api with exception of error codes.

Bug: 15834470
Change-Id: I9d9d2aad01811af9b86bf7a3fd018a8d4e5c2f33
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
a1788af3440fef04d16067223a31e9dced3500b9 24-Mar-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> Documentation update for TextToSpeech#getFeatures

Added note that it may return null in case of error.

Bug: 12323454
Change-Id: I246f7e894c5e8a6421bdd72c7623c72e8a13fc3a
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
952c0fd7bc6bb3ec9e0252f0799bbeabcf70dc1a 21-Mar-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> Do not reset language in case of the TTS service reconnect.

Bug:12428804
Change-Id: I0b1b1274c47edd28eae1701808d50aeb6c36324c
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
eb337054edef31c9bdab4a59913f42038d5deaae 25-Oct-2013 Nick Kralevich <nnk@google.com> fix javadocs.

Change-Id: Ie008e28db0d3de22c933b4ef1ccbd3f082010a77
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
90d15d2371ad85f22254be6985455aa2baa5d15d 14-Jun-2013 Przemyslaw Szczepaniak <pszczepaniak@google.com> Add new TTS API.

Much of existing API is reused (mostly on the service side). The new API
provides better support for network-based synthesis, defines explicit
synthesis fallback support, has better error handling, allows for multiple
different voices per locale, features enumeration and custom extensions
on a voice level and many more.

If a service does not provide a V2 implementation, a basic adapter
from V2 to existing V1 implementation is provided.

Bug: 8259486
Change-Id: I797b7fc054f11c9b0d930f4dea582e57596ea127
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
58f16653728417100c61b5cb63298e0e3bb528dc 20-Sep-2013 Przemyslaw Szczepaniak <pszczepaniak@google.com> Catch MissingResourceException caused by bad locale in TTS.

Malformed locale objects will throw MissingResourceException
from getISO3Country() and getISO3Language() methods.

This change guard against the case where device default locale is
malformed and user tries to get TTS default locale (b/10814409)
and case where user tries to pass bad locale as argument to
TextToSpeech.getFeatures method (b/10494193).

Bug:10494193,10814409
Change-Id: Ie54d5d30bb042324da0c0d19b77c3a932c5642f7
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
e86a936afddaa823d8454c09ed43c2d864ac77eb 30-Apr-2013 Przemyslaw Szczepaniak <pszczepaniak@google.com> Document the case where TTS onInit callback is called in ctor.

Bug: 8743649
Change-Id: Ibf6002f93af9d19d809679852310561e69d57c1e
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
d0b927948ec06ab90da639fe0a7bf1ec862301a0 08-May-2013 Przemyslaw Szczepaniak <pszczepaniak@google.com> Fix for TTS.setLanguage throwing MissingResourceException

Change I766f106b9165932de17de84bdd422d0fc0ae27f1 made getISO3*
methods throw MissingResourceException if locale was invalid.
This causes regression on last android release, where invalid
locale was silently ignored.

+ fix for .isLanguageAvailable

Bug: 8709594
Change-Id: Ieada6b90dc53cfdf0a4e2b4ca69854b811d0fec2
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
5acb33af357b56fffb055997718b1e4aa97f53fc 08-Feb-2013 Przemyslaw Szczepaniak <pszczepaniak@google.com> Make synthesizeToFile create file on a client side.

In previous setup, synthesizeToFile method relied on synthesizer
service to create world readable output file. This is potential
source of vulnerabilities.

This change moves output file creation to the client side, and
synthesizer service receives already opened file descriptor.

This change may break applications that are creating files in
now unaccessible locations, like /sdcard/.

Bug: 8027957
Change-Id: I97351be5d2f2f8ef9aa43d0ab08c4b825ca4c22b
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
647abce570f3afdd667e06e9ad71738efff0e8a8 09-Jan-2013 Przemyslaw Szczepaniak <pszczepaniak@google.com> Deprecate unused and implementation-specific parts of TTS API

Second changeset, first one was committed too hastily.

TTS Voice-data related API was originally written with
one engine in mind (pico sVox TTS). It exposes implementation
details that should be private to the engine implementation.

- Deprecating fields of ACTION_CHECK_TTS_DATA results that were
used by sVox language packs to find out location of voice data.
Those fields are TTS engine implementation details and should be
private:
EXTRA_VOICE_DATA_ROOT_DIRECTORY
EXTRA_VOICE_DATA_FILES
EXTRA_VOICE_DATA_FILES_INFO
- Deprecating fields of ACTION_CHECK_TTS_DATA request that are
providing unnescesary functionality (it can be easily done on client
side):
EXTRA_CHECK_VOICE_DATA_FOR
- Deprecating some of the return codes of ACTION_CHECK_TTS_DATA - they
are specific to sVox pico voice data and in all cases can be replaced
by CHECK_VOICE_DATA_FAIL result code.
CHECK_VOICE_DATA_BAD_DATA
CHECK_VOICE_DATA_MISSING_DATA
CHECK_VOICE_DATA_MISSING_VOLUME
- Changing semantics of ACTION_TTS_DATA_INSTALLED intent. It's now
more generic and covers any change of available voice data set (so, not only
adding languages, but also removing them should trigger broadcast. Adding and
removing features to existing locale (like embedded synthesis) should be marked
by broadcast as well).
- Deprecating its EXTRA_TTS_DATA_INSTALLED result field - client should discover
the change by running ACTION_CHECK_TTS_DATA intent.
- Making GetSampleText intent public again - it's used by most TTS engines to
provide unique demonstation data.
- Deprecating TextToSpeech.OnUtteranceCompletedListener - it was replaced
by UtteranceProgressListener in API level 15, but no one put deprecation tag
on it.

Change-Id: Ia58af7f218dc1568570712f435782d2003260e82
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
1c2df38242c29cd7f359a6fb13dc13b387264310 25-Jan-2013 Fergus Henderson <fergus@google.com> Fix logic error in Pszczepaniak's recent change.

Also improve wording of error message.

Bug: 7666482
Change-Id: I2d2316b10fdf394bec8963327529723cbd5fbb32
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
9c4012b31b0c09cb14689bd96a71aae42c8a00cd 16-Jan-2013 Przemyslaw Szczepaniak <pszczepaniak@google.com> Make TextToSpeech.shutdown() work before init callback.

TextToSpeech.shutdown() never worked properly if was called before receiving
onServiceConnected in connection object. Also, due to recent changes,
TextToSpeech.shutdown() did not work until async task created in
onServiceConnected returned its result to the main thread.

This change makes .shutdown() work in all those cases. To allow that
runAction can now execute code with connection that's not fully setuped
- so we can shutt it down. Also, newly created connection is now hold in
new member variable mConnectingServiceConnection, so it can be closed
before receiving onServiceConnected callback.

Also, I changed name of OnServiceConnectedAsyncTask to
SetupConnectionAsyncTask, I find it more descriptive.

Bug: 8003757
Change-Id: I41d84cfdb8fa28fe44235fb4a9764fa8f3d0643c
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
176baa7de11be910c36b7b4dfa7826b55ec97963 09-Jan-2013 Przemyslaw Szczepaniak <pszczepaniak@google.com> Revert "Deprecate unused and implementation-specific parts of TTS API"

This reverts commit 8a3d9f03199b93e07a5f5edc14660eab6cd233e7

Change-Id: I5a5c18f72ae2ea73c21dc27c7469c68d6b4b4c24
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
8a3d9f03199b93e07a5f5edc14660eab6cd233e7 29-Oct-2012 Przemyslaw Szczepaniak <pszczepaniak@google.com> Deprecate unused and implementation-specific parts of TTS API

TTS Voice-data related API was originally written with
one engine in mind (pico sVox TTS). It exposes some implementation
details that should be private to the engine implementation.

- Deprecating fields of ACTION_CHECK_TTS_DATA results that were
used by sVox language packs to find out location of voice data.
Those fields are TTS engine implementation details and should be
private:
EXTRA_VOICE_DATA_ROOT_DIRECTORY
EXTRA_VOICE_DATA_FILES
EXTRA_VOICE_DATA_FILES_INFO

- Deprecating fields of ACTION_CHECK_TTS_DATA request that are
providing unnescesary functionality (it can be easily done on client
side):
EXTRA_CHECK_VOICE_DATA_FOR

- Deprecating some of the return codes of ACTION_CHECK_TTS_DATA - they
are specific to sVox pico voice data and in all cases can be replaced
by CHECK_VOICE_DATA_FAIL result code.
CHECK_VOICE_DATA_BAD_DATA
CHECK_VOICE_DATA_MISSING_DATA
CHECK_VOICE_DATA_MISSING_VOLUME

- Changing semantics of ACTION_TTS_DATA_INSTALLED intent. It's now
more generic and covers any change of available voice data set (so, not only
adding languages, but also removing them should trigger broadcast. Adding and
removing features to existing locale (like embedded synthesis) should be marked
by broadcast as well).

- Deprecating its EXTRA_TTS_DATA_INSTALLED result field - client should discover
the change by running ACTION_CHECK_TTS_DATA intent.

- Making GetSampleText intent public again - it's used by most TTS engines to
provide unique demonstation data.

- Deprecating TextToSpeech.OnUtteranceCompletedListener - it was replaced
by UtteranceProgressListener in API level 15, but no one put deprecation tag
on it.

Change-Id: I6609cde5c50236457f14955e2e7c0481b2b217ec
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
b46533732c40c6aa4d0d7357176835a33d863234 04-Dec-2012 Przemyslaw Szczepaniak <pszczepaniak@google.com> Set default language in new TTS clients.

A recent change altered semantics of getLanguage call to return client
language instead of service language. This solved problems
with interferences between two clients using different lanaguages.

This change created a bug - new TTS client instance have no language set.
Since reading user preferences requires additional permissions I've
added new tts service method - getClientDefaultLanguage that will return
user preferences.

I've also added new client method, getDefaultLanguage, that allow easy
access to this data.

Bug: 7666482
Change-Id: Ieb7d2ba3a99d20c513add97f054874720a1cd82e
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
2d940bcbd1c472f8b11ce1495354f340604b4f2c 19-Nov-2012 Przemyslaw Szczepaniak <pszczepaniak@google.com> Make TTS input string limit public and documented.

TTS input limit is now publicly available from getMaxSpeechInputLength()
static method.

Bug: 7456118
Change-Id: Ib2afbb7202ad9dc15895f322fbd1480a5f1f7278
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
13896b74194b07c821d5d89713e4e747b9b77d73 09-Nov-2012 Przemyslaw Szczepaniak <pszczepaniak@google.com> woExecute onLoadLanguage in synthesis thread.

Previously, onLoadLanguage was executed without minding synthesis queue.
Now onLoadLanguage is queued item, so it won't be executed before the items
on the queue (previously TTS could receivecall to onLoadLanguage
while synthesizing in completly different language).

I've divided SpeechItem into ControlSpeechItem and UtteranceSpeechItem.
Utterance one dispatches callbacks about synthesis progress.

Bug: 7510063
Bug: 5351864
Change-Id: Ibd156b3cecb190e5c07c4451e61121127b54d51e
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
228323e759445398e2d723de9365da71099ec58b 12-Nov-2012 Przemyslaw Szczepaniak <pszczepaniak@google.com> Make getLanguage return client-set language

Previously, getLanguage returned language set on the TTS service side.
In most cases client wants to receive value that was set on the Client side
(value that was set by last call to the setLanguage). That's true, for
example, for android settings app.

This is not an issue if there's only one client, or when all clients use the same
language. In that cases, service and client languages are in sync.

But if there are multiple clients using different languages, getLanguage might
return values that were not set by the client - and that's not what most of clients expect
to happen.

Change-Id: I5fd8313725e677c20fb2a84a087fc7555897bd30
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
8f3957cb91a9e1465fa11aaf4d4286d4c5a59ba7 07-Nov-2012 Przemyslaw Szczepaniak <pszczepaniak@google.com> TTS onServiceConnection moved to async task

ITextToSpeechService.setCallback (service rpc call) is no longer
executed on UI thread.

I kept OnInitListener.onInit being called on the UI thread. It's
not specified explicitly, but I don't want to introduce subtle
bugs.

+bonus import fix.

Bug: 6540404
Change-Id: I0136e7efeb374b605ed29ee8b3f550ec2bd2c356
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
c3c427d2e3d7fbfb7cd5d6473bf203af2001bcec 16-Nov-2012 Przemyslaw Szczepaniak <pszczepaniak@google.com> Revert "Make TTS input string limit public and documented"

This reverts commit f288a64f5bed290d162c1a6fd54bea7c0ba14042

Change-Id: I6f3e2a6a6a131b0422cfcdb2bda23f8ae245d774
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
f288a64f5bed290d162c1a6fd54bea7c0ba14042 15-Nov-2012 Przemyslaw Szczepaniak <pszczepaniak@google.com> Make TTS input string limit public and documented

Bug: 7456118
Change-Id: Iced44eb349e1abb551f991c2b9357a03bab3bb3d
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
7b172a49a90ea6784dbfe0002474f9d4fd4ace1a 07-Nov-2012 Kenny Root <kroot@google.com> am 58ed5d74: am 768d9e1a: Merge "Correct executable bit for source files"

* commit '58ed5d748c0b9b64845975ef5844ad313de7c3f6':
Correct executable bit for source files
58ed5d748c0b9b64845975ef5844ad313de7c3f6 07-Nov-2012 Kenny Root <kroot@google.com> am 768d9e1a: Merge "Correct executable bit for source files"

* commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04':
Correct executable bit for source files
3a084af2e90849aaa8beb3a610189e3399c63ea0 07-Nov-2012 Kenny Root <kroot@google.com> Correct executable bit for source files

Many media files and source code files were marked as executable in Git.
Remove those.

Also a shell script and python script were not marked as executable.

Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
442f1786b243923a11d7c15a32e96c7962d4b50a 26-Sep-2012 Przemyslaw Szczepaniak <pszczepaniak@google.com> TTS documentation clarification.

Bug: 7183943
Change-Id: Iffec9069bef7c9c428ebae2f84ba16ef697ffb2a
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
091d56cab8f6f6a3460fbb596f99b1a262948e96 16-Aug-2012 Przemyslaw Szczepaniak <pszczepaniak@google.com> Fix double call to TTS connection disconnect() on reconnect

- Sets the service connection to null when unbindService is called,
instead of in onServiceDisconnected. This avoids a double disconnect
if a call to onServiceConnected is received before a call to
onServiceDisconnected.

- Extended synchronize on runAction error handling and reconnection.
This prevents from reconnecting N times if N>1 threads enter this method
while there's issue with TTS service.

Bug:6993880
Change-Id: I5a387622c6032a18d17fc072029ae6be1a9b8e6c
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
c60aad2a8ab519a9f9ac03f4f9f929ded7ba2db5 06-Dec-2011 Narayan Kamath <narayan@google.com> Write unit tests for android.speech.tts.

Change-Id: Ie5b3b4cdd13be2babee9a44bae00da179b372d12
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
492b7f0d51f53164aa6eb974cd7ab6a7889af677 29-Nov-2011 Narayan Kamath <narayan@google.com> Allow multiple TextToSpeech instances per calling app.

We now use an IBinder object as an identity token of the
caller instead of Context#getPackageName.

bug:5680696
Change-Id: I1ca29e7161f709d2a85218206f3f117dfa620282
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
68e2af55d65d2e61fbf8096eccaa2e4ca02b6c5a 28-Nov-2011 Narayan Kamath <narayan@google.com> Fix TTS instantiation from webview accessibility handlers.

The TTS instantiated from here shouldn't clobber any
existing TTS objects opened within the same package context.

Ideally, the TTS API should work fine with multiple TTS object
instances within the same package context but making that happen
correctly is a larger change.

bug:5659758
Change-Id: Ia1f63c61b9f12ac92ff42a427a004d414e42a759
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
754c72ed9e8e83e5a913aa7552fc2e1b1b5277e0 09-Nov-2011 Narayan Kamath <narayan@google.com> Notifiy callers when a speech synthesis error occurs.

bug:5589877
Change-Id: Ideca8966ea1caa6789b3273e388dd1f25c1e2758
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
6c07a2028505e28abd601870f05d4752e92a4b7b 07-Nov-2011 Narayan Kamath <narayan@google.com> Fix a bug in the network TTS api.

bug:5284966
Change-Id: I460bd12c27671ed42681fd4ccad567c08cb8f70f
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
748af66ca27d3afe2e16ccc80b147d447635292a 31-Oct-2011 Narayan Kamath <narayan@google.com> Add an API for querying / enabling network TTS support.

bug:5284966
Change-Id: I01708f40bf0e975449125320dbcd4842210ca168
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
a57f23837ad172c1b046d5e9cc8eb3d2e41a69f4 04-Oct-2011 Narayan Kamath <narayan@google.com> Allow listeners to be set before the service connects.

bug:5408876
Change-Id: Ib7b2ad56c74e24cc84b55ce748053b80eb0f66e8
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
90e5650f96dabadaaf141beae20a646855073ae1 18-Jul-2011 Narayan Kamath <narayan@google.com> Few minor TTS clean ups.

(a) Remove unnecessary null check.
(b) Remove unused function.
(c) Clean up for TextToSpeech#shutdown.

Change-Id: I3ec5bccc327437064da130634a14aaf7d48eca4d
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
c34f76fe89b5a31d01d63067c2f24b9a6a76df18 15-Jul-2011 Narayan Kamath <narayan@google.com> Improve TextToSpeech#isSpeaking()

Query the audio playback thread to check if it's busy.

bug:5033910
Change-Id: Ie57c7776bac27c2e712ddad4ec50fb7d78ea82e7
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
b9db1fb9de483f35f0189dae240b38e8a9cea8c9 14-Jul-2011 Narayan Kamath <narayan@google.com> Minor cleanups to TextToSpeech.

(a) Fix an NPE reported when no TTS engine is installed.
(b) Fix a bad link, and some javadoc typos.

bug: 5004015
Change-Id: I38b97dbb5d7d4065a5ee408fae9138638ed48f40
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
bd2492e14ee9db9139cc0ff0bd29fc9864b0126c 27-Jun-2011 Narayan Kamath <narayan@google.com> Expose the currently used engine to bundled apps.

This is required to fix a couple of niggles and annoyances
in the Settings app.

Change-Id: I0ad0c41744282b552e844ba9a2157cea74c64234
/frameworks/base/core/java/android/speech/tts/TextToSpeech.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/TextToSpeech.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/TextToSpeech.java
d0648ed060799d8006477fded17f63b969302a60 15-Jun-2011 Narayan Kamath <narayan@google.com> Fix a bug in TextToSpeech.

Check that the requested engine is enabled.

Change-Id: I8436b0b7b7f441fe3473601fb9c46181e90750e0
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
9a67f2618444e0373dcbac0f3cc36e900105f18c 14-Jun-2011 Narayan Kamath <narayan@google.com> Merge "A few TTS bug fixes"
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/TextToSpeech.java
3f0363bb4b9fab9799ac308dd48baf8830e30647 10-Jun-2011 Narayan Kamath <narayan@google.com> Deprecate setEngineByPackageName

This function does not let callers know when the TTS engine has
been initialized.

Change-Id: I17fcf3f95ad5bbdb9b787ba0846e6e63d424cd23
/frameworks/base/core/java/android/speech/tts/TextToSpeech.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/TextToSpeech.java
a5084e6389920a5b79f7dd0fa38530e3306e40ea 10-Jun-2011 Narayan Kamath <narayan@google.com> Merge "Don't hardcode the default engine."
22302fb7ba11f75234f8a268f5932973dd080bf9 10-Jun-2011 Narayan Kamath <narayan@google.com> Don't hardcode the default engine.

One point to note is that no TTS engine will be selected
by default if there are no system TTS engines.

Change-Id: I397061e3cf29b8a1c66e7864262b43621ef5100d
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
abc63fbddab2477a2954bc804aba2826e1f11084 10-Jun-2011 Narayan Kamath <narayan@google.com> Some TTS fixes.

(a) Document the undocumented queue mode (mode == 2)
(b) intern strings to fix a bug in removeCallbacksAndMessages
(c) remove an unnecessarly lock object, change the field it
guarded to volatile.

Change-Id: If46bbfe2afb047b3ba5b3cb9a90c292656379ec1
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
b956f37e375bb2588208d4b5e8a40fae6fae5f86 16-May-2011 Narayan Kamath <narayan@google.com> Pass synthesis request params through to the TTS service.

Change-Id: I1ffd617d8dfa0814382643e3cf6b3ab7417c742a
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
4bbca889df9ca76c398f3a11e871fc6ad4a4514d 19-Apr-2011 Bjorn Bringert <bringert@android.com> Expose TTS engine API

This is a new API for writing text-to-speech engines.
The existing API for apps that use TTS remains the same,
with some minor additions.

Change-Id: Id577db449ae0e5baec40621d4a08387dbd755342
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
fe6ea01602b47f3a0bfc0903a34fc682eae7fa69 18-Apr-2011 Bjorn Bringert <bringert@android.com> Only return default TTS engines from TTS.getEngines()

Change-Id: I31a716a33c895d2a3349889046dce83c90704a2d
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
50e657bb2d005568f5dd8bc1d904d07b0d94018f 08-Mar-2011 Bjorn Bringert <bringert@android.com> Add Java API for writing TTS engines

This removes the old non-public C++ API for TTS
engines and replaces it with a Java API.

The new API is still @hidden, until it has been approved.

Bug: 4148636
Change-Id: I7614ff788e11f897e87052f684f1b4938d539fb7
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
2cad2cc15345d8623049a17712068e813d305a25 08-Mar-2011 Bjorn Bringert <bringert@android.com> Exception handling clean-up in TextToSpeech.java

This is just a code clean-up change. It should have no effects
on behavior.

- The exception clean-up code was copied in lots of places,
added a restart() method for it.

- Use Log.e to print exception stack trace instead of doing
it manually.

- Moved return statements outside finally-blocks. Having them
in the finally-block makes no difference, but can be misleading.
Also, Eclipse complains about it.

Change-Id: Ibfb18ca89d81d1fd8d212f29b6f8ab305b52ec49
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
708b47d1ecf62dbf2faf0b42aae880f719b42963 04-Mar-2011 Jean-Michel Trivi <jmtrivi@google.com> Fix bug 3511256 invalid TTS parameter cache size

The NB_CACHED_PARAMS is the number of cached parameters, not
the size of the array for cached parameters.

Change-Id: I3d3053bbf247f3f89ae1ea07a931d33df7857a7c
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
dc871fd870972bd704d720fae45bcbbcc5905173 24-Jan-2011 Jean-Michel Trivi <jmtrivi@google.com> resolved conflicts for merge of 3ebade5d to honeycomb-plus-aosp

Change-Id: Ifd5f88f75feeb2dad1131e6a262dff3b979bdf8d
1e13a02320aa165c22172d43b2b3c3cd8ad35cf7 21-Jan-2011 Jean-Michel Trivi <jmtrivi@google.com> Bug 3365937 notify TTS initialization listener of binding errors

The creation of a TextToSpeech object causes the TTS service to
start, and the initialization listener to be called when the
service is connected. But the listener is never called when
the service binding failed to be notified of this error.
The fix consists in checking the result of the bind to service
operation, and notify the listener in case of an error.

More log was added in case speak() and synthesizeToFile() are
called but the service is not known to have started.

Change-Id: I7dcc1fa44be31fee3177ec6215fca3306377b934
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
9011ec832d78982d017b1cef55a54af44ba2a447 11-Jan-2011 Jean-Michel Trivi <jmtrivi@google.com> Fix bug 2084122: enable application control over text synth volume

This CL unhides two "keys" an application can use to specify for
an utterance its playback volume and pan. Those two new keys
use the same mechanism already in place for an application to
specify stream type and utterance ID.

Change-Id: I020363487d7a0f471fb8d3ed739c561d2ab4b0a9
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
9d2d26af2e1111251f5a21213a071eb4fdc1224f 06-Jan-2011 Jean-Michel Trivi <jmtrivi@google.com> Add support in TTS for volume and panning control of the synth output

Add two new parameters that are used when synthesizing text and
playing it back directly to control the volume and left-right
panning of the output.
Panning is applied using a balance law, which is not energy-preserving
but which doesn't lower the volume when not panning / panning to
center (legacy behavior).

Reduced amount of logs, and removed spoken text.

In TextToSpeech.java: added convenience method to handle the setting
of the cached synthesis parameters.

Change-Id: I235d3d3193283ccc1891e2065d43787e3f63304d
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
4a60d61887a20d349e5eb38900dfbcaab06630fc 27-Jul-2010 Jean-Michel Trivi <jmtrivi@google.com> Fix NPE in TextToSpeech with setLanguage(null)

getLanguage() can return null, and pass it to setLanguage()
in TextToSpeech.initTts()

Change-Id: I8046e94959404bd63b0a90bcc2dbf4018f77c110
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
6df44727d06548015e741dd8f63716602ed1e5d1 30-Mar-2010 Charles Chen <clchen@google.com> Unhiding TTS API constants and methods needed for TTS plugin support.
This is a fix for bug #2548048

Change-Id: Ieb60979098c1d2e82618204882bd523d271a8784
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
1a2712ce2a18eba6809d984d2f7443fbdccaa7ed 02-Apr-2010 Charles Chen <clchen@google.com> Fix for bug 2564771 - pitch setting between apps can
interfere with one another.

Root cause was not caching all the params that were needed.
This change fixes that bug as well as related bugs for remembering
the default engine and for making sure that the right engine is
loaded when checking for language availability.

Change-Id: I2a76da8faec8112036e68d27539db444c53a1509
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
42229259a6fca8851db74dc1c0ecbab2d3fb788d 30-Mar-2010 Charles Chen <clchen@google.com> Fix for bug 2548048 - it was impossible for applications to discover
if their TTS settings were being overridden by the user or not.

Change-Id: I28856a1b79c9455435671d13ed614a1ccb4e95ea
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
def7185cf19d48c95b50c2b83503d5cd21a613bf 26-Mar-2010 Charles Chen <clchen@google.com> Cherry-picking this fix into Froyo.

This fix is part of addressing bug #2548048

Making it possible to determine which TTS engine is currently set
as the default by the user.

Change-Id: Ifa422f43a33498b94d96811078c0794d64668357
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
b21651c10ca833e073337ae6a0ee55fcc39c32f1 04-Mar-2010 Jean-Michel Trivi <jmtrivi@google.com> Fix bug 2481825
When TTS is synthesizing to a file, return an error if the file
cannot be created.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
6a8b73be572f37b471322e7d49b44c3783633d96 02-Mar-2010 Charles Chen <clchen@google.com> Fixing a bug with TTS that caused TTS to ignore the default settings
unless the user had set the defaults to always override app settings.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
f1e245f7408f18cbb21430abf05a5407d03cfe07 12-Feb-2010 Charles Chen <clchen@google.com> Hiding the new TextToSpeech Intent extras for voice data check
to fix the build.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
76d9c3cb4f6f8c027959d2951e35a8b37762a1f3 12-Feb-2010 Charles Chen <clchen@google.com> Adding Intent extra strings to TextToSpeech.Engine for doing
voice data checks.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
60dd360640a400d9b4a602160733281d284aaee5 08-Jan-2010 Charles Chen <clchen@google.com> Enabling multiple apps to use different speech synthesis engines and not
interfere with one another.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
b4fbe768f8bfb2550dec100e29d0edc09b8a051a 19-Nov-2009 Charles Chen <clchen@google.com> Adding the ability to specify the speech synthesis
engine to use for text-to-speech.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
a9b417e9bfea3da908884c726ffc9bf4f64691cf 12-Sep-2009 Jean-Michel Trivi <jmtrivi@google.com> TextToSpeech javadoc update.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
9f5eadd2eed8b95c077a15d9e3e3c66fd151c215 15-Aug-2009 Jean-Michel Trivi <jmtrivi@google.com> Unhide the broadcast intent that signals completion of the TTS language
files. This is required for bug 2022435.
Correct the javadoc where two intents were mislabelled as broadcast,
but were activity actions.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
69e67a3e2e863fa8828151ef3a488bfcaa504f7a 11-Aug-2009 Jean-Michel Trivi <jmtrivi@google.com> Fix bug 2043140.
A race condition is encountered when an application invokes shutdown()
on its TextToSpeech object while is has speak() requests still running.
Since the TTS service destructor releases the synthesizer resources and
sets the corresponding synth reference to null, an NPE was observed.
The fix consists in catching NPEs whenever the sNativeSynth object is
accessed, and return the matching error for the call.
This change is a "low risk" version of the fix for bug 2025765i (same
issue) which was reverted because it was higher risk than this CL:
it affected the logic of each call to sNativeSynth. This CL only sets
an error code when an NPE is fired because sNativeSynth is null.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
77a5d39343760d9950ca15a87db0ae778afb4f2b 08-Aug-2009 Jean-Michel Trivi <jmtrivi@google.com> Fix bug 2022435.
Add new intent and matching extra to signal the completion of the
language pack installer. This is used by CL 20513.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
ed06578eddde07abe325fa4c92910bb7246cd49f 28-Jul-2009 Jean-Michel Trivi <jmtrivi@google.com> Fix bug 2017664
Removed the TTS_ prefix in the TextToSpeech class to follow the standard naming convention.
Moved the TTS-related intents from the Intent class to TextToSpeech and TextToSpeech.Engine.
Renamed the TextToSpeech.Engine constants that are used as extras for the
ACTION_TTS_CHECK_TTS_DATA intent to prefix them with EXTRA_.
Cleaned up the other TextToSpeech.Engine constant to remove superfluous mentions of
"TTS" in the name.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
9c53a5c01f7d9e2ffe93cc7ca03cac9c71968484 22-Jul-2009 Jean-Michel Trivi <jmtrivi@google.com> Resetting the setLanguage() call to its intended behavior after change 8089
which works around the bug where a language cannot be set if the default
language (which is loaded upon initialization) isn't eng-USA.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
1126aad736f3322559007b8abc49e26f550e4b54 21-Jul-2009 Jean-Michel Trivi <jmtrivi@google.com> Revert the setLanguage() call to its previous implementation as
waiting to change the language right before a call to speak can
put the engine in an unstable state.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
5e11a6ad00b062d604b30578e0fb412ae4586989 20-Jul-2009 Jean-Michel Trivi <jmtrivi@google.com> Prevent the setLanguage() method in TextToSpeech to change the language
for all current TextToSpeech instances by only caching the language
value so it is used with each subsequent utterance for this instance.
Synchronize calls to the engine around a global mutex since the engine
isn't thread-safe, except for the stop() call which is meant to interrupt
the synthesis loop.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
904dfa588431ff7c99c337d7797f5bef9ac12ce3 15-Jul-2009 Charles Chen <clchen@google.com> Adding missing addEarcon method. Not having this was a bug as
this method is needed to add earcons; otherwise, there is
nothing for playEarcon to play.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
62253a319d6359ce71c547d0b0aa36ba17789ab4 14-Jul-2009 Jean-Michel Trivi <jmtrivi@google.com> Unhide required definitions in TextToSpeech.Engine that cover return codes and
extras for android.intent.action.CHECK_TTS_DATA intent, and the key values
for the parameter hashmap that can be passed by an application in speak(),
synthesizeToFile(), playSilence() and playEarcon().
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
78c9d0d2c5eb4d5687ae7cbe41155159329ad68f 14-Jul-2009 Charles Chen <clchen@google.com> Adding Utterance ID to the TtsService.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
630a8de44fa0ca855c4a87d939432f831e8ed531 11-Jul-2009 Charles Chen <clchen@google.com> Fixing TTS breakage.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
a981013aa7315e13c6c5f6aad489813c419031ea 10-Jul-2009 Jean-Michel Trivi <jmtrivi@google.com> Add support in TextToSpeech for an audio stream type param and utterance
ID specified as a hashmap param in the synthesis calls.
Fix a bug where the cached parameters were not passed to the service
when synthesizing to a file.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
a9c5e4bf2639f8f09be8bace4230613b7b689f0e 10-Jul-2009 Charles Chen <clchen@google.com> Adding tagging to utterances to track which app said what.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
748efcc3fb1b369690ab4617a04f452b1832edf4 09-Jul-2009 Charles Chen <clchen@google.com> Adding a missing catch
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
e28aced7bb96b086b16df82ff9c75b08671eb7df 08-Jul-2009 Jean-Michel Trivi <jmtrivi@google.com> Remove unused definitions for default language in TextToSpeech as
the default language is determined by the current Locale, not a hardcoded
value. Add a value for the default TTS engine to use.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
da7681e7b61dd450be72f2b4a80e6d1c86342e05 08-Jul-2009 Jean-Michel Trivi <jmtrivi@google.com> Optimize storing of cached TTS parameters. Initialize the cached
language settings with the current Locale.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
c8ba3b560ce0ce5944939a50d61f639fdcaa0015 07-Jul-2009 Charles Chen <clchen@google.com> Propagating error codes to TextToSpeech.java
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
52ae06521a8d4c48757b126cff233f037d0a16ba 07-Jul-2009 Charles Chen <clchen@google.com> Fixes a compatibility issue with users that have the old TTS
installed already.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
62788e9b48f884a35b89c88911b581daa6a14e08 03-Jul-2009 Jean-Michel Trivi <jmtrivi@google.com> Unhide android.speech.tts.TextToSpeech
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
99a0feecd0f0aad314d7a4637d329b8a9e8c1150 02-Jul-2009 Charles Chen <clchen@google.com> Adding strings for data root and data files - these are needed
for returning this information in an Intent from checkVoiceData.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
ddb0a803fd353fbaf0139cc8804499bc9dce7403 30-Jun-2009 Jean-Michel Trivi <jmtrivi@google.com> Adding in TTS service support for language query and level of support.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
5c22f516be7753859f62ca3ff5327c453ee26faa 30-Jun-2009 Charles Chen <clchen@google.com> Adding status return codes for TTS calls.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
d4989093ed708ddf9c799655ea0af7afda726426 27-Jun-2009 Charles Chen <clchen@google.com> Adding implementation of IPA to the TextToSpeech.java
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
f032bc7da536774a0b6a1c77632c65b935eee6fa 26-Jun-2009 Charles Chen <clchen@google.com> Adding in the playSilence method to TextToSpeech.java
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
87c9684fd0fa31fd6ad7f7e9f4cfedddc4fdc4b0 25-Jun-2009 Jean-Michel Trivi <jmtrivi@google.com> Add caching of the speech rate and language in android.speech.tts.TextToSpeech
so the speech params can be passed along in calls for text synthesis.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
aaf842edbfe76990413d4c002acb394f855321b5 25-Jun-2009 Charles Chen <clchen@google.com> Updating the TextToSpeech.java with skeleton methods.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
2ea5349583de4a505501530d04133524bb6d5d38 23-Jun-2009 Jean-Michel Trivi <jmtrivi@google.com> Adding support for pitch changes of the synthesized text in Text-To-Speech.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
d146874d7341bc9602c93719582b4209e7b81f01 18-Jun-2009 Jean-Michel Trivi <jmtrivi@google.com> Grouping under TextToSpeech.Engine the constants to be used by
a TTS engine implementation or a settings application for default
values, and data integrity check return codes.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
679d728f09eeab2f8b882e42f6e081db1ac74996 17-Jun-2009 Jean-Michel Trivi <jmtrivi@google.com> Using Locale to specify language and country for a TTS language to load,
rather than a String.
Cleanup in doc for TextToSpeech, and addition of queue mode constants.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
91bf30a4779146a14b2c9c5ce168d641cd31cb8e 11-Jun-2009 Jean-Michel Trivi <jmtrivi@google.com> TextToSpeech class cleanups
- harmonized private member variable names
- added success / failure codes (used for now in initialization)
- synchronized access to speech completed listener.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java
a8518c169bb34e540b7542ad5bd3891053d01a9f 11-Jun-2009 Jean-Michel Trivi <jmtrivi@google.com> Renaming the Tts class to TextToSpeech for clarity.
Switching to HashMap for parameter lists to pass key-value parameter pairs.
Using TODO instead of FIXME in comments.
Removing methods that don't belong anymore to the TTS interface now the feature
becomes part of the platform.
/frameworks/base/core/java/android/speech/tts/TextToSpeech.java