Searched refs:mSpeechRatePreference (Results 1 – 2 of 2) sorted by relevance
85 private SeekBarPreference mSpeechRatePreference; field in TtsPlaybackPreferenceControllerTest108 mSpeechRatePreference = new SeekBarPreference(mContext); in setUp()109 mSpeechRatePreference.setKey(mContext.getString(R.string.pk_tts_speech_rate)); in setUp()110 mPreferenceGroup.addPreference(mSpeechRatePreference); in setUp()323 mSpeechRatePreference.callChangeListener(newSpeechRate); in speechRate_handlePreferenceChanged_updatesSecureSettings()337 mSpeechRatePreference.callChangeListener(newSpeechRate); in speechRate_handlePreferenceChanged_updatesTts()350 mSpeechRatePreference.callChangeListener(newSpeechRate); in speechRate_handlePreferenceChanged_speaksSampleText()403 assertThat(mSpeechRatePreference.isEnabled()).isFalse(); in refreshUi_notInitialized_disablesPreference()421 assertThat(mSpeechRatePreference.isEnabled()).isFalse(); in refreshUi_initialized_defaultLocaleIsNull_disablesPreference()448 assertThat(mSpeechRatePreference.isEnabled()).isFalse(); in refreshUi_defaultLocaleNotSupported_disablesPreferencesExceptLanguage()[all …]
77 private SeekBarPreference mSpeechRatePreference; field in TtsPlaybackPreferenceController123 mSpeechRatePreference = initSpeechRatePreference(); in onCreateInternal()156 mSpeechRatePreference.setEnabled(isValid); in updateState()170 mSpeechRatePreference.setValue(mTtsPlaybackManager.getCurrentSpeechRate()); in updateState()