Searched refs:mRS (Results 1 – 2 of 2) sorted by relevance
/development/samples/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/ |
D | HelloCompute.java | 31 private RenderScript mRS; field in HelloCompute 56 mRS = RenderScript.create(this); in createScript() 58 mInAllocation = Allocation.createFromBitmap(mRS, mBitmapIn, in createScript() 61 mOutAllocation = Allocation.createTyped(mRS, mInAllocation.getType()); in createScript() 63 mScript = new ScriptC_mono(mRS, getResources(), R.raw.mono); in createScript()
|
/development/samples/RenderScript/Levels/src/com/android/rs/levels/ |
D | LevelsRSActivity.java | 61 private RenderScript mRS; field in LevelsRSActivity 169 mRS = RenderScript.create(this); in onCreate() 170 mInPixelsAllocation = Allocation.createFromBitmap(mRS, mBitmapIn, in onCreate() 173 mOutPixelsAllocation = Allocation.createTyped(mRS, mInPixelsAllocation.getType(), in onCreate() 178 mScript = new ScriptC_levels(mRS, getResources(), R.raw.levels); in onCreate() 199 mRS.finish(); in filter()
|