FileDocCategorySizeDatePackage
Mirror.javaAPI DocAndroid 5.1 API1491Thu Mar 12 22:22:54 GMT 2015com.android.rs.image

Mirror

public class Mirror extends TestBase

Fields Summary
private ScriptC_mirror
mScript
private int
mWidth
private int
mHeight
Constructors Summary
Methods Summary
public voidcreateTest(android.content.res.Resources res)

        mScript = new ScriptC_mirror(mRS);

        mWidth = mInPixelsAllocation.getType().getX();
        mHeight = mInPixelsAllocation.getType().getY();

        mScript.set_gIn(mInPixelsAllocation);
        mScript.set_gWidth(mWidth);
        mScript.set_gHeight(mHeight);
    
public voidrunTest()

        mScript.forEach_mirror(mOutPixelsAllocation);