Searched refs:parseLocaleString (Results 1 – 9 of 9) sorted by relevance
79 protected Locale parseLocaleString(String localeString) { in parseLocaleString() method in ShadowTtsEngines80 return sInstance.parseLocaleString(localeString); in parseLocaleString()
123 when(mEnginesHelper.parseLocaleString(VOICE.getLocale().toString())).thenReturn( in setUp()125 when(mEnginesHelper.parseLocaleString(Locale.CANADA.toString())).thenReturn(Locale.CANADA); in setUp()126 when(mEnginesHelper.parseLocaleString(Locale.KOREA.toString())).thenReturn(Locale.KOREA); in setUp()384 when(mEnginesHelper.parseLocaleString(any())).thenReturn(null); in refreshUi_initialized_defaultLocaleIsNull_disablesPreference()
207 when(mEnginesHelper.parseLocaleString(Locale.FRANCE.toString())).thenReturn(Locale.FRANCE); in speakSampleText_requiresNetworkConnection_languageNotAvailable_showsAlert()
390 mCurrentDefaultLocale = mEnginesHelper.parseLocaleString(defaultLocale.toString()); in checkDefaultLocale()506 Locale locale = mEnginesHelper.parseLocaleString(availableLangs.get(i)); in updateDefaultLocalePref()625 ? mEnginesHelper.parseLocaleString(localeString) in onPreferenceChange()
279 Locale locale = mEnginesHelper.parseLocaleString(availableLangs.get(i)); in updateDefaultLocalePref()352 mEnginesHelper.parseLocaleString(localeString) : null)); in onPreferenceChange()
275 mCurrentDefaultLocale = mEnginesHelper.parseLocaleString(defaultLocale.toString()); in checkDefaultLocale()
333 updateLanguageTo(!TextUtils.isEmpty(localeString) ? mEnginesHelper.parseLocaleString( in initDefaultLanguagePreference()345 Locale locale = mEnginesHelper.parseLocaleString(availableLangs.get(i)); in updateDefaultLanguagePreference()
132 return mEnginesHelper.parseLocaleString(mTts.getVoice().getLocale().toString()); in getEffectiveTtsLocale()