Home | History | Annotate | Download | only in tts

Lines Matching refs:voiceName

506         public static final String KEY_PARAM_VOICE_NAME = "voiceName";
1504 String voiceName = service.getDefaultVoiceNameFor(language, country, variant);
1505 if (TextUtils.isEmpty(voiceName)) {
1512 if (service.loadVoice(getCallerIdentity(), voiceName) == TextToSpeech.ERROR) {
1514 + variant + " was available with voice name " + voiceName
1521 Voice voice = getVoice(service, voiceName);
1523 Log.w(TAG, "getDefaultVoiceNameFor returned " + voiceName + " for locale "
1543 mParams.putString(Engine.KEY_PARAM_VOICE_NAME, voiceName);
1691 String voiceName = mParams.getString(Engine.KEY_PARAM_VOICE_NAME, "");
1692 if (TextUtils.isEmpty(voiceName)) {
1695 return getVoice(service, voiceName);
1708 private Voice getVoice(ITextToSpeechService service, String voiceName) throws RemoteException {
1715 if (voice.getName().equals(voiceName)) {
1719 Log.w(TAG, "Could not find voice " + voiceName + " in voice list");
1751 String voiceName = service.getDefaultVoiceNameFor(language, country, variant);
1752 if (TextUtils.isEmpty(voiceName)) {
1762 if (voice.getName().equals(voiceName)) {