Home
last modified time | relevance | path

Searched refs:NUM_BITMAPS (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/BasicRenderScript/src/com.example.android.basicrenderscript/
DMainActivity.java34 private final int NUM_BITMAPS = 3; field in MainActivity
55 mBitmapsOut = new Bitmap[NUM_BITMAPS]; in onCreate()
56 for (int i = 0; i < NUM_BITMAPS; ++i) { in onCreate()
63 mCurrentBitmap += (mCurrentBitmap + 1) % NUM_BITMAPS; in onCreate()
106 mOutAllocations = new Allocation[NUM_BITMAPS]; in createScript()
107 for (int i = 0; i < NUM_BITMAPS; ++i) { in createScript()
143 mCurrentBitmap = (mCurrentBitmap + 1) % NUM_BITMAPS; in doInBackground()
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/
DMainActivity.java37 private final int NUM_BITMAPS = 3; field in MainActivity
71 mBitmapsOut = new Bitmap[NUM_BITMAPS]; in onCreate()
72 for (int i = 0; i < NUM_BITMAPS; ++i) { in onCreate()
79 mCurrentBitmap += (mCurrentBitmap + 1) % NUM_BITMAPS; in onCreate()
157 mOutAllocations = new Allocation[NUM_BITMAPS]; in createScript()
158 for (int i = 0; i < NUM_BITMAPS; ++i) { in createScript()
290 mCurrentBitmap = (mCurrentBitmap + 1) % NUM_BITMAPS; in doInBackground()