Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java82 private static final String KEY_DEFAULT_RATE = "tts_default_rate"; field in TextToSpeechSettings
178 mDefaultRatePref = (SeekBarPreference) findPreference(KEY_DEFAULT_RATE); in onCreate()
318 mDefaultRatePref.setProgress(getSeekBarProgressFromValue(KEY_DEFAULT_RATE, mDefaultRate)); in initSettings()
320 mDefaultRatePref.setMax(getSeekBarProgressFromValue(KEY_DEFAULT_RATE, MAX_SPEECH_RATE)); in initSettings()
363 if (preferenceKey.equals(KEY_DEFAULT_RATE)) { in getValueFromSeekBarProgress()
376 if (preferenceKey.equals(KEY_DEFAULT_RATE)) { in getSeekBarProgressFromValue()
646 if (KEY_DEFAULT_RATE.equals(preference.getKey())) { in onPreferenceChange()
689 KEY_DEFAULT_RATE, TextToSpeech.Engine.DEFAULT_RATE); in resetTts()
700 mDefaultRate = getValueFromSeekBarProgress(KEY_DEFAULT_RATE, speechRateSeekBarProgress); in updateSpeechRate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTextToSpeechFragment.java68 private static final String KEY_DEFAULT_RATE = "tts_default_rate"; field in TextToSpeechFragment
163 mDefaultRatePref = (ListPreference) findPreference(KEY_DEFAULT_RATE); in onCreatePreferences()
443 if (KEY_DEFAULT_RATE.equals(preference.getKey())) { in onPreferenceChange()