Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/tts/
DTextToSpeechSettings.java117 private int mDefaultPitch = TextToSpeech.Engine.DEFAULT_PITCH; field in TextToSpeechSettings
298 mDefaultPitch = in initSettings()
307 getSeekBarProgressFromValue(KEY_DEFAULT_PITCH, mDefaultPitch)); in initSettings()
314 mTts.setPitch(mDefaultPitch / 100.0f); in initSettings()
686 mDefaultPitch = getValueFromSeekBarProgress(KEY_DEFAULT_PITCH, speechPitchSeekBarProgress); in updateSpeechPitchValue()
689 getContentResolver(), TTS_DEFAULT_PITCH, mDefaultPitch); in updateSpeechPitchValue() local
691 mTts.setPitch(mDefaultPitch / 100.0f); in updateSpeechPitchValue()
693 if (DBG) Log.d(TAG, "TTS default pitch changed, now" + mDefaultPitch); in updateSpeechPitchValue()
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java121 private int mDefaultPitch = TextToSpeech.Engine.DEFAULT_PITCH; field in TextToSpeechSettings
314 mDefaultPitch = in initSettings()
323 getSeekBarProgressFromValue(KEY_DEFAULT_PITCH, mDefaultPitch)); in initSettings()
330 mTts.setPitch(mDefaultPitch / 100.0f); in initSettings()
710 mDefaultPitch = getValueFromSeekBarProgress(KEY_DEFAULT_PITCH, speechPitchSeekBarProgress); in updateSpeechPitchValue()
712 updateTTSSetting(TTS_DEFAULT_PITCH, mDefaultPitch); in updateSpeechPitchValue()
714 mTts.setPitch(mDefaultPitch / 100.0f); in updateSpeechPitchValue()
716 if (DBG) Log.d(TAG, "TTS default pitch changed, now" + mDefaultPitch); in updateSpeechPitchValue()