Browse Source

Move the Preference implementations to com.reecedunn.espeak.preference.

master
Reece H. Dunn 12 years ago
parent
commit
ed305acc29

+ 4
- 0
android/src/com/reecedunn/espeak/TtsSettingsActivity.java View File

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")

android/src/com/reecedunn/espeak/SeekBarPreference.java → android/src/com/reecedunn/espeak/preference/SeekBarPreference.java View File

* 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;

android/src/com/reecedunn/espeak/SpeakPunctuationPreference.java → android/src/com/reecedunn/espeak/preference/SpeakPunctuationPreference.java View File

* 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;

android/src/com/reecedunn/espeak/VoiceVariantPreference.java → android/src/com/reecedunn/espeak/preference/VoiceVariantPreference.java View File

* 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 {

Loading…
Cancel
Save