| import android.preference.PreferenceGroup; | import android.preference.PreferenceGroup; | ||||
| import android.preference.PreferenceManager; | import android.preference.PreferenceManager; | ||||
| import com.reecedunn.espeak.preference.SeekBarPreference; | |||||
| import com.reecedunn.espeak.preference.SpeakPunctuationPreference; | |||||
| import com.reecedunn.espeak.preference.VoiceVariantPreference; | |||||
| public class TtsSettingsActivity extends PreferenceActivity { | public class TtsSettingsActivity extends PreferenceActivity { | ||||
| @Override | @Override | ||||
| @SuppressWarnings("deprecation") | @SuppressWarnings("deprecation") |
| * limitations under the License. | * limitations under the License. | ||||
| */ | */ | ||||
| package com.reecedunn.espeak; | |||||
| package com.reecedunn.espeak.preference; | |||||
| import android.content.Context; | import android.content.Context; | ||||
| import android.content.DialogInterface; | import android.content.DialogInterface; | ||||
| import android.widget.SeekBar; | import android.widget.SeekBar; | ||||
| import android.widget.TextView; | import android.widget.TextView; | ||||
| import com.reecedunn.espeak.R; | |||||
| public class SeekBarPreference extends DialogPreference implements SeekBar.OnSeekBarChangeListener | public class SeekBarPreference extends DialogPreference implements SeekBar.OnSeekBarChangeListener | ||||
| { | { | ||||
| private SeekBar mSeekBar; | private SeekBar mSeekBar; |
| * limitations under the License. | * limitations under the License. | ||||
| */ | */ | ||||
| package com.reecedunn.espeak; | |||||
| package com.reecedunn.espeak.preference; | |||||
| import android.content.Context; | import android.content.Context; | ||||
| import android.content.DialogInterface; | import android.content.DialogInterface; | ||||
| import android.widget.SeekBar; | import android.widget.SeekBar; | ||||
| import android.widget.TextView; | import android.widget.TextView; | ||||
| import com.reecedunn.espeak.R; | |||||
| import com.reecedunn.espeak.SpeechSynthesis; | |||||
| import com.reecedunn.espeak.VoiceSettings; | |||||
| public class SpeakPunctuationPreference extends DialogPreference { | public class SpeakPunctuationPreference extends DialogPreference { | ||||
| private RadioButton mAll; | private RadioButton mAll; | ||||
| private RadioButton mCustom; | private RadioButton mCustom; |
| * limitations under the License. | * limitations under the License. | ||||
| */ | */ | ||||
| package com.reecedunn.espeak; | |||||
| package com.reecedunn.espeak.preference; | |||||
| import android.app.Activity; | import android.app.Activity; | ||||
| import android.content.Context; | import android.content.Context; | ||||
| import android.widget.Spinner; | import android.widget.Spinner; | ||||
| import android.widget.TextView; | import android.widget.TextView; | ||||
| import com.reecedunn.espeak.R; | |||||
| import com.reecedunn.espeak.ResourceIdListAdapter; | |||||
| import com.reecedunn.espeak.VoiceSettings; | |||||
| import com.reecedunn.espeak.VoiceVariant; | |||||
| import java.util.List; | import java.util.List; | ||||
| public class VoiceVariantPreference extends DialogPreference { | public class VoiceVariantPreference extends DialogPreference { |