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

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

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

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

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

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

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

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

Loading…
Cancel
Save