FileDocCategorySizeDatePackage
UT_math.javaAPI DocAndroid 5.1 API1234Thu Mar 12 22:22:54 GMT 2015com.android.rs.test

UT_math

public class UT_math extends UnitTest

Fields Summary
private android.content.res.Resources
mRes
Constructors Summary
protected UT_math(RSTestCore rstc, android.content.res.Resources res, android.content.Context ctx)

        super(rstc, "Math", ctx);
        mRes = res;
    
Methods Summary
public voidrun()

        RenderScript pRS = RenderScript.create(mCtx);
        ScriptC_math s = new ScriptC_math(pRS);
        pRS.setMessageHandler(mRsMessage);
        s.invoke_math_test(0, 0);
        pRS.finish();
        waitForMessage();
        pRS.destroy();