Searched refs:mRS (Results 1 – 5 of 5) 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.createFromBitmap(mRS, mBitmapOut, in createScript() 65 mScript = new ScriptC_mono(mRS); in createScript()
|
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/ |
D | MainActivity.java | 43 private RenderScript mRS; field in MainActivity 153 mRS = RenderScript.create(this); in createScript() 155 mInAllocation = Allocation.createFromBitmap(mRS, mBitmapIn); in createScript() 159 mOutAllocations[i] = Allocation.createFromBitmap(mRS, mBitmapsOut[i]); in createScript() 169 mScriptBlur = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS)); in createScript() 170 mScriptConvolve = ScriptIntrinsicConvolve5x5.create(mRS, in createScript() 171 Element.U8_4(mRS)); in createScript() 172 mScriptMatrix = ScriptIntrinsicColorMatrix.create(mRS, in createScript() 173 Element.U8_4(mRS)); in createScript() 351 Allocation inAllocation = Allocation.createFromBitmap(mRS, tempBitmap); in createThumbnail() [all …]
|
/development/samples/browseable/BasicRenderScript/src/com.example.android.basicrenderscript/ |
D | MainActivity.java | 40 private RenderScript mRS; field in MainActivity 102 mRS = RenderScript.create(this); in createScript() 105 mInAllocation = Allocation.createFromBitmap(mRS, mBitmapIn); in createScript() 108 mOutAllocations[i] = Allocation.createFromBitmap(mRS, mBitmapsOut[i]); in createScript() 112 mScript = new ScriptC_saturation(mRS); in createScript()
|
/development/samples/RenderScript/Levels/src/com/android/rs/levels/ |
D | LevelsRSActivity.java | 62 private RenderScript mRS; field in LevelsRSActivity 170 mRS = RenderScript.create(this); in onCreate() 171 mInPixelsAllocation = Allocation.createFromBitmap(mRS, mBitmapIn, in onCreate() 174 mOutPixelsAllocation = Allocation.createTyped(mRS, mInPixelsAllocation.getType(), in onCreate() 179 mScript = new ScriptC_levels(mRS); in onCreate() 200 mRS.finish(); in filter()
|
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/ |
D | HdrViewfinderActivity.java | 126 RenderScript mRS; field in HdrViewfinderActivity 166 mRS = RenderScript.create(this); in onCreate() 492 mProcessor = new ViewfinderProcessor(mRS, outputSize); in configureSurfaces()
|