Alexander Epaneshnikov
c352597757
android: limit max speech rate to 449 WPM
this is the maximum espeak-ng's speech rate without using libsonic
3 years ago
Reece H. Dunn
830bed1cb1
Android: Fix the remaining tests.
7 years ago
Reece H. Dunn
44f33468c4
Android: Fix mapping voices who's IDs have been updated to be BCP47 compliant.
7 years ago
Reece H. Dunn
5027f5310e
Android: Update the VoiceData gender field -- the default is always male now to reflect the default voice settings.
7 years ago
Reece H. Dunn
98a34ebaf5
Android: Update the VoiceData identifier fields.
7 years ago
Reece H. Dunn
bb3b7e9a00
Use BCP 47 locale codes for Voice.getLocale() to support the correct localization on Lollipop and later.
9 years ago
Reece H. Dunn
3b6c327756
Replace SpeechSynthesis.getBufferSizeInBytes with a constant in the C++ source, specified in the correct units (milliseconds).
9 years ago
Reece H. Dunn
e08b1fc624
Update the copyright notices.
9 years ago
Reece H. Dunn
e308cec7c5
Make no use the more specific nb locale as nb is what Android uses.
9 years ago
Reece H. Dunn
0b898ed80d
Re-enable hy-west support.
9 years ago
Reece H. Dunn
fcd4edfd16
Enable om language support.
9 years ago
Reece H. Dunn
c094f4840b
Fix a Parcel `collection == null` exception.
This is caused by the Voice features being set to null. The fix in
Android Marshmallow is to make onGetFeaturesForLanguage return an
empty HashSet object. This does not work for eSpeak because:
1. eSpeak was overriding onGetVoices and initializing each Voice's
features to null;
2. the bug is still present on Lollipop.
Thus, the fix here is two-fold:
1. make onGetVoices use onGetFeaturesForLanguage;
2. make onGetFeaturesForLanguage return an empty HashSet, so that
eSpeak does not crash on Lollipop either.
9 years ago
Reece H. Dunn
0b86bc71ad
Test TextToSpeech.setLanguage semantics at the TtsService level.
9 years ago
Reece H. Dunn
7c8128cc12
Fix the tests on Android Marshmallow.
9 years ago
Reece H. Dunn
ced5afb0a1
TtsService: only set mMatchingVoice when told to load the voice.
9 years ago
Reece H. Dunn
8f6f0966f6
Fix the TtsService.onGetDefaultVoiceNameFor behaviour.
9 years ago
Reece H. Dunn
0ac8564fe5
TextToSpeechServiceTest: add mMatchingVoice tests
9 years ago
Reece H. Dunn
c77a83801a
TextToSpeechServiceTest: add onGetDefaultVoiceNameFor tests
9 years ago
Reece H. Dunn
daf688ef51
TextToSpeechServiceTest: test the Android 4.x API
9 years ago
Reece H. Dunn
883e97fbd7
TextToSpeechTestCase: use isTtsLangCode to check TextToSpeech.LANG_*
9 years ago
Reece H. Dunn
c4230b01ca
Make Voice return the Java-based (ISO 639-3) language and country codes.
9 years ago
Reece H. Dunn
37117e7a45
Fix the Marathi sample text test on Android 4.0.
9 years ago
Reece H. Dunn
784c5e9c2d
Update the sample text tests for Android 6.0 (marshmallow).
9 years ago
Reece H. Dunn
48ba1899e4
tests: support the new Marathi language.
10 years ago
Reece H. Dunn
c14cfbf912
SpeechSynthesis: test for and prevent duplicate voice entries
10 years ago
Reece H. Dunn
1740026c1c
SpeechSynthesisTest: make mVoices a Map
10 years ago
Reece H. Dunn
58047cef67
[Android 5.0] TTS settings crashes on hye-arevmda
10 years ago
Reece H. Dunn
f4adda18b4
Voice: use the ISO3 language and country codes
The Android 5.0 Text-to-speech output settings dialog checks that
the languages from CheckVoiceData use the ISO3 language and
country codes. This change matches that expectation.
10 years ago
Reece H. Dunn
98208df155
TextToSpeechTest: provide more context information
10 years ago
Reece H. Dunn
dbb259056e
Add CheckVoiceData activity tests.
10 years ago
Reece H. Dunn
c9003c50ba
TextToSpeech: test and fix onIsValidVoiceName
10 years ago
Reece H. Dunn
daa9326eb2
TextToSpeechTest: languages with codes not supported by Android are not present
10 years ago
Reece H. Dunn
83326027bf
TextToSpeechTest: factor out the language checks
10 years ago
Reece H. Dunn
f9912e0c41
TtsService: fix and test onGetVoice.
The default Android 5.0 implementation enumerates the available
locales. This enumerates the voices returned by eSpeak.
10 years ago
Reece H. Dunn
702f8be24f
TextToSpeechTest: always test getLanguage.
This changes the getLanguage helper to return the result from
getLanguage on all platform versions, disabling the deprecated
message on API 21 and above.
10 years ago
Reece H. Dunn
0dd897471c
tests: initial language may be null
10 years ago
Reece H. Dunn
3d2308e285
Use API 21.
10 years ago
Reece H. Dunn
8fe359d0e4
Remove unused imports.
10 years ago
Reece H. Dunn
3eab09e166
tests: fix the expected string tests on Android 4
10 years ago
Reece H. Dunn
cc0341e799
tests: map TextToSpeech.LANG_* to strings.
This creates a custom hamcrest matcher that maps the TextToSpeech
LANG_* constants to strings. This makes it easier to read the
text output when the tests fail.
10 years ago
Reece H. Dunn
328f4cfdc9
Test and fix Java to IANA country code mapping.
10 years ago
Reece H. Dunn
6576742917
Test and fix Java to IANA language code mapping.
10 years ago
Reece H. Dunn
f68efe7224
tests: update the expected strings for Android 5.0
10 years ago
Reece H. Dunn
1cfb433438
tests: update the voice data
10 years ago
Reece H. Dunn
543223441d
Update to support the voice changes (ia, bn)
10 years ago
Reece H. Dunn
aabf4602ca
Remove uses-sdk from AndroidMasnifest.xml (specified by gradle).
11 years ago
Reece H. Dunn
c1f3dd8ddc
Fix the tests after updating to 1.48.05.
11 years ago
Reece H. Dunn
000ee52846
tests: support the new languages and translations
11 years ago
Reece H. Dunn
4236fc48db
Update the tests to include the new 'as' and 'gu' voices.
11 years ago
Reece H. Dunn
58ae6ea33f
VoiceSettings.java: Add support for converting to a JSON object.
11 years ago