FileDocCategorySizeDatePackage
UT_clamp.javaAPI DocAndroid 5.1 API1261Thu Mar 12 22:22:54 GMT 2015com.android.rs.test_compat

UT_clamp

public class UT_clamp extends UnitTest

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

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

        RenderScript pRS = RenderScript.create(mCtx);
        ScriptC_clamp s = new ScriptC_clamp(pRS);
        pRS.setMessageHandler(mRsMessage);
        s.invoke_clamp_test();
        pRS.finish();
        waitForMessage();
        pRS.destroy();