Searched refs:mDefaultRate (Results 1 – 3 of 3) sorted by relevance
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | TextToSpeechFragment.java | 89 private int mDefaultRate = TextToSpeech.Engine.DEFAULT_RATE; field in TextToSpeechFragment 226 mDefaultRate = android.provider.Settings.Secure.getInt(resolver, in initSettings() 230 mDefaultRate = TextToSpeech.Engine.DEFAULT_RATE; in initSettings() 232 mDefaultRatePref.setValue(String.valueOf(mDefaultRate)); in initSettings() 443 mDefaultRate = Integer.parseInt((String) objValue); in onPreferenceChange() 446 Settings.Secure.TTS_DEFAULT_RATE, mDefaultRate); in onPreferenceChange() local 448 mTts.setSpeechRate(mDefaultRate / 100.0f); in onPreferenceChange() 450 if (DBG) Log.d(TAG, "TTS default rate changed, now " + mDefaultRate); in onPreferenceChange()
|
/packages/apps/Settings/src/com/android/settings/tts/ |
D | TextToSpeechSettings.java | 118 private int mDefaultRate = TextToSpeech.Engine.DEFAULT_RATE; field in TextToSpeechSettings 295 mDefaultRate = in initSettings() 302 mDefaultRatePref.setProgress(getSeekBarProgressFromValue(KEY_DEFAULT_RATE, mDefaultRate)); in initSettings() 313 mTts.setSpeechRate(mDefaultRate / 100.0f); in initSettings() 671 mDefaultRate = getValueFromSeekBarProgress(KEY_DEFAULT_RATE, speechRateSeekBarProgress); in updateSpeechRate() 674 getContentResolver(), TTS_DEFAULT_RATE, mDefaultRate); in updateSpeechRate() local 676 mTts.setSpeechRate(mDefaultRate / 100.0f); in updateSpeechRate() 678 if (DBG) Log.d(TAG, "TTS default rate changed, now " + mDefaultRate); in updateSpeechRate()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/tts/ |
D | TextToSpeechSettings.java | 118 private int mDefaultRate = TextToSpeech.Engine.DEFAULT_RATE; field in TextToSpeechSettings 295 mDefaultRate = in initSettings() 302 mDefaultRatePref.setProgress(getSeekBarProgressFromValue(KEY_DEFAULT_RATE, mDefaultRate)); in initSettings() 313 mTts.setSpeechRate(mDefaultRate / 100.0f); in initSettings() 671 mDefaultRate = getValueFromSeekBarProgress(KEY_DEFAULT_RATE, speechRateSeekBarProgress); in updateSpeechRate() 674 getContentResolver(), TTS_DEFAULT_RATE, mDefaultRate); in updateSpeechRate() local 676 mTts.setSpeechRate(mDefaultRate / 100.0f); in updateSpeechRate() 678 if (DBG) Log.d(TAG, "TTS default rate changed, now " + mDefaultRate); in updateSpeechRate()
|