/frameworks/base/tests/RenderScriptTests/HelloWorld/src/com/example/android/rs/helloworld/ |
HelloWorldRS.java | 25 private RenderScriptGL mRS; 35 mRS = rs; 46 mScript = new ScriptC_helloworld(mRS, mRes, R.raw.helloworld); 47 mRS.bindRootScript(mScript);
|
HelloWorldView.java | 27 private RenderScriptGL mRS; 37 if (mRS == null) { 41 mRS = createRenderScriptGL(sc); 44 mRender.init(mRS, getResources()); 58 if (mRS != null) { 59 mRS = null;
|
/frameworks/rs/java/tests/ComputeBenchmark/src/com/example/android/rs/computebench/ |
ComputeBench.java | 24 private RenderScript mRS; 32 mRS = RenderScript.create(this); 34 mBenchmark = new Benchmark(mRS, getResources());
|
/frameworks/rs/java/tests/LatencyBenchmark/src/com/example/android/rs/computebench/ |
LatencyBench.java | 24 private RenderScript mRS; 32 mRS = RenderScript.create(this); 34 mBenchmark = new Benchmark(mRS, getResources());
|
Benchmark.java | 23 private final RenderScript mRS; 29 mRS = rs; 30 mScript = new ScriptC_compute_benchmark(mRS, res, R.raw.compute_benchmark); 31 ain = Allocation.createSized(rs, Element.U32(mRS), 10000); 32 aout = Allocation.createSized(rs, Element.U32(mRS), 10000);
|
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/ |
FountainView.java | 49 private RenderScriptGL mRS; 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/FountainFbo/src/com/example/android/rs/fountainfbo/ |
FountainFboView.java | 32 private RenderScriptGL mRS; 37 if (mRS == null) { 39 mRS = createRenderScriptGL(sc); 40 mRS.setSurface(holder, w, h); 42 mRender.init(mRS, getResources()); 50 if (mRS != null) { 51 mRS = null;
|
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/ |
FountainView.java | 49 private RenderScriptGL mRS; 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;
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
TestAppView.java | 50 private RenderScriptGL mRS; 59 if (mRS == null) { 63 mRS = createRenderScriptGL(sc); 64 mRS.setSurface(holder, w, h); 66 mRender.init(mRS, getResources(), w, h); 72 if (mRS != null) { 74 mRS = null;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
TestBase.java | 39 protected RenderScript mRS; 93 mRS = ipact.mRS; 111 mRS.finish();
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
SamplerThunker.java | 70 RenderScriptThunker mRS; 79 mRS = rs; 131 mRS.validate(); 133 android.renderscript.Sampler.Builder b = new android.renderscript.Sampler.Builder(mRS.mN); 141 SamplerThunker sampler = new SamplerThunker(0, mRS);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
LeakTest.java | 61 ScriptC_leak leak = new ScriptC_leak(mRS); 62 Type t = new Type.Builder(mRS, Element.I32(mRS)).setX(x).create(); 63 Allocation A = Allocation.createTyped(mRS, t); 68 mRS.finish(); 70 mRS.finish();
|
IntrinsicConvolve3x3.java | 34 ScriptIntrinsicConvolve3x3 si = ScriptIntrinsicConvolve3x3.create(mRS, e); 39 ScriptC_intrinsic_convolve3x3 sr = new ScriptC_intrinsic_convolve3x3(mRS); 115 mRS.finish();
|
IntrinsicConvolve5x5.java | 67 mRS.finish(); 85 ScriptIntrinsicConvolve5x5 si = ScriptIntrinsicConvolve5x5.create(mRS, e); 86 ScriptC_intrinsic_convolve5x5 sr = new ScriptC_intrinsic_convolve5x5(mRS);
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RSConvolveTest.java | 51 RenderScript mRS = RenderScript.create(getContext()); 57 Type.Builder build = new Type.Builder(mRS, Element.A_8(mRS)); 60 Allocation rsInput = Allocation.createTyped(mRS, build.create()); 61 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); 63 ScriptIntrinsicConvolve3x3 convolve = ScriptIntrinsicConvolve3x3.create(mRS, Element.A_8(mRS)); 109 RenderScript mRS = RenderScript.create(getContext()); 115 Type.Builder build = new Type.Builder(mRS, Element.A_8(mRS)); [all...] |
/cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/ |
RSSurfaceViewTest.java | 44 view.setRenderScriptGL(mRS); 45 assertEquals(view.getRenderScriptGL(), mRS); 61 view.setRenderScriptGL(mRS);
|
/development/samples/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/ |
HelloCompute.java | 31 private RenderScript mRS; 56 mRS = RenderScript.create(this); 58 mInAllocation = Allocation.createFromBitmap(mRS, mBitmapIn, 61 mOutAllocation = Allocation.createFromBitmap(mRS, mBitmapOut, 65 mScript = new ScriptC_mono(mRS, getResources(), R.raw.mono);
|
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/ |
ComputePerf.java | 31 private RenderScript mRS; 43 mRS = RenderScript.create(this); 44 mLT = new LaunchTest(mRS, getResources()); 59 mMandel = new Mandelbrot(mRS, getResources());
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
RSTest.java | 45 private RenderScript mRS; 53 mRS = RenderScript.create(this); 56 RSTC.init(mRS, getResources());
|
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
FBOSyncRS.java | 36 mRS = rs; 42 mRS.getWidth(); 43 mRS.getHeight(); 47 private RenderScriptGL mRS; 80 ProgramStore.Builder b = new ProgramStore.Builder(mRS); 91 Sampler.Builder bs = new Sampler.Builder(mRS); 98 ProgramFragmentFixedFunction.Builder b = new ProgramFragmentFixedFunction.Builder(mRS); 108 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS); 111 mPVA = new ProgramVertexFixedFunction.Constants(mRS); 118 mGridImage = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot [all...] |
FBOTestRS.java | 36 mRS = rs; 42 mRS.getWidth(); 43 mRS.getHeight(); 47 private RenderScriptGL mRS; 79 ProgramStore.Builder b = new ProgramStore.Builder(mRS); 90 Sampler.Builder bs = new Sampler.Builder(mRS); 97 ProgramFragmentFixedFunction.Builder b = new ProgramFragmentFixedFunction.Builder(mRS); 107 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS); 110 mPVA = new ProgramVertexFixedFunction.Constants(mRS); 117 mGridImage = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot [all...] |
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
SimpleModelRS.java | 33 mRS = rs; 39 mRS.getWidth(); 40 mRS.getHeight(); 44 private RenderScriptGL mRS; 78 ProgramStore.Builder b = new ProgramStore.Builder(mRS); 89 Sampler.Builder bs = new Sampler.Builder(mRS); 96 ProgramFragmentFixedFunction.Builder b = new ProgramFragmentFixedFunction.Builder(mRS); 106 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS); 109 mPVA = new ProgramVertexFixedFunction.Constants(mRS); 116 mGridImage = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot [all...] |
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
ShadersTestRS.java | 44 mRS = rs; 50 initBuffers(mRS.getWidth(), mRS.getHeight()); 54 private RenderScriptGL mRS; 86 ProgramStore.Builder b = new ProgramStore.Builder(mRS); 97 mLinearClamp = Sampler.CLAMP_LINEAR(mRS); 100 mNearestClamp = Sampler.CLAMP_NEAREST(mRS); 103 ProgramFragmentFixedFunction.Builder b = new ProgramFragmentFixedFunction.Builder(mRS); 110 mFSVignetteConst = new ScriptField_VignetteConstants_s(mRS, 1); 115 fs = new ProgramFragment.Builder(mRS); [all...] |
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
TestBase.java | 44 protected RenderScript mRS; 109 mRS = ipact.mRS; 110 mRS.setMessageHandler(new MessageProcessor(act)); 129 mRS.sendMessage(0, null); 133 mRS.finish(); 137 mRS.setMessageHandler(null);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
TestBase.java | 44 protected RenderScript mRS; 111 mRS = ipact.mRS; 112 mRS.setMessageHandler(new MessageProcessor(act)); 135 mRS.finish(); 139 mRS.setMessageHandler(null);
|