Code example for ScriptIntrinsicBlur

Methods: setRadius

0
    public void runTest() { 
        mIntrinsic.forEach(mScratchPixelsAllocation2);
    } 
 
    public void setupBenchmark() { 
        mIntrinsic.setRadius(MAX_RADIUS);
    } 
 
    public void exitBenchmark() { 
        mIntrinsic.setRadius(mRadius);
    } 
 
    public void updateBitmap(Bitmap b) {
        mScript.forEach_toU8_4(mScratchPixelsAllocation2, mOutPixelsAllocation);
        mOutPixelsAllocation.copyTo(b);
    } 
 
}