Home
last modified time | relevance | path

Searched refs:voiceName (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java297 String voiceName = onGetDefaultVoiceNameFor(locale.getISO3Language(), in onGetVoices() local
299 voices.add(new Voice(voiceName, locale, Voice.QUALITY_NORMAL, in onGetVoices()
338 String voiceName = properLocale.toLanguageTag(); in onGetDefaultVoiceNameFor() local
339 if (onIsValidVoiceName(voiceName) == TextToSpeech.SUCCESS) { in onGetDefaultVoiceNameFor()
340 return voiceName; in onGetDefaultVoiceNameFor()
361 public int onLoadVoice(String voiceName) { in onLoadVoice() argument
362 Locale locale = Locale.forLanguageTag(voiceName); in onLoadVoice()
392 public int onIsValidVoiceName(String voiceName) { in onIsValidVoiceName() argument
393 Locale locale = Locale.forLanguageTag(voiceName); in onIsValidVoiceName()
977 String voiceName = getVoiceName(); in setRequestParams() local
[all …]
DTextToSpeech.java1487 String voiceName = service.getDefaultVoiceNameFor(language, country, variant);
1488 if (TextUtils.isEmpty(voiceName)) {
1495 if (service.loadVoice(getCallerIdentity(), voiceName) == TextToSpeech.ERROR) {
1497 + variant + " was available with voice name " + voiceName
1504 Voice voice = getVoice(service, voiceName);
1506 Log.w(TAG, "getDefaultVoiceNameFor returned " + voiceName + " for locale "
1526 mParams.putString(Engine.KEY_PARAM_VOICE_NAME, voiceName);
1674 String voiceName = mParams.getString(Engine.KEY_PARAM_VOICE_NAME, "");
1675 if (TextUtils.isEmpty(voiceName)) {
1678 return getVoice(service, voiceName);
[all …]
DSynthesisRequest.java146 void setVoiceName(String voiceName) { in setVoiceName() argument
147 mVoiceName = voiceName; in setVoiceName()
DITextToSpeechService.aidl191 int loadVoice(in IBinder caller, in String voiceName); in loadVoice() argument