Commit Graph

7 Commits

Author SHA1 Message Date
Jean-Michel Trivi
44fbbea071 Fix bug 1946195 by making use of the current Locale to set a default value
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.
2009-07-06 14:16:17 -07:00
Jean-Michel Trivi
88ec7ebfe9 Fix bug 1943785 where the default country string could be accessed while
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".
2009-06-30 15:14:30 -07:00
Jean-Michel Trivi
2acc02e942 Remove pitch selection from TTS settings.
Use the settings name for the locale property rather than the UI key.
Add prefs entry to install the voice data.
2009-06-25 10:03:43 -07:00
Jean-Michel Trivi
1e6a45a2d0 Updated TTS settings to support language, country and variant settings.
Disable/enable entries based on whether language files are installed on the phone.
Added entry to install the language files on the phone.
2009-06-23 13:17:13 -07:00
Jean-Michel Trivi
74e565d85d Update the Text-To-Speech settings screen to allow listening to a TTS
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.
2009-06-18 18:54:02 -07:00
Jean-Michel Trivi
8036862226 Adding support for selecting the default language for Text-To-Speech in Settings. 2009-06-10 17:12:41 -07:00
Jean-Michel Trivi
ed29a65835 Adding Text-To-Speech default settings in the Settings application. 2009-06-09 10:48:22 -07:00