Searched refs:mVoicePitchPreference (Results 1 – 2 of 2) sorted by relevance
86 private SeekBarPreference mVoicePitchPreference; field in TtsPlaybackPreferenceControllerTest112 mVoicePitchPreference = new SeekBarPreference(mContext); in setUp()113 mVoicePitchPreference.setKey(mContext.getString(R.string.pk_tts_pitch)); in setUp()114 mPreferenceGroup.addPreference(mVoicePitchPreference); in setUp()362 mVoicePitchPreference.callChangeListener(newVoicePitch); in voicePitch_handlePreferenceChanged_updatesSecureSettings()376 mVoicePitchPreference.callChangeListener(newVoicePitch); in voicePitch_handlePreferenceChanged_updatesTts()389 mVoicePitchPreference.callChangeListener(newVoicePitch); in voicePitch_handlePreferenceChanged_speaksSampleText()404 assertThat(mVoicePitchPreference.isEnabled()).isFalse(); in refreshUi_notInitialized_disablesPreference()422 assertThat(mVoicePitchPreference.isEnabled()).isFalse(); in refreshUi_initialized_defaultLocaleIsNull_disablesPreference()449 assertThat(mVoicePitchPreference.isEnabled()).isFalse(); in refreshUi_defaultLocaleNotSupported_disablesPreferencesExceptLanguage()[all …]
78 private SeekBarPreference mVoicePitchPreference; field in TtsPlaybackPreferenceController124 mVoicePitchPreference = initVoicePitchPreference(); in onCreateInternal()157 mVoicePitchPreference.setEnabled(isValid); in updateState()171 mVoicePitchPreference.setValue(mTtsPlaybackManager.getCurrentVoicePitch()); in updateState()