summaryrefslogtreecommitdiffstats
path: root/core/java/android/speech
Commit message (Collapse)AuthorAgeFilesLines
* Remove ACTION_VOICE_SEARCH_SETTINGS (added only for Froyo), because we've gotMike LeBeau2010-02-161-6/+0
| | | | a more robust solution instead.
* Fixing the bug where mic button is not shownValentin Kravtsov2010-02-121-1/+1
| | | | Change-Id: I8ac7bd4c1db85058f863bcfaf5ee30212644b2bd
* Hiding the new TextToSpeech Intent extras for voice data checkCharles Chen2010-02-111-0/+3
| | | | to fix the build.
* Merge "Adding Intent extra strings to TextToSpeech.Engine for doing voice ↵Charles Chen2010-02-111-0/+22
|\ | | | | | | data checks."
| * Adding Intent extra strings to TextToSpeech.Engine for doingCharles Chen2010-02-111-0/+22
| | | | | | | | voice data checks.
* | Improve a comment in RecognitionService.Mike LeBeau2010-02-111-2/+2
| |
* | Use the new RecognitionService.SERVICE_INTERFACE instead ofMike LeBeau2010-02-111-1/+1
| | | | | | | | | | RecognizerIntent.ACTION_RECOGNIZE_SPEECH when finding a voice recognition service.
* | Add SERVICE_INTERFACE and SERVICE_META_DATA constants to RecognitionService,Mike LeBeau2010-02-111-0/+14
| | | | | | | | | | | | | | | | | | | | to be used by anyone implementing a voice recognition service. Also define a new <recognition-service> styleable to be used in such service's metadata xml. Still to do: Change VoiceSearch's GoogleRecognitionService to respond to this intent, and actually use this intent instead of ACTION_RECOGNIZE_SPEECH here in RecognitionService.
* | Add new setting for the ComponentName of the service to be usedMike LeBeau2010-02-111-2/+16
|/ | | | | | | | | | for voice recognition on the device. Right now this just queries the package manager at boot and finds the (hopefully) single available recognizer. TODO: Add an attribute to let recognition services expose a settings activity, and expose the settings activity of the chosen recognition service in the system settings for voice input & output.
* Add EXTRA_PARTIAL_RESULTS so that clients can enable receiving results via ↵Alex Gruenstein2010-02-092-1/+10
| | | | onPartialResults()
* Fixing a bug when installing VoiceSearch cause errorValentin Kravtsov2010-02-081-9/+18
| | | | | | | Reinstalling VoiceIME created a problem because RecognitionService expected the first command to be setListener, in this version, such command is added if the connection is broken. Change-Id: Ia102fc1843053e2bdd330b380c2685a1227081b2
* Adding speech recognition service public APIValentin Kravtsov2010-02-055-156/+569
| | | | Change-Id: Ia2c13d4c7993d646956090aa5c56d1a441af9e5a
* Improve some of the documentation in RecognizerIntent to reduce confusion.Mike LeBeau2010-02-021-6/+15
| | | | | | Specifically point out that startActivity() is not supported for ACTION_RECOGNIZE_SPEECH, and make the documentation on EXTRA_RESULTS more clear to point out that this is a part of the results, not the request.
* Add "inline" constant to RecognizerResultsIntent.Mike LeBeau2010-02-021-5/+12
|
* Provide another extra for ACTION_VOICE_SEARCH_RESULTS that indicatesMike LeBeau2010-02-011-5/+23
| | | | | the base url to be used when interpreting html results given in EXTRA_VOICE_SEARCH_RESULT_HTML.
* Add a set of hidden constants for the ACTION_VOICE_SEARCH_RESULTS intent.Mike LeBeau2010-02-011-0/+104
| | | | | This will not be unhidden for Froyo as nothing will implement it until later, but I wanted to have the definition explicit in the framework.
* Adding Recognition Service and Listener wrappersValentin Kravtsov2010-01-268-370/+522
| | | | Change-Id: Ib5068fb6d42b6752d09b0828964b6cbe92d015d3
* Unhide RecognizerIntent.ACTION_VOICE_SEARCH_SETTINGS, which our voice searchMike LeBeau2010-01-251-2/+0
| | | | | (or other voice search implementations) can use to implement settings in the system settings.
* Add RecognizerIntent.ACTION_VOICE_SEARCH_SETTINGS, which we'll triggerMike LeBeau2010-01-251-0/+8
| | | | | | | from system settings. For now it'll just be triggered from within the voice search app if you choose the settings menu item. Need to unhide this before we can be fully unbundled for voice search.
* Enabling multiple apps to use different speech synthesis engines and notCharles Chen2010-01-081-49/+71
| | | | interfere with one another.
* Adding the ability to specify the speech synthesisCharles Chen2009-11-192-1/+43
| | | | engine to use for text-to-speech.
* Clobber frameworks/base/core/java/android/speech in master with theMike LeBeau2009-09-242-71/+115
| | | | one in eclair.
* am 3e8c0ee8: am 91a5d831: am b5308a70: Merge change 24816 into donutJean-Michel Trivi2009-09-171-82/+115
|\ | | | | | | | | | | | | Merge commit '3e8c0ee84223328f3e8e5b430aa719969cd4f38d' * commit '3e8c0ee84223328f3e8e5b430aa719969cd4f38d': TextToSpeech javadoc update.
| * am b5308a70: Merge change 24816 into donutJean-Michel Trivi2009-09-151-82/+115
| |\ | | | | | | | | | | | | | | | | | | Merge commit 'b5308a7051fedacf289470c8a7e21b63af9d4db8' into eclair * commit 'b5308a7051fedacf289470c8a7e21b63af9d4db8': TextToSpeech javadoc update.
| | * TextToSpeech javadoc update.Jean-Michel Trivi2009-09-141-82/+115
| |/ |/|
| * do not merge. Remove voicesearch-specific functionality from framework.Alex Gruenstein2009-08-215-393/+0
|/
* Unhide the broadcast intent that signals completion of the TTS languageJean-Michel Trivi2009-08-141-11/+13
| | | | | | files. This is required for bug 2022435. Correct the javadoc where two intents were mislabelled as broadcast, but were activity actions.
* Merge change 21038 into donutAndroid (Google) Code Review2009-08-121-5/+19
|\ | | | | | | | | * changes: Propagate info about whether a "call" command was issued in RecognitionResult.
| * Propagate info about whether a "call" command was issued in RecognitionResult.Mike LeBeau2009-08-121-5/+19
| | | | | | | | This is needed for the fix of http://b/2018041.
* | Fix bug 2043140.Jean-Michel Trivi2009-08-111-1/+1
|/ | | | | | | | | | | | | 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.
* Fix bug 2022435.Jean-Michel Trivi2009-08-071-0/+16
| | | | | Add new intent and matching extra to signal the completion of the language pack installer. This is used by CL 20513.
* Fix bug 2017664Jean-Michel Trivi2009-07-291-126/+177
| | | | | | | | | 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.
* Resetting the setLanguage() call to its intended behavior after change 8089Jean-Michel Trivi2009-07-221-2/+4
| | | | | which works around the bug where a language cannot be set if the default language (which is loaded upon initialization) isn't eng-USA.
* Revert the setLanguage() call to its previous implementation asJean-Michel Trivi2009-07-201-4/+2
| | | | | waiting to change the language right before a call to speak can put the engine in an unstable state.
* Prevent the setLanguage() method in TextToSpeech to change the languageJean-Michel Trivi2009-07-201-11/+17
| | | | | | | | 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.
* Adding missing addEarcon method. Not having this was a bug asCharles Chen2009-07-151-0/+103
| | | | | this method is needed to add earcons; otherwise, there is nothing for playEarcon to play.
* Unhide required definitions in TextToSpeech.Engine that cover return codes andJean-Michel Trivi2009-07-141-3/+91
| | | | | | 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().
* Adding Utterance ID to the TtsService.Charles Chen2009-07-133-8/+76
|
* Fixing TTS breakage.Charles Chen2009-07-101-11/+133
|
* Add support in TextToSpeech for an audio stream type param and utteranceJean-Michel Trivi2009-07-101-13/+60
| | | | | | 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.
* Adding tagging to utterances to track which app said what.Charles Chen2009-07-102-22/+25
|
* Adding a missing catchCharles Chen2009-07-081-0/+1
|
* Remove unused definitions for default language in TextToSpeech asJean-Michel Trivi2009-07-081-3/+1
| | | | | the default language is determined by the current Locale, not a hardcoded value. Add a value for the default TTS engine to use.
* Optimize storing of cached TTS parameters. Initialize the cachedJean-Michel Trivi2009-07-071-23/+22
| | | | language settings with the current Locale.
* Propagating error codes to TextToSpeech.javaCharles Chen2009-07-071-36/+47
|
* Fixes a compatibility issue with users that have the old TTSCharles Chen2009-07-061-1/+1
| | | | installed already.
* Propagating the error codes through the TtsServiceCharles Chen2009-07-061-7/+7
|
* Removing IPA - IPA is already handled by the phoneme tag.Charles Chen2009-07-021-5/+1
|
* Unhide android.speech.tts.TextToSpeechJean-Michel Trivi2009-07-021-95/+2
|
* Adding strings for data root and data files - these are neededCharles Chen2009-07-021-1/+6
| | | | for returning this information in an Intent from checkVoiceData.