/development/samples/RenderScript/HelloWorld/src/com/example/android/rs/helloworld/ |
HelloWorldRS.java | 27 private ScriptC_helloworld mScript; 41 mScript.set_gTouchX(x); 42 mScript.set_gTouchY(y); 46 mScript = new ScriptC_helloworld(mRS, mRes, R.raw.helloworld); 47 mRS.bindRootScript(mScript);
|
/development/samples/RenderScript/Fountain/src/com/example/android/rs/fountain/ |
FountainRS.java | 32 private ScriptC_fountain mScript; 49 mScript = new ScriptC_fountain(mRS, mRes, R.raw.fountain); 50 mScript.set_partMesh(sm); 51 mScript.bind_point(points); 52 mRS.bindRootScript(mScript); 65 mScript.invoke_addParticles(rate, x, y, id, !holdingColor[id]);
|
/development/samples/RenderScript/MiscSamples/src/com/example/android/rs/miscsamples/ |
RsListRS.java | 91 private ScriptC_rslist mScript; 97 mScript.set_gDY(0.0f); 111 mScript.set_gDY(dy); 119 mScript = new ScriptC_rslist(mRS, mRes, R.raw.rslist); 130 mScript.bind_gList(mListAllocs); 133 mScript.set_gItalic(mItalic); 135 mRS.bindRootScript(mScript);
|
RsRenderStatesRS.java | 118 private ScriptC_rsrenderstates mScript; 128 mScript.set_gDisplayMode(mMode); 186 mScript.set_gProgStoreBlendNoneDepth(mProgStoreBlendNoneDepth); 187 mScript.set_gProgStoreBlendNone(mProgStoreBlendNone); 188 mScript.set_gProgStoreBlendAlpha(mProgStoreBlendAlpha); 189 mScript.set_gProgStoreBlendAdd(mProgStoreBlendAdd); 204 mScript.set_gProgFragmentColor(mProgFragmentColor); 205 mScript.set_gProgFragmentTexture(mProgFragmentTexture); 218 mScript.set_gProgVertex(mProgVertex); 227 mScript.bind_gVSConstants(mVSConst) [all...] |
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
MagicSmokeRS.java | 69 private ScriptC_clouds mScript; 182 if(mScript != null) { 183 mScript.set_gPreset(mWorldState.mPreset); 184 mScript.set_gTextureMask(mWorldState.mTextureMask); 185 mScript.set_gRotate(mWorldState.mRotate); 186 mScript.set_gTextureSwap(mWorldState.mTextureSwap); 187 mScript.set_gProcessTextureMode(mWorldState.mProcessTextureMode); 188 mScript.set_gBackCol(mWorldState.mBackCol); 189 mScript.set_gLowCol(mWorldState.mLowCol); 190 mScript.set_gHighCol(mWorldState.mHighCol) [all...] |
RenderScriptScene.java | 33 protected ScriptC mScript; 44 mScript = createScript(); 68 return mScript; 79 mRS.bindRootScript(mScript);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
GrassRS.java | 62 private ScriptC_grass mScript; 130 mScript.set_gWidth(width); 131 mScript.set_gHeight(height); 132 mScript.invoke_updateBlades(); 140 mScript = new ScriptC_grass(mRS, mResources, R.raw.grass); 149 mScript.set_gBladesCount(BLADES_COUNT); 150 mScript.set_gIndexCount(mIndicies); 151 mScript.set_gWidth(mWidth); 152 mScript.set_gHeight(mHeight); 153 mScript.set_gXOffset(isPreview ? 0.5f : 0.f) [all...] |
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
SceneGraphRS.java | 67 private ScriptC_scenegraph mScript; 87 mScript.set_gRotate(-(float)mRotation); 101 mScript.set_gPFSBackground(mPSBackground); 118 mScript.set_gPFBackground(mPFBackground); 128 mScript.set_gPVBackground(mPVBackground); 135 mScript.set_gTGrid(mGridImage); 141 mScript.set_gTextAlloc(mTextAlloc); 176 mScript = new ScriptC_scenegraph(mRS, mRes, R.raw.scenegraph); 180 mScript.set_gTransformRS(mTransformScript); 194 mScript.set_gTestMesh(mMesh) [all...] |
SimpleModelRS.java | 58 private ScriptC_simplemodel mScript; 62 mScript.invoke_onActionDown(x, y); 66 mScript.invoke_onActionScale(scale); 70 mScript.invoke_onActionMove(x, y); 74 mScript.set_gPostureMatrix(posture); 85 mScript.set_gPFSBackground(mPSBackground); 102 mScript.set_gPFBackground(mPFBackground); 112 mScript.set_gPVBackground(mPVBackground); 119 mScript.set_gTGrid(mGridImage); 125 mScript.set_gTextAlloc(mTextAlloc) [all...] |
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
ShadersTestRS.java | 70 private ScriptC_shaderstest mScript; 74 mScript.invoke_onActionDown(x, y); 78 mScript.invoke_onActionScale(scale); 82 mScript.invoke_onActionMove(x, y); 93 mScript.set_gPFSBackground(mPSBackground); 98 mScript.set_gLinear(mLinearClamp); 101 mScript.set_gNearest(mNearestClamp); 108 mScript.set_gPFBackground(mPFBackground); 111 mScript.bind_gFSVignetteConstants(mFSVignetteConst); 121 mScript.set_gPFVignette(mPFVignette) [all...] |
/packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/ |
GalaxyRS.java | 40 private ScriptC_galaxy mScript; 51 mScript = new ScriptC_galaxy(mRS, mResources, R.raw.galaxy); 52 mScript.set_gIsPreview(isPreview() ? 1 : 0); 54 mScript.set_gXOffset(0.5f); 65 mScript.setTimeZone(TimeZone.getDefault().getID()); 66 return mScript; 78 mScript.set_gParticlesMesh(mParticlesMesh); 79 mScript.bind_Particles(p); 121 mScript.set_gXOffset(xOffset); 132 mScript.set_gTSpace(loadTexture(R.drawable.space)) [all...] |
/development/samples/RenderScript/Balls/src/com/example/android/rs/balls/ |
BallsRS.java | 31 private ScriptC_balls mScript; 114 mScript = new ScriptC_balls(mRS, mRes, R.raw.balls); 115 mScript.set_partMesh(smP); 116 mScript.set_physics_script(mPhysicsScript); 117 mScript.bind_point(mPoints); 118 mScript.bind_balls1(new ScriptField_Ball(mRS, PART_COUNT, Allocation.USAGE_SCRIPT)); 119 mScript.bind_balls2(new ScriptField_Ball(mRS, PART_COUNT, Allocation.USAGE_SCRIPT)); 121 mScript.set_gPFLines(mPFLines); 122 mScript.set_gPFPoints(mPFPoints); 130 mScript.invoke_initParts(width, height) [all...] |
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
FBOSyncRS.java | 64 private ScriptC_fbosync mScript; 68 mScript.invoke_onActionDown(x, y); 72 mScript.invoke_onActionScale(scale); 76 mScript.invoke_onActionMove(x, y); 87 mScript.set_gPFSBackground(mPSBackground); 104 mScript.set_gPFBackground(mPFBackground); 114 mScript.set_gPVBackground(mPVBackground); 121 mScript.set_gTGrid(mGridImage); 127 mScript.set_gTextAlloc(mTextAlloc); 156 mScript.bind_gMeshes(mMeshes) [all...] |
FBOTestRS.java | 63 private ScriptC_fbotest mScript; 67 mScript.invoke_onActionDown(x, y); 71 mScript.invoke_onActionScale(scale); 75 mScript.invoke_onActionMove(x, y); 86 mScript.set_gPFSBackground(mPSBackground); 103 mScript.set_gPFBackground(mPFBackground); 113 mScript.set_gPVBackground(mPVBackground); 120 mScript.set_gTGrid(mGridImage); 126 mScript.set_gTextAlloc(mTextAlloc); 155 mScript.bind_gMeshes(mMeshes) [all...] |
/packages/wallpapers/Basic/src/com/android/wallpaper/ |
RenderScriptScene.java | 31 protected ScriptC mScript; 42 mScript = createScript(); 66 return mScript; 76 mRS.bindRootScript(mScript);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/nexus/ |
NexusRS.java | 48 private ScriptC_nexus mScript; 60 mScript.set_gXOffset(xOffset); 77 mScript = new ScriptC_nexus(mRS, mResources, R.raw.nexus); 84 mScript.set_gTBackground(loadTexture(R.drawable.pyramid_background)); 85 mScript.set_gTPulse(loadTextureARGB(R.drawable.pulse)); 86 mScript.set_gTGlow(loadTextureARGB(R.drawable.glow)); 87 mScript.setTimeZone(TimeZone.getDefault().getID()); 88 mScript.invoke_initPulses(); 89 return mScript; 100 mScript.set_gIsPreview(isPreview() ? 1 : 0) [all...] |
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/ |
RenderScriptScene.java | 32 protected ScriptC mScript; 43 mScript = createScript(); 67 return mScript; 77 mRS.bindRootScript(mScript);
|
/sdk/layoutopt/libs/uix/src/com/android/layoutopt/uix/rules/ |
GroovyRule.java | 37 private final Script mScript; 44 mScript = script; 46 mScript.setBinding(mBinding); 50 return mScript.run();
|
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
RSTestCore.java | 45 private ScriptC_rslist mScript; 63 mScript = new ScriptC_rslist(mRS, mRes, R.raw.rslist); 101 mScript.bind_gList(mListAllocs); 104 mScript.set_gFont(mFont); 106 mRS.bindRootScript(mScript); 155 if (mListAllocs != null && mScript != null && mRS != null) { 158 mScript.bind_gList(mListAllocs); 159 mRS.bindRootScript(mScript); 190 mScript.set_gDY(0.0f); 204 mScript.set_gDY(dy) [all...] |
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
CarouselRS.java | 69 private ScriptC_carousel mScript; 268 mScript = new ScriptC_carousel(mRS, mRes, resId); 292 mScript.invoke_lookAt(eye[0], eye[1], eye[2], at[0], at[1], at[2], up[0], up[1], up[2]); 296 mScript.invoke_setRadius(radius); 300 mScript.set_cardRotation(cardRotation); 304 mScript.set_cardsFaceTangent(faceTangent); 308 mScript.set_swaySensitivity(swaySensitivity); 312 mScript.set_frictionCoeff(frictionCoeff); 316 mScript.set_dragFactor(dragFactor); 320 mScript.set_dragModel(model) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ProgramVertexFixedFunctionTest.java | 28 ScriptC_graphics_runner mScript; 33 mScript = new ScriptC_graphics_runner(mRS, mRes, R.raw.graphics_runner); 34 mRS.bindRootScript(mScript); 75 mScript.invoke_testProgramVertex(pv); 83 mScript.invoke_testProgramVertex(pv);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis4/ |
Visualization4RS.java | 57 ScriptC_vu mScript; 95 mScript = new ScriptC_vu(mRS, mResources, R.raw.vu); 106 mScript.set_gPVBackground(mPVBackground); 112 mScript.set_gTvumeter_background(mTextures[0]); 114 mScript.set_gTvumeter_frame(mTextures[1]); 116 mScript.set_gTvumeter_peak_on(mTextures[2]); 118 mScript.set_gTvumeter_peak_off(mTextures[3]); 120 mScript.set_gTvumeter_needle(mTextures[4]); 122 mScript.set_gTvumeter_black(mTextures[5]); 138 mScript.set_gPFBackground(mPfBackground) [all...] |
/packages/wallpapers/Basic/src/com/android/wallpaper/fall/ |
FallRS.java | 77 private ScriptC_fall mScript; 93 mScript.set_g_xOffset(mWorldState.xOffset); 125 mScript.set_g_glWidth(mWorldState.width); 126 mScript.set_g_glHeight(mWorldState.height); 127 mScript.set_g_rotate(mWorldState.rotate); 129 mScript.invoke_initLeaves(); 138 mScript = new ScriptC_fall(mRS, mResources, R.raw.fall); 147 mScript.setTimeZone(TimeZone.getDefault().getID()); 149 mScript.bind_g_Constants(mConstants); 151 return mScript; [all...] |
/packages/wallpapers/Galaxy4/src/com/android/galaxy4/ |
GalaxyRS.java | 30 private ScriptC_galaxy mScript; 72 mScript = new ScriptC_galaxy(mRS, mRes, R.raw.galaxy); 73 mScript.set_spaceCloudsMesh(spaceCloudsMesh); 74 mScript.bind_spaceClouds(spaceClouds); 75 mScript.set_bgStarsMesh(bgStarsMesh); 76 mScript.bind_bgStars(bgStars); 87 mRS.bindRootScript(mScript); 89 mScript.invoke_positionParticles(); 112 mScript.set_textureSpaceCloud(cloudAllocation); 113 mScript.set_textureFGStar(fgStarAllocation) [all...] |
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/ |
PhaseBeamRS.java | 37 private ScriptC_phasebeam mScript; 79 mScript = new ScriptC_phasebeam(mRS, mRes, R.raw.phasebeam); 80 mScript.set_dotMesh(mDotMesh); 81 mScript.set_beamMesh(mBeamMesh); 82 mScript.bind_dotParticles(mDotParticles); 83 mScript.bind_beamParticles(mBeamParticles); 94 mScript.set_densityDPI(mDensityDPI); 96 mRS.bindRootScript(mScript); 98 mScript.invoke_positionParticles(); 174 mScript.set_gBackgroundMesh(backgroundBuilder.create()) [all...] |