HomeSort by relevance Sort by last modified time
    Searched defs:mRS (Results 51 - 64 of 64) sorted by null

1 23

  /frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
RSTestCore.java 39 private RenderScriptGL mRS;
57 mRS = rs;
63 mScript = new ScriptC_rslist(mRS, mRes, R.raw.rslist);
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/graphics/java/android/renderscript/
Allocation.java 250 int typeID = mRS.nAllocationGetType(getID());
252 mType = new Type(typeID, mRS);
272 mRS.validate();
273 mRS.nAllocationSyncAll(getIDSafe(), srcLocation);
277 mRS.validate();
350 mRS.validate();
361 mRS.validate();
372 mRS.validate();
383 mRS.validate();
395 mRS.validate()
    [all...]
Element.java 635 mRS.nElementGetNativeData(getID(), dataBuffer);
658 mRS.nElementGetSubElements(getID(), subElementIds, mElementNames);
660 mElements[i] = new Element(subElementIds[i], mRS);
802 RenderScript mRS;
814 mRS = rs;
867 mRS.validate();
879 int id = mRS.nElementCreate2(ids, sin, asin);
880 return new Element(id, mRS, ein, sin, asin);
RenderScript.java 775 RenderScript mRS;
789 mRS = rs;
797 mRS.nContextInitToClient(mRS.mContext);
800 int msg = mRS.nContextPeekMessage(mRS.mContext, mAuxData);
808 if (mRS.nContextGetUserMessage(mRS.mContext, rbuf) !
    [all...]
  /packages/wallpapers/Galaxy4/src/com/android/galaxy4/
GalaxyRS.java 29 private RenderScriptGL mRS;
51 mRS = rs;
60 spaceClouds = new ScriptField_Particle(mRS, SPACE_CLOUDSTAR_COUNT);
61 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS);
66 bgStars = new ScriptField_Particle(mRS, BG_STAR_COUNT);
67 Mesh.AllocationBuilder smb2 = new Mesh.AllocationBuilder(mRS);
72 mScript = new ScriptC_galaxy(mRS, mRes, R.raw.galaxy);
78 mPvConsts = new ScriptField_VpConsts(mRS, 1);
87 mRS.bindRootScript(mScript);
97 final Allocation allocation = Allocation.createFromBitmapResource(mRS, mRes, id)
    [all...]
  /packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/
HoloSpiralRS.java 65 private RenderScriptGL mRS = null;
73 mRS = renderer;
88 mRS.bindRootScript(mScript);
92 mRS.bindRootScript(null);
100 mScript = new ScriptC_holo_spiral(mRS, mResources, R.raw.holo_spiral);
115 new ScriptField_VertexShaderConstants_s(mRS, 1);
120 ProgramVertex.Builder backgroundBuilder = new ProgramVertex.Builder(mRS);
122 backgroundBuilder.addInput(ScriptField_VertexColor_s.createElement(mRS));
126 ProgramVertex.Builder geometryBuilder = new ProgramVertex.Builder(mRS);
129 geometryBuilder.addInput(ScriptField_VertexColor_s.createElement(mRS));
    [all...]
  /packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/
