/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RSInitTest.java | 35 RenderScript mRS = RenderScript.create(getContext()); 36 mRS.destroy();
|
RSBlurTest.java | 40 RenderScript mRS = RenderScript.create(getContext()); 46 Type.Builder build = new Type.Builder(mRS, Element.A_8(mRS)); 49 Allocation rsInput = Allocation.createTyped(mRS, build.create()); 50 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); 52 ScriptIntrinsicBlur blur = ScriptIntrinsicBlur.create(mRS, Element.A_8(mRS)); 71 RenderScript mRS = RenderScript.create(getContext()); 77 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
RenderScriptTest.java | 31 RenderScript mRS = RenderScript.create(getContext()); 32 ScriptC_passthrough t = new ScriptC_passthrough(mRS, 35 mRS.destroy(); 43 RenderScript mRS = RenderScript.create(null); 48 RenderScript mRS = RenderScript.create(getContext()); 49 mRS.contextDump(); 50 mRS.finish(); 51 assertEquals(mRS.getApplicationContext(), 53 RenderScript.RSErrorHandler mEH = mRS.getErrorHandler(); 54 RenderScript.RSMessageHandler mMH = mRS.getMessageHandler() [all...] |
DebugContext.java | 41 mRS.destroy(); 42 mRS = RenderScript.create(mCtx, RenderScript.ContextType.DEBUG); 43 mRS.setMessageHandler(mRsMessage); 44 mRS.setErrorHandler(mRsError); 46 Soob = new ScriptC_oob(mRS); 48 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); 51 AInt = Allocation.createTyped(mRS, t); 54 AUnused = Allocation.createTyped(mRS, t); 66 mRS.finish() [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
RSSurfaceView.java | 45 private RenderScriptGL mRS; 95 if (mRS != null) { 96 mRS.setSurface(null, 0, 0); 108 if (mRS != null) { 109 mRS.setSurface(holder, w, h); 122 if(mRS != null) { 123 mRS.pause(); 136 if(mRS != null) { 137 mRS.resume(); 155 mRS.destroy() [all...] |
RSTextureView.java | 39 private RenderScriptGL mRS; 79 if (mRS != null) { 80 mRS.setSurfaceTexture(mSurfaceTexture, width, height); 92 if (mRS != null) { 93 mRS.setSurfaceTexture(mSurfaceTexture, width, height); 105 if (mRS != null) { 106 mRS.setSurfaceTexture(null, 0, 0); 129 if(mRS != null) { 130 mRS.pause(); 143 if(mRS != null) [all...] |
BaseObj.java | 30 mRS = rs; 52 mRS.validate(); 59 if ((rs != null) && (rs != mRS)) { 74 RenderScript mRS; 98 mRS.nAssignName(mID, bytes); 123 ReentrantReadWriteLock.ReadLock rlock = mRS.mRWLock.readLock(); 126 if(mRS.isAlive() && mID != 0) { 127 mRS.nObjDestroy(mID); 130 mRS = null; 157 mRS.validate() [all...] |
ProgramRaster.java | 123 RenderScript mRS; 131 mRS = rs; 156 mRS.validate(); 157 int id = mRS.nProgramRasterCreate(mPointSprite, mCullMode.mID); 158 ProgramRaster programRaster = new ProgramRaster(id, mRS);
|
ProgramFragment.java | 67 mRS.validate(); 74 tmp[idx++] = mInputs[i].getID(mRS); 78 tmp[idx++] = mOutputs[i].getID(mRS); 82 tmp[idx++] = mConstants[i].getID(mRS); 90 int id = mRS.nProgramFragmentCreate(mShader, texNames, tmp); 91 ProgramFragment pf = new ProgramFragment(id, mRS);
|
ProgramVertex.java | 128 mRS.validate(); 135 tmp[idx++] = mInputs[i].getID(mRS); 139 tmp[idx++] = mOutputs[i].getID(mRS); 143 tmp[idx++] = mConstants[i].getID(mRS); 151 int id = mRS.nProgramVertexCreate(mShader, texNames, tmp); 152 ProgramVertex pv = new ProgramVertex(id, mRS);
|
/cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/ |
RSBaseGraphics.java | 27 RenderScriptGL mRS; 32 mRS = new RenderScriptGL(mCtx, new SurfaceConfig()); 33 mRS.setMessageHandler(mRsMessage); 38 if (mRS != null) { 39 mRS.destroy(); 40 mRS = null;
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
SimpleAppView.java | 36 private RenderScriptGL mRS; 41 if (mRS == null) { 45 mRS = createRenderScriptGL(sc); 46 mRS.setSurface(holder, w, h); 48 mRender.init(mRS, getResources(), w, h); 54 if (mRS != null) { 56 mRS = null;
|
/frameworks/rs/java/tests/ComputeBenchmark/src/com/example/android/rs/computebench/ |
Benchmark.java | 23 private final RenderScript mRS; 27 mRS = rs; 28 mScript = new ScriptC_compute_benchmark(mRS, res, R.raw.compute_benchmark); 34 mRS.finish();
|
/packages/wallpapers/NoiseField/src/com/android/noisefield/ |
NoiseFieldView.java | 10 private RenderScriptGL mRS; 22 if (mRS == null) { 24 mRS = createRenderScriptGL(sc); 25 mRS.setSurface(holder, w, h); 28 mRender.init(240, mRS, getResources(), w, h); 34 if (mRS != null) { 35 mRS.setSurface(null, 0, 0); 36 mRS = null;
|
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/ |
PhaseBeamView.java | 10 private RenderScriptGL mRS; 22 if (mRS == null) { 24 mRS = createRenderScriptGL(sc); 25 mRS.setSurface(holder, w, h); 28 mRender.init(240, mRS, getResources(), w, h); 35 if (mRS != null) { 36 mRS.setSurface(null, 0, 0); 37 mRS = null;
|
/frameworks/rs/java/tests/MathErr/src/com/example/android/rs/matherr/ |
MathErrActivity.java | 27 private RenderScript mRS; 34 mRS = RenderScript.create(this); 35 mME = new MathErr(mRS);
|
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/ |
LaunchTest.java | 23 private RenderScript mRS; 30 mRS = rs; 31 mScript_xlw = new ScriptC_launchtestxlw(mRS, res, R.raw.launchtestxlw); 32 mScript_xyw = new ScriptC_launchtestxyw(mRS, res, R.raw.launchtestxyw); 46 mRS.finish(); 54 mRS.finish();
|
Mandelbrot.java | 23 private RenderScript mRS; 28 mRS = rs; 29 mScript = new ScriptC_mandelbrot(mRS, res, R.raw.mandelbrot); 40 mRS.finish();
|
/packages/wallpapers/Galaxy4/src/com/android/galaxy4/ |
GalaxyView.java | 16 private RenderScriptGL mRS; 27 if (mRS == null) { 29 mRS = createRenderScriptGL(sc); 30 mRS.setSurface(holder, w, h); 38 mRender.init(metrics.densityDpi, mRS, getResources(), w, h); 46 if (mRS != null) { 47 mRS.setSurface(null, 0, 0); 48 mRS = null;
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
SceneGraphView.java | 49 private RenderScriptGL mRS; 55 if (mRS == null) { 58 mRS = createRenderScriptGL(sc); 59 mRS.setSurface(holder, w, h); 61 mRender.init(mRS, getResources(), w, h); 67 if (mRS != null) { 68 mRS = null;
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
RsBenchView.java | 49 private RenderScriptGL mRS; 55 if (mRS == null) { 58 mRS = createRenderScriptGL(sc); 59 mRS.setSurface(holder, w, h); 62 mRender.init(mRS, getResources(), w, h, mLoops); 68 if (mRS != null) { 69 mRS = null;
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
RSTestView.java | 52 private RenderScriptGL mRS; 57 if (mRS == null) { 59 mRS = createRenderScriptGL(sc); 60 mRS.setSurface(holder, w, h); 62 mRender.init(mRS, getResources(), w, h); 68 if(mRS != null) { 70 mRS = null;
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
RSTestView.java | 52 private RenderScriptGL mRS; 57 if (mRS == null) { 59 mRS = createRenderScriptGL(sc); 60 mRS.setSurface(holder, w, h); 62 mRender.init(mRS, getResources(), w, h); 68 if(mRS != null) { 70 mRS = null;
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
RSTestView.java | 52 private RenderScriptGL mRS; 57 if (mRS == null) { 59 mRS = createRenderScriptGL(sc); 60 mRS.setSurface(holder, w, h); 62 mRender.init(mRS, getResources(), w, h); 68 if(mRS != null) { 70 mRS = null;
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
BaseObj.java | 30 mRS = rs; 52 mRS.validate(); 65 if ((rs != null) && (rs != mRS)) { 83 RenderScript mRS; 87 if(mID != 0 && mRS.isAlive()) { 88 mRS.nObjDestroy(mID); 90 mRS = null; 109 mRS.nObjDestroy(mID);
|