Home
last modified time | relevance | path

Searched refs:mRS (Results 1 – 5 of 5) sorted by relevance

/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/
DMainActivity.java43 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/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/
DHelloCompute.java31 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/BasicRenderScript/src/com.example.android.basicrenderscript/
DMainActivity.java40 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/
DLevelsRSActivity.java62 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/
DHdrViewfinderActivity.java126 RenderScript mRS; field in HdrViewfinderActivity
166 mRS = RenderScript.create(this); in onCreate()
492 mProcessor = new ViewfinderProcessor(mRS, outputSize); in configureSurfaces()