summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/TextToSpeechSettings.java
Commit message (Collapse)AuthorAgeFilesLines
* Implement the new TTS settings UI.Narayan Kamath2011-08-231-709/+0
| | | | | | bug:5149036 Change-Id: I81a9786d20be3e9bf87550d6a0cc04191409600c
* Fix a bug in the TTS settings.Narayan Kamath2011-06-281-7/+7
| | | | | | | Send the CheckVoiceData intent to the currently selected engine. Change-Id: I63d4b7fc935126a0fe7c5717b2455bcf11135b8b
* Use the new settings API.Narayan Kamath2011-06-211-15/+4
| | | | | | | Check for a meta-data element instead of a hardcoded settings class. Change-Id: Ife67ea64ad1f4ee36749c0b6f8c96d5a22d5b6e2
* Text to speech settings UI change.Narayan Kamath2011-06-161-130/+109
| | | | | | | | | No more separate checkboxes for each of the engines. This brings it more in line with the voice recognition settings. The user is shown a data warning every time he chooses a non system engine as the default. Change-Id: I00fcb9c9f634a9fc13ff14da8bfade79ae6727c4
* Fix a bug in the TTS settings.Narayan Kamath2011-06-141-4/+25
| | | | | | | | | Non system engines that are explicitly enabled should show up in the "default engine" dropdown list. bug:4608012 Change-Id: Ic805ef6199319e44037a84ba43fc549de91d291d
* Clean up some of the TTS settings code.Narayan Kamath2011-06-101-20/+15
| | | | | | | | (a) No longer use a hardcoded default. (b) With this change, the system engine with the highest declared priority becomes the default. Change-Id: I20c6036b855f008b6a83f1dac81aefc07e3ca7f3
* Use the old TTS settings API for now.Narayan Kamath2011-05-051-10/+11
| | | | Change-Id: I8ca3fcb0aee5572694e573f4ceaa0df261c807c3
* Fix TTS engine checkbox click handlerBjorn Bringert2011-04-191-0/+1
| | | | | | | | | Before, the dialog asking whether to really enable the engine wasn't shown. Also, the Default engine list was not refreshed until you left the TTS settings and came back. Change-Id: I8cbded0fe9eedbfb05c294d831c91a857349b224
* Use new TTS engine API in TTS settingsBjorn Bringert2011-04-151-299/+257
| | | | | | | | Requires TTS engine API added in change I7614ff788e11f897e87052f684f1b4938d539fb7 Bug: 4148725 Change-Id: I5f3fa3bbcbf4e62af23bb701bcb6e8e5d8511341
* Fix bug 3421125 Use default TTS rate for demo in SettingsJean-Michel Trivi2011-03-021-1/+3
| | | | | | | | | | | | When initializing the TTS engine, the default speech rate is correctly read, but the TTS demonstration in the Settings screen was overriding that value by setting the rate to its fixed default value after the engine was initialized. The fix consists in applying the default value after it has been read from the settings (as is done for the language for instance). Change-Id: Ie13dfa3a2a7e59e5e120e74dc41e60afbedea821
* Use PreferenceActivity and FragmentBreadCrumbs as they offer the same ↵Amith Yamasani2010-09-211-3/+2
| | | | | | | capabilities now. Also fix: 2997438 and a similar bug in Tether Settings Show + menu item for User Dictionary
* Fragmentize VoiceOutputSettings.Daisuke Miyakawa2010-09-161-32/+28
| | | | Change-Id: Ifc8f9a8169cf43f53dc122342d95eac6058e6c88
* fix unintentional driftJean-Baptiste Queru2010-04-141-3/+31
| | | | Change-Id: Ie13a72e323e9a1d2c9ec3c034c33792be6634fec
* Fixing bug 2577511 - incorrectly trying to access a setting.Charles Chen2010-04-121-2/+2
| | | | Change-Id: I50f3b2f4878bea1392aa36d47015cd312a59e23a
* Fixing bugs 2577511 and 2581920.Charles Chen2010-04-081-6/+26
| | | | | | | | | | Making sure that the language, country, and variant defaults are always set to something to ensure that there won't be an NPE. Dismissing the ListPreference dialogs before a rotation to avoid list data corruption caused by the list being displayed while its data is being re-initialized. Change-Id: Iecdb3b4d415542dc8a4db162c930e6a6570a55f2
* Fix for 2579445 - Using the correct strings for accessing Intent extras now.Charles Chen2010-04-071-3/+2
| | | | Change-Id: I8a0b8f3add637ffffed4119b976c800ab3251b72
* Fix for bug #2577984 - Settings app was trying to access the TTSCharles Chen2010-04-071-9/+16
| | | | | | before the TTS was ready. Change-Id: Ic8127f12a2608982fb35e126c7522cf6747b93ac
* Fixing bug #2575499 - TextToSpeech Settings did not verify that theCharles Chen2010-04-061-0/+22
| | | | | | | current default language was still supported when the default engine changes. Change-Id: I2f4b986311161ceaa9d4b9cf3a495f536d9425cd
* Fixing a problem with the TextToSpeech settings not reflectingCharles Chen2010-03-221-0/+10
| | | | | | | the current engine that the user has selected when displaying the list of engines that are available. Change-Id: I77d35ff1c691fd3e5c967fcf367647d415d2468e
* Saving the list of enabled plugins in secure settings so that theCharles Chen2010-03-171-4/+10
| | | | | | TextToSpeech service can later check which plugins are enabled. Change-Id: I5fce45540c1b7faf466c11b3b76259fde2e7c2ed
* Adding plugin specific settings to TTS settings + changing the UICharles Chen2010-03-161-14/+129
| | | | | | to be more like the IME settings. Change-Id: I0d26042262b4d9e636d3f456e867c725fa56ae55
* Added a default fallback message for cases where the TTS plugin doesCharles Chen2010-02-181-10/+3
| | | | not provide a sample string.
* Adding checks for null to TextToSpeechSettings to handle casesCharles Chen2010-02-181-2/+27
| | | | | where the plugin fails to return properly from CheckVoiceData and GetSampleString.
* Fix bug 2446811 Ensure the default locale is never constructedJean-Michel Trivi2010-02-171-1/+7
| | | | with a null string.
* Fixing a problem with the TextToSpeech settings failing to refreshCharles Chen2010-02-121-3/+9
| | | | | the list of languages after the user has switched synthesis engines.
* Settings for TextToSpeech now uses the results returned by theCharles Chen2010-02-101-5/+41
| | | | | engine's CheckVoiceData activity to determine which languages are available and whether or not to make "Install Data" clickable.
* Fixing bug 2418114. Added a check to make sure the TTS sample string forCharles Chen2010-02-041-1/+3
| | | | a language-country combination is available before trying to use it.
* Changing TextToSpeechSettings to query for the sample textCharles Chen2010-01-251-4/+38
| | | | | strings provided by plugins rather than using hardcoded sample text.
* Exposing the ability to select a default TTS engine to theCharles Chen2009-12-141-1/+33
| | | | user by adding it into Settings.
* Fix bug 2078454 where clicking on Settings in the Home menu wouldJean-Michel Trivi2009-09-091-6/+2
| | | | | | | | | | take the user to Market after clicking on "Install Voice Data" in the TTS Settings page. Launching the Activity for the installation of the TTS data should be a distinct task, dissociated from the one associated with the Settings app. Also the intent ACTION_INSTALL_TTS_DATA doesn't return a result, so the activity should be started with startActivity() rather than startActivityForResult().
* Fix bug 2088099 where the TTS example doesn't play in the Settings appJean-Michel Trivi2009-09-021-78/+100
| | | | | | | | | | | | | | | when the UI is in Japanese. Rewrite of the initialization of the default language in the TTS Settings. The previous implementation had the following issues: - the "Listen to an example" didn't use the default settings - the string used for the example didn't match the selected language (this was in order to not imply that TTS is doing translation, but that proved confusing to users). The language initialization is now implemented in initDefaultLang() and ensures that the default locale is one supported in the array of available locales. The speech rate is also initialized from the settings or the default rate (if no value was stored in the settings).
* Make sure the TTS example in the TTS Settings loads a supported language.Jean-Michel Trivi2009-09-011-1/+6
| | | | | This fixes the issue where the example wouldn't play when the UI is in Japanese in bug 2088099.
* Fix bug 2045197.Jean-Michel Trivi2009-08-111-0/+2
| | | | | The TTS settings activity uses the default TTS stream type. Associate the volume control of this stream type with the volume control buttons.
* Fix bug 2017664.Jean-Michel Trivi2009-07-291-7/+7
| | | | Use the new constant names in TextToSpeech.
* Fix bug 1956707 in which setting the default language has no effect.Jean-Michel Trivi2009-07-171-2/+6
| | | | | | Use the current Locale upon initialization of the TTS engine. Retrieve the default engine value from the TextToSpeech.Engine class instead of a hard-coded value in TextToSpeechSettings.
* In the TTS settings: rely on the default locale rather than defaultJean-Michel Trivi2009-07-071-3/+5
| | | | | values stored in TextToSpeech.Engine to initialize the default TTS country and variant.
* Fix bug 1946195 by making use of the current Locale to set a default valueJean-Michel Trivi2009-07-061-33/+42
| | | | | | | | | | in the language pref list (bug was no selection in the default language list). Fix half of bug 1956707 where speech rate value as read from the settings was translated to a ratio, which applied an improper speech rate on the TTS engine (bug was setting a default rate makes the TTS demo unintelligible). Moved logic to set the default value in the language pref list in a separate private method to improve readability. Changed default rate values so that normal is 1x and the fastest is 2x.
* Fix bug 1943785 where the default country string could be accessed whileJean-Michel Trivi2009-06-301-2/+2
| | | | | still being null. This was due to Settings.Secure.getString() returning null when a property isn't found, instead of a string with the value "null".
* Remove pitch selection from TTS settings.Jean-Michel Trivi2009-06-251-40/+50
| | | | | Use the settings name for the locale property rather than the UI key. Add prefs entry to install the voice data.
* Updated TTS settings to support language, country and variant settings.Jean-Michel Trivi2009-06-231-39/+162
| | | | | Disable/enable entries based on whether language files are installed on the phone. Added entry to install the language files on the phone.
* Update the Text-To-Speech settings screen to allow listening to a TTSJean-Michel Trivi2009-06-181-20/+129
| | | | | | | example after checking that the data required by the TTS engine is properly installed. Removed use of local constants for the the default TTS values, use the values defined in TextToSpeech.Engine instead.
* Adding support for selecting the default language for Text-To-Speech in ↵Jean-Michel Trivi2009-06-101-6/+29
| | | | Settings.
* Adding Text-To-Speech default settings in the Settings application.Jean-Michel Trivi2009-06-091-0/+122