Searched refs:TtsPlaybackSettingsManager (Results 1 – 4 of 4) sorted by relevance
69 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()
34 class TtsPlaybackSettingsManager { class36 private static final Logger LOG = new Logger(TtsPlaybackSettingsManager.class);69 TtsPlaybackSettingsManager(Context context, @NonNull TextToSpeech tts, in TtsPlaybackSettingsManager() method in TtsPlaybackSettingsManager
57 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()
322 newSpeechRate / TtsPlaybackSettingsManager.SCALING_FACTOR); in speechRate_handlePreferenceChanged_updatesTts()355 newVoicePitch / TtsPlaybackSettingsManager.SCALING_FACTOR); in voicePitch_handlePreferenceChanged_updatesTts()