Home
last modified time | relevance | path

Searched refs:mCurrentDefaultLocale (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTextToSpeechFragment.java118 private Locale mCurrentDefaultLocale; field in TextToSpeechFragment
186 if (mTts == null || mCurrentDefaultLocale == null) { in onResume()
190 if (!mCurrentDefaultLocale.equals(ttsDefaultLocale)) { in onResume()
276 final Locale oldDefaultLocale = mCurrentDefaultLocale; in checkDefaultLocale()
277 mCurrentDefaultLocale = mEnginesHelper.parseLocaleString(defaultLocale.toString()); in checkDefaultLocale()
278 if (!Objects.equals(oldDefaultLocale, mCurrentDefaultLocale)) { in checkDefaultLocale()
291 if (mCurrentDefaultLocale == null || mAvailableStrLocals == null) { in evaluateDefaultLocale()
298 String defaultLocaleStr = mCurrentDefaultLocale.getISO3Language(); in evaluateDefaultLocale()
299 if (!TextUtils.isEmpty(mCurrentDefaultLocale.getISO3Country())) { in evaluateDefaultLocale()
300 defaultLocaleStr += "-" + mCurrentDefaultLocale.getISO3Country(); in evaluateDefaultLocale()
[all …]
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java139 private Locale mCurrentDefaultLocale; field in TextToSpeechSettings
233 if (mTts == null || mCurrentDefaultLocale == null) { in onResume()
263 if (mCurrentDefaultLocale != null && !mCurrentDefaultLocale.equals(ttsDefaultLocale)) { in onResume()
414 final Locale oldDefaultLocale = mCurrentDefaultLocale; in checkDefaultLocale()
415 mCurrentDefaultLocale = mEnginesHelper.parseLocaleString(defaultLocale.toString()); in checkDefaultLocale()
416 if (!Objects.equals(oldDefaultLocale, mCurrentDefaultLocale)) { in checkDefaultLocale()
429 if (mCurrentDefaultLocale == null || mAvailableStrLocals == null) { in evaluateDefaultLocale()
436 String defaultLocaleStr = mCurrentDefaultLocale.getISO3Language(); in evaluateDefaultLocale()
437 if (!TextUtils.isEmpty(mCurrentDefaultLocale.getISO3Country())) { in evaluateDefaultLocale()
438 defaultLocaleStr += "-" + mCurrentDefaultLocale.getISO3Country(); in evaluateDefaultLocale()
[all …]