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

This commit is contained in:
Reece H. Dunn
2013-09-16 15:40:05 +01:00
parent 9e99b70965
commit ed305acc29
4 changed files with 18 additions and 3 deletions
@@ -29,6 +29,10 @@ import android.preference.PreferenceFragment;
import android.preference.PreferenceGroup;
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 {
@Override
@SuppressWarnings("deprecation")
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.reecedunn.espeak;
package com.reecedunn.espeak.preference;
import android.content.Context;
import android.content.DialogInterface;
@@ -26,6 +26,8 @@ import android.widget.Button;
import android.widget.SeekBar;
import android.widget.TextView;
import com.reecedunn.espeak.R;
public class SeekBarPreference extends DialogPreference implements SeekBar.OnSeekBarChangeListener
{
private SeekBar mSeekBar;
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.reecedunn.espeak;
package com.reecedunn.espeak.preference;
import android.content.Context;
import android.content.DialogInterface;
@@ -29,6 +29,10 @@ import android.widget.RadioButton;
import android.widget.SeekBar;
import android.widget.TextView;
import com.reecedunn.espeak.R;
import com.reecedunn.espeak.SpeechSynthesis;
import com.reecedunn.espeak.VoiceSettings;
public class SpeakPunctuationPreference extends DialogPreference {
private RadioButton mAll;
private RadioButton mCustom;
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.reecedunn.espeak;
package com.reecedunn.espeak.preference;
import android.app.Activity;
import android.content.Context;
@@ -34,6 +34,11 @@ import android.widget.RadioButton;
import android.widget.Spinner;
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;
public class VoiceVariantPreference extends DialogPreference {