Searched refs:mSampleTextLocale (Results 1 – 1 of 1) sorted by relevance
82 private Locale mSampleTextLocale; field in TtsPlaybackPreferenceController212 mSampleTextLocale = mTtsPlaybackManager.getEffectiveTtsLocale(); in startGetSampleText()213 if (mSampleTextLocale == null) { in startGetSampleText()216 intent.putExtra(TextToSpeech.Engine.KEY_PARAM_LANGUAGE, mSampleTextLocale.getLanguage()); in startGetSampleText()217 intent.putExtra(TextToSpeech.Engine.KEY_PARAM_COUNTRY, mSampleTextLocale.getCountry()); in startGetSampleText()218 intent.putExtra(TextToSpeech.Engine.KEY_PARAM_VARIANT, mSampleTextLocale.getVariant()); in startGetSampleText()305 if (mSampleTextLocale == null) { in isDefaultLocaleValid()314 int index = mDefaultLanguagePreference.findIndexOfValue(mSampleTextLocale.toString()); in isDefaultLocaleValid()331 if (!Objects.equals(defaultLocale, mSampleTextLocale)) { in checkOrUpdateSampleText()333 mSampleTextLocale = null; in checkOrUpdateSampleText()