Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceController.java69 private TtsPlaybackSettingsManager mTtsPlaybackManager;
110 mTtsPlaybackManager = new TtsPlaybackSettingsManager(getContext(), mTts, mEnginesHelper); in onCreateInternal()
112 / TtsPlaybackSettingsManager.SCALING_FACTOR); in onCreateInternal()
114 / TtsPlaybackSettingsManager.SCALING_FACTOR); in onCreateInternal()
370 speechRatePreference.setMin(TtsPlaybackSettingsManager.MIN_SPEECH_RATE); in initSpeechRatePreference()
371 speechRatePreference.setMax(TtsPlaybackSettingsManager.MAX_SPEECH_RATE); in initSpeechRatePreference()
392 pitchPreference.setMin(TtsPlaybackSettingsManager.MIN_VOICE_PITCH); in initVoicePitchPreference()
393 pitchPreference.setMax(TtsPlaybackSettingsManager.MAX_VOICE_PITCH); in initVoicePitchPreference()
DTtsPlaybackSettingsManager.java34 class TtsPlaybackSettingsManager { class
36 private static final Logger LOG = new Logger(TtsPlaybackSettingsManager.class);
69 TtsPlaybackSettingsManager(Context context, @NonNull TextToSpeech tts, in TtsPlaybackSettingsManager() method in TtsPlaybackSettingsManager
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/tts/
DTtsPlaybackSettingsManagerTest.java57 private TtsPlaybackSettingsManager mPlaybackSettingsManager;
70 mPlaybackSettingsManager = new TtsPlaybackSettingsManager(mContext, mTts, mEnginesHelper); in setUp()
100 verify(mTts).setSpeechRate(newSpeechRate / TtsPlaybackSettingsManager.SCALING_FACTOR); in updateSpeechRate_updatesTts()
135 verify(mTts).setPitch(newVoicePitch / TtsPlaybackSettingsManager.SCALING_FACTOR); in updateVoicePitch_updatesTts()
DTtsPlaybackPreferenceControllerTest.java322 newSpeechRate / TtsPlaybackSettingsManager.SCALING_FACTOR); in speechRate_handlePreferenceChanged_updatesTts()
355 newVoicePitch / TtsPlaybackSettingsManager.SCALING_FACTOR); in voicePitch_handlePreferenceChanged_updatesTts()