Home
last modified time | relevance | path

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

/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTtsEnginesTests.java3 import android.speech.tts.TtsEngines;
9 private TtsEngines mTtsHelper;
13 mTtsHelper = new TtsEngines(getInstrumentation().getContext()); in setUp()
34 TtsEngines.toOldLocaleStringFormat(new Locale("de", "DE"))); in testToOldLocaleStringFormat()
36 TtsEngines.toOldLocaleStringFormat(new Locale("de"))); in testToOldLocaleStringFormat()
38 TtsEngines.toOldLocaleStringFormat(new Locale("en"))); in testToOldLocaleStringFormat()
40 TtsEngines.toOldLocaleStringFormat(new Locale("foo"))); in testToOldLocaleStringFormat()
45 TtsEngines.normalizeTTSLocale(new Locale("eng", "gbr"))); in testNormalizeLocale()
47 TtsEngines.normalizeTTSLocale(new Locale("eng", "GBR"))); in testNormalizeLocale()
49 TtsEngines.normalizeTTSLocale(new Locale("deu", "deu"))); in testNormalizeLocale()
[all …]
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java115 private TtsEngines mEngineHelper;
134 mEngineHelper = new TtsEngines(this); in onCreate()
337 Locale properLocale = TtsEngines.normalizeTTSLocale(iso3Locale); in onGetDefaultVoiceNameFor()
416 return TtsEngines.toOldLocaleStringFormat(locale); in getSettingsLocale()
DTtsEngines.java62 public class TtsEngines { class
104 public TtsEngines(Context ctx) { in TtsEngines() method in TtsEngines
DTextToSpeech.java671 private final TtsEngines mEnginesHelper;
722 mEnginesHelper = new TtsEngines(mContext); in TextToSpeech()