D | StubTextToSpeechService.java | 62 protected int onIsLanguageAvailable(String lang, String country, String variant) { in onIsLanguageAvailable() argument 63 if (supportedCountries.contains(new Locale(lang, country))) { in onIsLanguageAvailable() 66 if (supportedLanguages.contains(new Locale(lang))) { in onIsLanguageAvailable() 74 protected int onLoadLanguage(String lang, String country, String variant) { in onLoadLanguage() argument 75 return onIsLanguageAvailable(lang, country, variant); in onLoadLanguage() 113 public String onGetDefaultVoiceNameFor(String lang, String country, String variant) { in onGetDefaultVoiceNameFor() argument 114 Locale locale = new Locale(lang, country); in onGetDefaultVoiceNameFor() 118 if (lang.equals("eng")) { in onGetDefaultVoiceNameFor() 119 if (GBFallbacks.contains(new Locale(lang, country))) { in onGetDefaultVoiceNameFor() 125 return super.onGetDefaultVoiceNameFor(lang, country, variant); in onGetDefaultVoiceNameFor()
|