Searched refs:mRS (Results 76 - 100 of 190) sorted by relevance

12345678

/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/
H A DComputePerf.java31 private RenderScript mRS; field in class:ComputePerf
43 mRS = RenderScript.create(this);
44 mLT = new LaunchTest(mRS, getResources());
59 mMandel = new Mandelbrot(mRS, getResources());
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DBWFilter.java26 mScript = new ScriptC_bwfilter(mRS);
H A DContrast.java27 mScript = new ScriptC_contrast(mRS);
H A DExposure.java27 mScript = new ScriptC_exposure(mRS);
H A DShadows.java27 mScript = new ScriptC_shadows(mRS);
H A DUsageIO.java41 mMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS));
51 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT);
52 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
H A DBlur25.java71 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS));
76 Type.Builder tb = new Type.Builder(mRS, Element.F32_4(mRS));
79 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create());
80 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
82 mScript = new ScriptC_threshold(mRS);
H A DBlur25G.java67 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS));
70 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create());
71 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
73 mCM = ScriptIntrinsicColorMatrix.create(mRS);
76 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8(mRS));
H A DTestBase.java42 protected RenderScript mRS; field in class:TestBase
107 mRS = ipact.mRS;
108 mRS.setMessageHandler(new MessageProcessor(act));
127 mRS.sendMessage(0, null);
131 mRS.finish();
135 mRS.setMessageHandler(null);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DBWFilter.java26 mScript = new ScriptC_bwfilter(mRS);
H A DContrast.java26 mScript = new ScriptC_contrast(mRS);
H A DCopy.java28 mScript = new ScriptC_copy(mRS);
H A DExposure.java27 mScript = new ScriptC_exposure(mRS);
H A DGreyscale.java25 mScript = new ScriptC_greyscale(mRS);
H A DShadows.java24 mScript = new ScriptC_shadows(mRS);
H A DVibrance.java23 mScript = new ScriptC_vibrance(mRS);
H A DBlur25.java67 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS));
72 Type.Builder tb = new Type.Builder(mRS, Element.F32_4(mRS));
75 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create());
76 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
78 mScript = new ScriptC_threshold(mRS);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DBWFilter.java26 mScript = new ScriptC_bwfilter(mRS);
H A DContrast.java27 mScript = new ScriptC_contrast(mRS);
H A DExposure.java27 mScript = new ScriptC_exposure(mRS);
H A DShadows.java24 mScript = new ScriptC_shadows(mRS);
H A DVibrance.java23 mScript = new ScriptC_vibrance(mRS);
/frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/
H A DSampleRSActivity.java79 private RenderScript mRS; field in class:SampleRSActivity
101 mRS = RenderScript.create(this);
102 mTwoByTwoAlloc = Allocation.createFromBitmap(mRS, mBitmapTwoByTwo,
106 mCityAlloc = Allocation.createFromBitmap(mRS, mBitmapCity,
110 Type.Builder b = new Type.Builder(mRS, Element.RGBA_8888(mRS));
118 Allocation outAlloc = Allocation.createTyped(mRS, b.setX(outX).setY(outY).create(), usage);
119 TextureViewUpdater updater = new TextureViewUpdater(outAlloc, Sampler.WRAP_LINEAR(mRS));
124 outAlloc = Allocation.createTyped(mRS, b.setX(outX).setY(outY).create(), usage);
125 updater = new TextureViewUpdater(outAlloc, Sampler.CLAMP_LINEAR(mRS));
[all...]
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/
H A DFountainView.java49 private RenderScriptGL mRS; field in class:FountainView
54 if (mRS == null) {
56 mRS = createRenderScriptGL(sc);
57 mRS.setSurface(holder, w, h);
59 mRender.init(mRS, getResources());
65 if (mRS != null) {
66 mRS = null;
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/
H A DFountainView.java49 private RenderScriptGL mRS; field in class:FountainView
54 if (mRS == null) {
56 mRS = createRenderScriptGL(sc);
57 mRS.setSurface(holder, w, h);
59 mRender.init(mRS, getResources(), w, h);
65 if (mRS != null) {
66 mRS = null;

Completed in 2499 milliseconds

12345678