BasicRenderScript/Application/src/main/java/com/example/android/basicrenderscript/MainActivity.java [31:40]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public class MainActivity extends AppCompatActivity {

    /**
     * Number of bitmaps that is used for RenderScript thread and UI thread synchronization.
     */
    private final int NUM_BITMAPS = 2;
    private int mCurrentBitmap = 0;
    private Bitmap mBitmapIn;
    private Bitmap[] mBitmapsOut;
    private ImageView mImageView;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



RenderScriptIntrinsic/Application/src/main/java/com/example/android/renderscriptintrinsic/MainActivity.java [39:48]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public class MainActivity extends AppCompatActivity {

    /**
     * Number of bitmaps that is used for renderScript thread and UI thread synchronization.
     */
    private final int NUM_BITMAPS = 2;
    private int mCurrentBitmap = 0;
    private Bitmap mBitmapIn;
    private Bitmap[] mBitmapsOut;
    private ImageView mImageView;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



