Searched refs:voiceName (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/speech/tts/ |
D | TextToSpeechService.java | 295 String voiceName = onGetDefaultVoiceNameFor(locale.getISO3Language(), in onGetVoices() local 297 voices.add(new Voice(voiceName, locale, Voice.QUALITY_NORMAL, in onGetVoices() 336 String voiceName = properLocale.toLanguageTag(); in onGetDefaultVoiceNameFor() local 337 if (onIsValidVoiceName(voiceName) == TextToSpeech.SUCCESS) { in onGetDefaultVoiceNameFor() 338 return voiceName; in onGetDefaultVoiceNameFor() 359 public int onLoadVoice(String voiceName) { in onLoadVoice() argument 360 Locale locale = Locale.forLanguageTag(voiceName); in onLoadVoice() 390 public int onIsValidVoiceName(String voiceName) { in onIsValidVoiceName() argument 391 Locale locale = Locale.forLanguageTag(voiceName); in onIsValidVoiceName() 1047 String voiceName = getVoiceName(); in setRequestParams() local [all …]
|
D | TextToSpeech.java | 1508 String voiceName = service.getDefaultVoiceNameFor(language, country, variant); 1509 if (TextUtils.isEmpty(voiceName)) { 1516 if (service.loadVoice(getCallerIdentity(), voiceName) == TextToSpeech.ERROR) { 1518 + variant + " was available with voice name " + voiceName 1525 Voice voice = getVoice(service, voiceName); 1527 Log.w(TAG, "getDefaultVoiceNameFor returned " + voiceName + " for locale " 1547 mParams.putString(Engine.KEY_PARAM_VOICE_NAME, voiceName); 1695 String voiceName = mParams.getString(Engine.KEY_PARAM_VOICE_NAME, ""); 1696 if (TextUtils.isEmpty(voiceName)) { 1699 return getVoice(service, voiceName); [all …]
|
D | SynthesisRequest.java | 146 void setVoiceName(String voiceName) { in setVoiceName() argument 147 mVoiceName = voiceName; in setVoiceName()
|
D | ITextToSpeechService.aidl | 191 int loadVoice(in IBinder caller, in String voiceName); in loadVoice() argument
|