MagicSmokeRS.java 159 mRS.finish();
270 mRealTextures[index] = Allocation.createTyped(mRS, mTextureType,
274 mSourceTextures[index] = Allocation.createTyped(mRS, mTextureType,
327 mScript = new ScriptC_clouds(mRS, mResources, R.raw.clouds);
329 mVSConst = new ScriptField_VertexShaderConstants_s(mRS, 1);
333 ProgramVertex.Builder builder = new ProgramVertex.Builder(mRS);
336 builder.addInput(ScriptField_VertexInputs_s.createElement(mRS));
351 Type.Builder tb = new Type.Builder(mRS, Element.RGBA_8888(mRS));
357 Sampler.Builder samplerBuilder = new Sampler.Builder(mRS);
    [all...]
  /packages/wallpapers/NoiseField/src/com/android/noisefield/
NoiseFieldRS.java 28 private RenderScriptGL mRS;
45 mRS = rs;
54 Mesh.AllocationBuilder smb2 = new Mesh.AllocationBuilder(mRS);
56 mDotParticles = new ScriptField_Particle(mRS, 150);
60 mScript = new ScriptC_noisefield(mRS, mRes, R.raw.noisefield);
67 mPvConsts = new ScriptField_VpConsts(mRS, 1);
116 mVertexColors = new ScriptField_VertexColor_s(mRS, 48);
228 Mesh.AllocationBuilder backgroundBuilder = new Mesh.AllocationBuilder(mRS);
237 final Allocation allocation = Allocation.createFromBitmapResource(mRS, mRes, id);
247 ProgramVertex.Builder backgroundBuilder = new ProgramVertex.Builder(mRS);
    [all...]
  /packages/wallpapers/PhaseBeam/src/com/android/phasebeam/
PhaseBeamRS.java 36 private RenderScriptGL mRS;
61 mRS = rs;
67 mDotParticles = new ScriptField_Particle(mRS, DOT_COUNT);
68 Mesh.AllocationBuilder smb2 = new Mesh.AllocationBuilder(mRS);
73 mBeamParticles = new ScriptField_Particle(mRS, DOT_COUNT);
74 Mesh.AllocationBuilder smb3 = new Mesh.AllocationBuilder(mRS);
79 mScript = new ScriptC_phasebeam(mRS, mRes, R.raw.phasebeam);
85 mPvConsts = new ScriptField_VpConsts(mRS, 1);
96 mRS.bindRootScript(mScript);
157 mVertexColors = new ScriptField_VertexColor_s(mRS, meshDataSize)
    [all...]
  /development/samples/RenderScript/MiscSamples/src/com/example/android/rs/miscsamples/
RsRenderStatesRS.java 41 mRS = rs;
42 mWidth = mRS.getWidth();
43 mHeight = mRS.getHeight();
53 mWidth = mRS.getWidth();
54 mHeight = mRS.getHeight();
62 private RenderScriptGL mRS;
142 Mesh.TriangleMeshBuilder tmb = new Mesh.TriangleMeshBuilder(mRS,
172 mProgStoreBlendNoneDepth = ProgramStore.BLEND_NONE_DEPTH_TEST(mRS);
173 mProgStoreBlendNone = ProgramStore.BLEND_NONE_DEPTH_NONE(mRS);
176 ProgramStore.Builder builder = new ProgramStore.Builder(mRS);
    [all...]
  /frameworks/ex/carousel/java/com/android/ex/carousel/
CarouselController.java 50 private RenderScriptGL mRS;
103 mRS = rs;
371 // Also check against mRS, to handle the case where the result is being delivered by a
373 if (mRenderScript != null && mRS != null) {
396 if (mRenderScript != null && mRS != null) {
414 if (mRenderScript != null && mRS != null) {
430 if (mRenderScript != null && mRS != null) {
CarouselView.java 44 private RenderScriptGL mRS;
154 if (mRS == null) {
159 mRS = createRenderScriptGL(sc);
162 mRenderScript = new CarouselRS(mRS, mContext.getResources(),
166 mController.setRS(mRS, mRenderScript);
182 mController.setRS(mRS, mRenderScript);
559 if (mRS != null) {
560 mRS = null;
563 mController.setRS(mRS, mRenderScript);
CarouselRS.java 67 private RenderScriptGL mRS;
264 mRS = rs;
268 mScript = new ScriptC_carousel(mRS, mRes, resId);
269 mRS.setMessageHandler(mRsMessage);
354 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS);
356 ProgramVertexFixedFunction.Constants pva = new ProgramVertexFixedFunction.Constants(mRS);
365 ProgramRaster.Builder programRasterBuilder = new ProgramRaster.Builder(mRS);
375 ProgramFragment.Builder pfbSingle = new ProgramFragment.Builder(mRS);
382 mSingleTextureFragmentProgram.bindSampler(Sampler.CLAMP_LINEAR(mRS), 0);
387 mFSConst = new ScriptField_FragmentShaderConstants_s(mRS, 1)
    [all...]
  /frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
RsBenchRS.java 67 mRS = rs;
85 private RenderScriptGL mRS;
239 Mesh.TriangleMeshBuilder tmb = new Mesh.TriangleMeshBuilder(mRS,
271 Mesh.TriangleMeshBuilder tmb = new Mesh.TriangleMeshBuilder(mRS,
290 mProgStoreBlendNoneDepth = ProgramStore.BLEND_NONE_DEPTH_TEST(mRS);
291 mProgStoreBlendNone = ProgramStore.BLEND_NONE_DEPTH_NONE(mRS);
294 ProgramStore.Builder builder = new ProgramStore.Builder(mRS);
302 mProgStoreBlendAdd = BLEND_ADD_DEPTH_NONE(mRS);
311 builder = new ProgramStore.Builder(mRS);
313 mRS.bindProgramStore(builder.create())
    [all...]

Completed in 563 milliseconds

1 23