/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RS3DLUTTest.java | 44 RenderScript mRS = RenderScript.create(getContext()); 55 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); 58 Allocation rsInput = Allocation.createTyped(mRS, build.create()); 59 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); 62 Type.Builder buildCube = new Type.Builder(mRS, Element.RGBA_8888(mRS)); 66 Allocation cube = Allocation.createTyped(mRS, build.create()); 68 ScriptIntrinsic3DLUT lut = ScriptIntrinsic3DLUT.create(mRS, Element.RGBA_8888(mRS)); [all...] |
RSLUTTest.java | 40 RenderScript mRS = RenderScript.create(getContext()); 46 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); 49 Allocation rsInput = Allocation.createTyped(mRS, build.create()); 50 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); 52 ScriptIntrinsicLUT lut = ScriptIntrinsicLUT.create(mRS, Element.RGBA_8888(mRS));
|
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/ |
FountainRS.java | 31 private RenderScriptGL mRS; 34 mRS = rs; 41 ScriptField_Point points = new ScriptField_Point(mRS, PART_COUNT);// 44 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS); 49 mScript = new ScriptC_fountain(mRS, mRes, R.raw.fountain); 52 mRS.bindRootScript(mScript);
|
/frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/ |
FountainFboRS.java | 35 private RenderScriptGL mRS; 41 mRS = rs; 44 ScriptField_Point points = new ScriptField_Point(mRS, PART_COUNT); 46 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS); 51 mScript = new ScriptC_fountainfbo(mRS, mRes, R.raw.fountainfbo); 69 Type.Builder colorBuilder = new Type.Builder(mRS, Element.RGBA_8888(mRS)); 71 mColorBuffer = Allocation.createTyped(mRS, colorBuilder.create(), 78 mRS.bindRootScript(mScript);
|
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/ |
FountainRS.java | 31 private RenderScriptGL mRS; 34 mRS = rs; 41 ScriptField_Point points = new ScriptField_Point(mRS, PART_COUNT);// 44 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS); 49 mScript = new ScriptC_fountain(mRS, mRes, R.raw.fountain); 52 mRS.bindRootScript(mScript);
|
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/ |
RsListRS.java | 80 mRS = rs; 86 private RenderScriptGL mRS; 119 mScript = new ScriptC_rslist(mRS, mRes, R.raw.rslist); 121 mListAllocs = new ScriptField_ListAllocs_s(mRS, DATA_LIST.length); 124 listElem.text = Allocation.createFromString(mRS, DATA_LIST[i], Allocation.USAGE_SCRIPT); 132 mItalic = Font.create(mRS, mRes, "serif", Font.Style.BOLD_ITALIC, 8); 135 mRS.bindRootScript(mScript);
|
RsListView.java | 31 private RenderScriptGL mRS; 35 if (mRS == null) { 37 mRS = createRenderScriptGL(sc); 39 mRender.init(mRS, getResources()); 52 if (mRS != null) { 53 mRS = null;
|
RsRenderStatesView.java | 33 private RenderScriptGL mRS; 37 if (mRS == null) { 40 mRS = createRenderScriptGL(sc); 42 mRender.init(mRS, getResources()); 61 if (mRS != null) { 62 mRS = null;
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
TextTest.java | 30 private RenderScriptGL mRS; 48 mTests[index].testName = Allocation.createFromString(mRS, 51 mTests[index].debugName = RsBenchRS.createZeroTerminatedAlloc(mRS, 57 ScriptField_TextTestData_s testData = new ScriptField_TextTestData_s(mRS, 1); 63 mRS = rs; 87 mTextScript = new ScriptC_text_test(mRS, mRes, R.raw.text_test); 88 mTextScript.set_gFontSans(Font.create(mRS, mRes, "sans-serif", 90 mTextScript.set_gFontSerif(Font.create(mRS, mRes, "serif",
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
Mandelbrot.java | 86 mScript = new ScriptC_mandelbrot(mRS, res, R.raw.mandelbrot); 94 mRS.finish();
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
Mandelbrot.java | 80 mScript = new ScriptC_mandelbrot(mRS, res, R.raw.mandelbrot); 88 mRS.finish();
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
Mandelbrot.java | 86 mScript = new ScriptC_mandelbrot(mRS, res, R.raw.mandelbrot); 94 mRS.finish();
|
/frameworks/rs/java/tests/MathErr/src/com/example/android/rs/matherr/ |
MathErr.java | 25 private RenderScript mRS; 37 mRS = rs; 38 mScript = new ScriptC_math_err(mRS);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/ |
RenderScriptScene.java | 30 protected RenderScriptGL mRS; 39 mRS = rs; 62 return mRS; 72 mRS.bindRootScript(null); 76 mRS.bindRootScript(mScript);
|
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
RenderScriptScene.java | 32 protected RenderScriptGL mRS; 41 mRS = rs; 64 return mRS; 74 mRS.bindRootScript(null); 79 mRS.bindRootScript(mScript);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/ |
RenderScriptScene.java | 31 protected RenderScriptGL mRS; 40 mRS = rs; 63 return mRS; 73 mRS.bindRootScript(null); 77 mRS.bindRootScript(mScript);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
RSBaseCompute.java | 30 RenderScript mRS; 45 mRS = RenderScript.create(mCtx); 46 mRS.setMessageHandler(mRsMessage); 51 if (mRS != null) { 52 mRS.destroy(); 53 mRS = null; 115 baseTestHelper(TEST_F32, Element.F32(mRS), Element.F32(mRS), seed, 1, 0, 1, 0, 1, 1, 1, 0, ulp); 119 baseTestHelper(TEST_F32_2, Element.F32_2(mRS), Element.F32_2(mRS), seed, 1, 0, 1, 0, 2, 2, 2, 0, ulp) [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
FileA3D.java | 81 RenderScript mRS; 118 mRS.validate(); 119 BaseObj obj = internalCreate(mRS, this); 160 mRS = rs; 178 int numFileEntries = mRS.nFileA3DGetNumIndexEntries(getID(mRS)); 187 mRS.nFileA3DGetIndexEntries(getID(mRS), numFileEntries, ids, names); 190 mFileEntries[i] = new IndexEntry(mRS, i, getID(mRS), names[i], EntryType.toEntryType(ids[i])) [all...] |
Program.java | 150 a.getType().getID(mRS) != mConstants[slot].getID(mRS)) { 153 int id = a != null ? a.getID(mRS) : 0; 154 mRS.nProgramBindConstants(getID(mRS), slot, id); 166 mRS.validate(); 175 int id = va != null ? va.getID(mRS) : 0; 176 mRS.nProgramBindTexture(getID(mRS), slot, id); 190 mRS.validate() [all...] |
ProgramFragmentFixedFunction.java | 54 mRS.validate(); 61 tmp[idx++] = mInputs[i].getID(mRS); 65 tmp[idx++] = mOutputs[i].getID(mRS); 69 tmp[idx++] = mConstants[i].getID(mRS); 77 int id = mRS.nProgramFragmentCreate(mShader, texNames, tmp); 78 ProgramFragmentFixedFunction pf = new ProgramFragmentFixedFunction(id, mRS); 96 RenderScript mRS; 235 mRS = rs; 295 InternalBuilder sb = new InternalBuilder(mRS); 307 Element.Builder b = new Element.Builder(mRS); [all...] |
ProgramStore.java | 323 RenderScript mRS; 335 mRS = rs; 423 mRS.validate(); 424 int id = mRS.nProgramStoreCreate(mColorMaskR, mColorMaskG, mColorMaskB, mColorMaskA, 427 ProgramStore programStore = new ProgramStore(id, mRS);
|
ProgramVertexFixedFunction.java | 46 mRS.validate(); 81 mRS.validate(); 88 tmp[idx++] = mInputs[i].getID(mRS); 92 tmp[idx++] = mOutputs[i].getID(mRS); 96 tmp[idx++] = mConstants[i].getID(mRS); 104 int id = mRS.nProgramVertexCreate(mShader, texNames, tmp); 105 ProgramVertexFixedFunction pv = new ProgramVertexFixedFunction(id, mRS); 117 RenderScript mRS; 126 mRS = rs; 180 InternalBuilder sb = new InternalBuilder(mRS); [all...] |
Sampler.java | 287 RenderScript mRS; 296 mRS = rs; 349 mRS.validate(); 350 int id = mRS.nSamplerCreate(mMag.mID, mMin.mID, 352 Sampler sampler = new Sampler(id, mRS);
|
ScriptGroup.java | 109 mRS.nScriptGroupSetInput(getID(mRS), s.getID(mRS), mRS.safeID(a)); 129 mRS.nScriptGroupSetOutput(getID(mRS), s.getID(mRS), mRS.safeID(a)); 142 mRS.nScriptGroupExecute(getID(mRS)); [all...] |
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
BallsView.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); 66 if(mRS != null) { 67 mRS = null; 108 if ((mRender == null) || (mRS == null)) {
|