mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-07 15:24:02 +00:00
Move the Preference implementations to com.reecedunn.espeak.preference.
This commit is contained in:
@@ -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")
|
||||
|
||||
+3
-1
@@ -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;
|
||||
+5
-1
@@ -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;
|
||||
+6
-1
@@ -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 {
|
||||
Reference in New Issue
Block a user