/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | Blur25.java | 71 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 D | Grain.java | 78 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS)); 81 mNoise = Allocation.createTyped(mRS, tb.create()); 82 mNoise2 = Allocation.createTyped(mRS, tb.create()); 84 mScript = new ScriptC_grain(mRS);
|
H A D | Resize.java | 49 Type t = Type.createXY(mRS, mInPixelsAllocation.getElement(), 51 mScratchAllocation = Allocation.createTyped(mRS, t); 54 mScript = new ScriptC_resize(mRS); 68 mIntrinsic = ScriptIntrinsicResize.create(mRS);
|
H A D | WhiteBalance.java | 26 mScript = new ScriptC_wbalance(mRS);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | FileA3D.java | 76 RenderScript mRS; field in class:FileA3D.IndexEntry 113 mRS.validate(); 114 BaseObj obj = internalCreate(mRS, this); 155 mRS = rs; 173 int numFileEntries = mRS.nFileA3DGetNumIndexEntries(getID(mRS)); 182 mRS.nFileA3DGetIndexEntries(getID(mRS), numFileEntries, ids, names); 185 mFileEntries[i] = new IndexEntry(mRS, i, getID(mRS), name [all...] |
H A D | ProgramRaster.java | 120 RenderScript mRS; field in class:ProgramRaster.Builder 128 mRS = rs; 153 mRS.validate(); 154 long id = mRS.nProgramRasterCreate(mPointSprite, mCullMode.mID); 155 ProgramRaster programRaster = new ProgramRaster(id, mRS);
|
H A D | Program.java | 150 a.getType().getID(mRS) != mConstants[slot].getID(mRS)) { 153 long id = a != null ? a.getID(mRS) : 0; 154 mRS.nProgramBindConstants(getID(mRS), slot, id); 166 mRS.validate(); 175 long id = va != null ? va.getID(mRS) : 0; 176 mRS.nProgramBindTexture(getID(mRS), slot, id); 190 mRS 201 RenderScript mRS; field in class:Program.BaseProgramBuilder [all...] |
H A D | Mesh.java | 152 int vtxCount = mRS.nMeshGetVertexBufferCount(getID(mRS)); 153 int idxCount = mRS.nMeshGetIndexCount(getID(mRS)); 159 mRS.nMeshGetVertices(getID(mRS), vtxIDs, vtxCount); 160 mRS.nMeshGetIndices(getID(mRS), idxIDs, primitives, idxCount); 168 mVertexBuffers[i] = new Allocation(vtxIDs[i], mRS, null, Allocation.USAGE_SCRIPT); 175 mIndexBuffers[i] = new Allocation(idxIDs[i], mRS, nul 190 RenderScript mRS; field in class:Mesh.Builder 405 RenderScript mRS; field in class:Mesh.AllocationBuilder 553 RenderScript mRS; field in class:Mesh.TriangleMeshBuilder [all...] |
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | Grain.java | 73 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS)); 76 mNoise = Allocation.createTyped(mRS, tb.create()); 77 mNoise2 = Allocation.createTyped(mRS, tb.create()); 79 mScript = new ScriptC_grain(mRS);
|
H A D | Resize.java | 49 Type t = Type.createXY(mRS, mInPixelsAllocation.getElement(), 51 mScratchAllocation = Allocation.createTyped(mRS, t); 54 mScript = new ScriptC_resize(mRS); 68 mIntrinsic = ScriptIntrinsicResize.create(mRS);
|
H A D | Vibrance.java | 27 mScript = new ScriptC_vibrance(mRS);
|
H A D | ColorMatrix.java | 49 mIntrinsic = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); 56 mScript = new ScriptC_colormatrix(mRS);
|
H A D | Convolve3x3.java | 53 mIntrinsic = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS)); 57 mScript = new ScriptC_convolve3x3(mRS);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | Grain.java | 68 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS)); 71 mNoise = Allocation.createTyped(mRS, tb.create()); 72 mNoise2 = Allocation.createTyped(mRS, tb.create()); 74 mScript = new ScriptC_grain(mRS);
|
H A D | Convolve3x3.java | 46 mIntrinsic = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS)); 50 mScript = new ScriptC_ip2_convolve3x3(mRS);
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
H A D | RSTestCore.java | 39 private RenderScriptGL mRS; field in class:RSTestCore 57 mRS = rs; 63 mScript = new ScriptC_rslist(mRS); 86 mListAllocs = new ScriptField_ListAllocs_s(mRS, uta.length); 89 listElem.text = Allocation.createFromString(mRS, uta[i].name, Allocation.USAGE_SCRIPT); 99 mFont = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8); 102 mRS.bindRootScript(mScript); 151 if (mListAllocs != null && mScript != null && mRS != null) { 155 mRS.bindRootScript(mScript);
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
H A D | RSTestCore.java | 39 private RenderScriptGL mRS; field in class:RSTestCore 57 mRS = rs; 63 mScript = new ScriptC_rslist(mRS); 90 mListAllocs = new ScriptField_ListAllocs_s(mRS, uta.length); 93 listElem.text = Allocation.createFromString(mRS, uta[i].name, Allocation.USAGE_SCRIPT); 103 mFont = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8); 106 mRS.bindRootScript(mScript); 155 if (mListAllocs != null && mScript != null && mRS != null) { 159 mRS.bindRootScript(mScript);
|
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
H A D | RSTestCore.java | 39 private RenderScriptGL mRS; field in class:RSTestCore 57 mRS = rs; 63 mScript = new ScriptC_rslist(mRS); 90 mListAllocs = new ScriptField_ListAllocs_s(mRS, uta.length); 93 listElem.text = Allocation.createFromString(mRS, uta[i].name, Allocation.USAGE_SCRIPT); 103 mFont = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8); 106 mRS.bindRootScript(mScript); 155 if (mListAllocs != null && mScript != null && mRS != null) { 159 mRS.bindRootScript(mScript);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
H A D | TestAppRS.java | 63 private RenderScriptGL mRS; field in class:TestAppRS 84 mActiveScene.initRenderPassRS(mRS, mSceneManager); 96 mRS = rs; 105 mSceneManager.initRS(mRS, mRes, mWidth, mHeight); 107 mLoadingScreen = new TestAppLoadingScreen(mRS, mRes); 110 FullscreenBlur.createRenderTargets(mRS, mWidth, mHeight); 137 FragmentShader.Builder fb = new FragmentShader.Builder(mRS); 145 pf.getProgram().bindSampler(Sampler.WRAP_LINEAR_MIP_LINEAR(mRS), 0); 147 pf.getProgram().bindSampler(Sampler.CLAMP_LINEAR_MIP_LINEAR(mRS), 1); 155 ScriptField_CameraParams camParams = new ScriptField_CameraParams(mRS, [all...] |
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
H A D | FBOSyncView.java | 30 private RenderScriptGL mRS; field in class:FBOSyncView 45 if (mRS == null) { 48 mRS = createRenderScriptGL(sc); 50 mRender.init(mRS, getResources()); 69 if (mRS != null) { 70 mRS = null;
|
H A D | FBOTestView.java | 30 private RenderScriptGL mRS; field in class:FBOTestView 45 if (mRS == null) { 48 mRS = createRenderScriptGL(sc); 50 mRender.init(mRS, getResources()); 69 if (mRS != null) { 70 mRS = null;
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
H A D | ShadersTestView.java | 28 private RenderScriptGL mRS; field in class:ShadersTestView 43 if (mRS == null) { 46 mRS = createRenderScriptGL(sc); 48 mRender.init(mRS, getResources()); 67 if (mRS != null) { 68 mRS = null;
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | MeshTest.java | 39 private RenderScriptGL mRS; field in class:MeshTest 69 mTests[index].testName = Allocation.createFromString(mRS, 72 mTests[index].debugName = RsBenchRS.createZeroTerminatedAlloc(mRS, 78 ScriptField_MeshTestData_s testData = new ScriptField_MeshTestData_s(mRS, 1); 84 mRS = rs; 107 Mesh.TriangleMeshBuilder tmb = new Mesh.TriangleMeshBuilder(mRS, 136 return Allocation.createFromBitmapResource(mRS, mRes, id, 142 mGeoScript = new ScriptC_mesh_test(mRS, mRes, R.raw.mesh_test); 144 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS); 146 ProgramVertexFixedFunction.Constants PVA = new ProgramVertexFixedFunction.Constants(mRS); [all...] |
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
H A D | SgTransform.java | 49 RenderScript mRS; field in class:SgTransform 83 mRS = rs; 91 mChildField = new ScriptField_SgTransform(mRS, mChildren.size()); 105 mTransformField = new ScriptField_SgTransform(mRS, 1);
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | ErrorCalculator.java | 35 private RenderScript mRS; field in class:ErrorCalculator 52 mRS = RenderScript.create(c); 57 mScript = new ScriptC_errorCalculator(mRS); 62 mInputRowsAllocation = Allocation.createSized(mRS, Element.I32(mRS), rowIndices.length, 65 mOutputRegionsAllocation = Allocation.createSized(mRS, Element.I32(mRS), 77 mIdealPixelsAllocation = Allocation.createFromBitmap(mRS, ideal, 79 mGivenPixelsAllocation = Allocation.createFromBitmap(mRS, given, 118 mIdealPixelsAllocation = Allocation.createFromBitmap(mRS, idea [all...] |