/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...] |
RSBaseCompute.java | 26 RenderScript mRS; 31 mRS = RenderScript.create(mCtx); 32 mRS.setMessageHandler(mRsMessage); 37 if (mRS != null) { 38 mRS.destroy(); 39 mRS = null;
|
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;
|
RSSurfaceViewTest.java | 44 view.setRenderScriptGL(mRS); 45 assertEquals(view.getRenderScriptGL(), mRS); 61 view.setRenderScriptGL(mRS);
|
/frameworks/base/graphics/java/android/renderscript/ |
RSSurfaceView.java | 37 private RenderScriptGL mRS; 82 if (mRS != null) { 83 mRS.setSurface(null, 0, 0); 92 if (mRS != null) { 93 mRS.setSurface(holder, w, h); 104 if(mRS != null) { 105 mRS.pause(); 117 if(mRS != null) { 118 mRS.resume(); 129 mRS.destroy() [all...] |
RSTextureView.java | 37 private RenderScriptGL mRS; 72 if (mRS != null) { 73 mRS.setSurfaceTexture(mSurfaceTexture, width, height); 82 if (mRS != null) { 83 mRS.setSurfaceTexture(mSurfaceTexture, width, height); 92 if (mRS != null) { 93 mRS.setSurfaceTexture(null, 0, 0); 112 if(mRS != null) { 113 mRS.pause(); 125 if(mRS != null) [all...] |
BaseObj.java | 30 mRS = rs; 68 RenderScript mRS; 93 mRS.nAssignName(mID, bytes); 109 if(mID != 0 && mRS.isAlive()) { 110 mRS.nObjDestroy(mID); 112 mRS = null; 132 mRS.nObjDestroy(mID); 140 mRS.validate(); 141 mName = mRS.nGetName(getID());
|
ProgramRaster.java | 85 RenderScript mRS; 90 mRS = rs; 106 mRS.validate(); 107 int id = mRS.nProgramRasterCreate(mPointSprite, mCullMode.mID); 108 return new ProgramRaster(id, mRS);
|
ProgramFragment.java | 60 mRS.validate(); 81 int id = mRS.nProgramFragmentCreate(mShader, tmp); 82 ProgramFragment pf = new ProgramFragment(id, mRS);
|
ProgramVertex.java | 100 mRS.validate(); 121 int id = mRS.nProgramVertexCreate(mShader, tmp); 122 ProgramVertex pv = new ProgramVertex(id, mRS);
|
Sampler.java | 181 RenderScript mRS; 190 mRS = rs; 243 mRS.validate(); 244 int id = mRS.nSamplerCreate(mMag.mID, mMin.mID, mWrapS.mID, mWrapT.mID, mWrapR.mID, mAniso); 245 return new Sampler(id, mRS);
|
Script.java | 29 mRS.nScriptInvoke(getID(), slot); 40 mRS.nScriptInvokeV(getID(), slot, v.getData()); 42 mRS.nScriptInvoke(getID(), slot); 71 mRS.nScriptForEach(getID(), slot, in_id, out_id, params); 87 mRS.validate(); 89 mRS.nScriptBindAllocation(getID(), va.getID(), slot); 91 mRS.nScriptBindAllocation(getID(), 0, slot); 102 mRS.nScriptSetVarF(getID(), index, v); 112 mRS.nScriptSetVarD(getID(), index, v); 122 mRS.nScriptSetVarI(getID(), index, v) [all...] |
/packages/wallpapers/Galaxy4/src/com/android/galaxy4/ |
GalaxyView.java | 12 private RenderScriptGL mRS; 25 if (mRS == null) { 27 mRS = createRenderScriptGL(sc); 28 mRS.setSurface(holder, w, h); 31 mRender.init(mRS, getResources(), w, h); 38 if (mRS != null) { 39 mRS.setSurface(null, 0, 0); 40 mRS = null;
|
/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); 35 if (mRS != null) { 36 mRS.setSurface(null, 0, 0); 37 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/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;
|
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/tests/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;
|
/development/samples/RenderScript/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/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;
|
/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.createTyped(mRS, mInAllocation.getType()); 63 mScript = new ScriptC_mono(mRS, getResources(), R.raw.mono);
|
/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/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...] |