Home
last modified time | relevance | path

Searched refs:SCALING_FACTOR (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DTtsPlaybackSettingsManager.java63 public static final float SCALING_FACTOR = 100.0f; field in TtsPlaybackSettingsManager
80 mTts.setSpeechRate(speechRate / SCALING_FACTOR); in updateSpeechRate()
96 mTts.setPitch(pitch / SCALING_FACTOR); in updateVoicePitch()
DTtsPlaybackPreferenceController.java98 / TtsPlaybackSettingsManager.SCALING_FACTOR);
100 / TtsPlaybackSettingsManager.SCALING_FACTOR);
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/tts/
DTtsPlaybackSettingsManagerTest.java100 verify(mTts).setSpeechRate(newSpeechRate / TtsPlaybackSettingsManager.SCALING_FACTOR); in updateSpeechRate_updatesTts()
135 verify(mTts).setPitch(newVoicePitch / TtsPlaybackSettingsManager.SCALING_FACTOR); in updateVoicePitch_updatesTts()
DTtsPlaybackPreferenceControllerTest.java340 newSpeechRate / TtsPlaybackSettingsManager.SCALING_FACTOR); in speechRate_handlePreferenceChanged_updatesTts()
379 newVoicePitch / TtsPlaybackSettingsManager.SCALING_FACTOR); in voicePitch_handlePreferenceChanged_updatesTts()