FileDocCategorySizeDatePackage
TestBase.javaAPI DocAndroid 5.1 API3194Thu Mar 12 22:22:54 GMT 2015com.android.rs.imagejb

TestBase

public class TestBase extends Object

Fields Summary
protected final String
TAG
protected android.renderscript.RenderScript
mRS
protected android.renderscript.Allocation
mInPixelsAllocation
protected android.renderscript.Allocation
mInPixelsAllocation2
protected android.renderscript.Allocation
mOutPixelsAllocation
protected ImageProcessingActivityJB
act
Constructors Summary
Methods Summary
public voidanimateBars(float time)

    
public final voidcreateBaseTest(ImageProcessingActivityJB ipact)

        act = ipact;
        mRS = ipact.mProcessor.mRS;

        mInPixelsAllocation = ipact.mProcessor.mInPixelsAllocation;
        mInPixelsAllocation2 = ipact.mProcessor.mInPixelsAllocation2;
        mOutPixelsAllocation = ipact.mProcessor.mOutPixelsAllocation;

        createTest(act.getResources());
    
public voidcreateTest(android.content.res.Resources res)

    
public voiddestroy()

    
public voidonBar1Changed(int progress)


    // Override to use UI elements
        
    
public booleanonBar1Setup(android.widget.SeekBar b, android.widget.TextView t)

        b.setVisibility(View.INVISIBLE);
        t.setVisibility(View.INVISIBLE);
        return false;
    
public voidonBar2Changed(int progress)

    
public booleanonBar2Setup(android.widget.SeekBar b, android.widget.TextView t)

        b.setVisibility(View.INVISIBLE);
        t.setVisibility(View.INVISIBLE);
        return false;
    
public voidonBar3Changed(int progress)

    
public booleanonBar3Setup(android.widget.SeekBar b, android.widget.TextView t)

        b.setVisibility(View.INVISIBLE);
        t.setVisibility(View.INVISIBLE);
        return false;
    
public voidonBar4Changed(int progress)

    
public booleanonBar4Setup(android.widget.SeekBar b, android.widget.TextView t)

        b.setVisibility(View.INVISIBLE);
        t.setVisibility(View.INVISIBLE);
        return false;
    
public voidonBar5Changed(int progress)

    
public booleanonBar5Setup(android.widget.SeekBar b, android.widget.TextView t)

        b.setVisibility(View.INVISIBLE);
        t.setVisibility(View.INVISIBLE);
        return false;
    
public booleanonSpinner1Setup(android.widget.Spinner s)

        s.setVisibility(View.INVISIBLE);
        return false;
    
public voidrunTest()