FileDocCategorySizeDatePackage
EffectsTest.javaAPI DocAndroid 5.1 API7879Thu Mar 12 22:22:30 GMT 2015com.android.effectstest

EffectsTest

public class EffectsTest extends android.app.Activity

Fields Summary
private static final String
TAG
Constructors Summary
public EffectsTest()



      
        Log.d(TAG, "contructor");
    
Methods Summary
public voidonCreate(android.os.Bundle icicle)

        super.onCreate(icicle);
        setContentView(R.layout.effectstest);

        Button button = (Button) findViewById(R.id.env_reverb_actvity);
        button.setOnClickListener(new OnClickListener() {
            public void onClick(View v) {
                startActivity(new Intent(EffectsTest.this, EnvReverbTest.class));
            }
        });

        button = (Button) findViewById(R.id.preset_reverb_actvity);
        button.setOnClickListener(new OnClickListener() {
            public void onClick(View v) {
                startActivity(new Intent(EffectsTest.this, PresetReverbTest.class));
            }
        });

        button = (Button) findViewById(R.id.equalizer_actvity);
        button.setOnClickListener(new OnClickListener() {
            public void onClick(View v) {
                startActivity(new Intent(EffectsTest.this, EqualizerTest.class));
            }
        });

        button = (Button) findViewById(R.id.virtualizer_actvity);
        button.setOnClickListener(new OnClickListener() {
            public void onClick(View v) {
                startActivity(new Intent(EffectsTest.this, VirtualizerTest.class));
            }
        });

        button = (Button) findViewById(R.id.bassboost_actvity);
        button.setOnClickListener(new OnClickListener() {
            public void onClick(View v) {
                startActivity(new Intent(EffectsTest.this, BassBoostTest.class));
            }
        });

        button = (Button) findViewById(R.id.visualizer_actvity);
        button.setOnClickListener(new OnClickListener() {
            public void onClick(View v) {
                startActivity(new Intent(EffectsTest.this, VisualizerTest.class));
            }
        });

        AudioEffect.Descriptor[] descriptors = AudioEffect.queryEffects();

        ListView list = (ListView) findViewById(R.id.effect_list);
        list.setAdapter(new EffectListAdapter(this, descriptors));