Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTextToSpeechFragment.java91 private int mDefaultRate = TextToSpeech.Engine.DEFAULT_RATE; field in TextToSpeechFragment
228 mDefaultRate = android.provider.Settings.Secure.getInt(resolver, in initSettings()
232 mDefaultRate = TextToSpeech.Engine.DEFAULT_RATE; in initSettings()
234 mDefaultRatePref.setValue(String.valueOf(mDefaultRate)); in initSettings()
446 mDefaultRate = Integer.parseInt((String) objValue); in onPreferenceChange()
449 Settings.Secure.TTS_DEFAULT_RATE, mDefaultRate); in onPreferenceChange() local
451 mTts.setSpeechRate(mDefaultRate / 100.0f); in onPreferenceChange()
453 if (DBG) Log.d(TAG, "TTS default rate changed, now " + mDefaultRate); in onPreferenceChange()
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java122 private int mDefaultRate = TextToSpeech.Engine.DEFAULT_RATE; field in TextToSpeechSettings
311 mDefaultRate = in initSettings()
318 mDefaultRatePref.setProgress(getSeekBarProgressFromValue(KEY_DEFAULT_RATE, mDefaultRate)); in initSettings()
333 mTts.setSpeechRate(mDefaultRate / 100.0f); in initSettings()
700 mDefaultRate = getValueFromSeekBarProgress(KEY_DEFAULT_RATE, speechRateSeekBarProgress); in updateSpeechRate()
702 updateTTSSetting(TTS_DEFAULT_RATE, mDefaultRate); in updateSpeechRate()
704 mTts.setSpeechRate(mDefaultRate / 100.0f); in updateSpeechRate()
706 if (DBG) Log.d(TAG, "TTS default rate changed, now " + mDefaultRate); in updateSpeechRate()