/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/ |
D | RsRenderStatesRS.java | 118 private ScriptC_rsrenderstates mScript; field in RsRenderStatesRS 128 mScript.set_gDisplayMode(mMode); in onActionDown() 186 mScript.set_gProgStoreBlendNoneDepth(mProgStoreBlendNoneDepth); in initProgramStore() 187 mScript.set_gProgStoreBlendNone(mProgStoreBlendNone); in initProgramStore() 188 mScript.set_gProgStoreBlendAlpha(mProgStoreBlendAlpha); in initProgramStore() 189 mScript.set_gProgStoreBlendAdd(mProgStoreBlendAdd); in initProgramStore() 204 mScript.set_gProgFragmentColor(mProgFragmentColor); in initProgramFragment() 205 mScript.set_gProgFragmentTexture(mProgFragmentTexture); in initProgramFragment() 218 mScript.set_gProgVertex(mProgVertex); in initProgramVertex() 227 mScript.bind_gVSConstants(mVSConst); in initCustomShaders() [all …]
|
D | RsListRS.java | 91 private ScriptC_rslist mScript; field in RsListRS 97 mScript.set_gDY(0.0f); in onActionDown() 111 mScript.set_gDY(dy); in onActionMove() 119 mScript = new ScriptC_rslist(mRS, mRes, R.raw.rslist); in initRS() 130 mScript.bind_gList(mListAllocs); in initRS() 133 mScript.set_gItalic(mItalic); in initRS() 135 mRS.bindRootScript(mScript); in initRS()
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
D | CarouselRS.java | 69 private ScriptC_carousel mScript; field in CarouselRS 268 mScript = new ScriptC_carousel(mRS, mRes, resId); in CarouselRS() 292 mScript.invoke_lookAt(eye[0], eye[1], eye[2], at[0], at[1], at[2], up[0], up[1], up[2]); in setLookAt() 296 mScript.invoke_setRadius(radius); in setRadius() 300 mScript.set_cardRotation(cardRotation); in setCardRotation() 304 mScript.set_cardsFaceTangent(faceTangent); in setCardsFaceTangent() 308 mScript.set_swaySensitivity(swaySensitivity); in setSwaySensitivity() 312 mScript.set_frictionCoeff(frictionCoeff); in setFrictionCoefficient() 316 mScript.set_dragFactor(dragFactor); in setDragFactor() 320 mScript.set_dragModel(model); in setDragModel() [all …]
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
D | ShadersTestRS.java | 70 private ScriptC_shaderstest mScript; field in ShadersTestRS 74 mScript.invoke_onActionDown(x, y); in onActionDown() 78 mScript.invoke_onActionScale(scale); in onActionScale() 82 mScript.invoke_onActionMove(x, y); in onActionMove() 93 mScript.set_gPFSBackground(mPSBackground); in initPFS() 98 mScript.set_gLinear(mLinearClamp); in initPF() 101 mScript.set_gNearest(mNearestClamp); in initPF() 108 mScript.set_gPFBackground(mPFBackground); in initPF() 111 mScript.bind_gFSVignetteConstants(mFSVignetteConst); in initPF() 121 mScript.set_gPFVignette(mPFVignette); in initPF() [all …]
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
D | SceneGraphRS.java | 67 private ScriptC_scenegraph mScript; field in SceneGraphRS 87 mScript.set_gRotate(-(float)mRotation); in touchEvent() 101 mScript.set_gPFSBackground(mPSBackground); in initPFS() 118 mScript.set_gPFBackground(mPFBackground); in initPF() 128 mScript.set_gPVBackground(mPVBackground); in initPV() 135 mScript.set_gTGrid(mGridImage); in loadImage() 141 mScript.set_gTextAlloc(mTextAlloc); in initTextAllocation() 176 mScript = new ScriptC_scenegraph(mRS, mRes, R.raw.scenegraph); in initRS() 180 mScript.set_gTransformRS(mTransformScript); in initRS() 194 mScript.set_gTestMesh(mMesh); in initRS() [all …]
|
D | SimpleModelRS.java | 58 private ScriptC_simplemodel mScript; field in SimpleModelRS 62 mScript.invoke_onActionDown(x, y); in onActionDown() 66 mScript.invoke_onActionScale(scale); in onActionScale() 70 mScript.invoke_onActionMove(x, y); in onActionMove() 74 mScript.set_gPostureMatrix(posture); in onPostureChanged() 85 mScript.set_gPFSBackground(mPSBackground); in initPFS() 102 mScript.set_gPFBackground(mPFBackground); in initPF() 112 mScript.set_gPVBackground(mPVBackground); in initPV() 119 mScript.set_gTGrid(mGridImage); in loadImage() 125 mScript.set_gTextAlloc(mTextAlloc); in initTextAllocation() [all …]
|
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
D | FBOSyncRS.java | 64 private ScriptC_fbosync mScript; field in FBOSyncRS 68 mScript.invoke_onActionDown(x, y); in onActionDown() 72 mScript.invoke_onActionScale(scale); in onActionScale() 76 mScript.invoke_onActionMove(x, y); in onActionMove() 87 mScript.set_gPFSBackground(mPSBackground); in initPFS() 104 mScript.set_gPFBackground(mPFBackground); in initPF() 114 mScript.set_gPVBackground(mPVBackground); in initPV() 121 mScript.set_gTGrid(mGridImage); in loadImage() 127 mScript.set_gTextAlloc(mTextAlloc); in initTextAllocation() 156 mScript.bind_gMeshes(mMeshes); in initMeshes() [all …]
|
D | FBOTestRS.java | 63 private ScriptC_fbotest mScript; field in FBOTestRS 67 mScript.invoke_onActionDown(x, y); in onActionDown() 71 mScript.invoke_onActionScale(scale); in onActionScale() 75 mScript.invoke_onActionMove(x, y); in onActionMove() 86 mScript.set_gPFSBackground(mPSBackground); in initPFS() 103 mScript.set_gPFBackground(mPFBackground); in initPF() 113 mScript.set_gPVBackground(mPVBackground); in initPV() 120 mScript.set_gTGrid(mGridImage); in loadImage() 126 mScript.set_gTextAlloc(mTextAlloc); in initTextAllocation() 155 mScript.bind_gMeshes(mMeshes); in initMeshes() [all …]
|
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/ |
D | ImageProcessingActivity.java | 45 private ScriptC_threshold mScript; field in ImageProcessingActivity 119 mScript.set_radius(mRadius); in onProgressChanged() 149 mScript.invoke_filter(); in onProgressChanged() 209 mScript.invoke_filter(); in surfaceCreated() 239 mScript = new ScriptC_threshold(mRS, getResources(), R.raw.threshold); in createScript() 240 mScript.set_width(mBitmapIn.getWidth()); in createScript() 241 mScript.set_height(mBitmapIn.getHeight()); in createScript() 242 mScript.set_radius(mRadius); in createScript() 248 mScript.bind_InPixel(mInPixelsAllocation); in createScript() 249 mScript.bind_OutPixel(mOutPixelsAllocation); in createScript() [all …]
|
/frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/ |
D | FountainFboRS.java | 36 private ScriptC_fountainfbo mScript; field in FountainFboRS 51 mScript = new ScriptC_fountainfbo(mRS, mRes, R.raw.fountainfbo); in init() 52 mScript.set_partMesh(sm); in init() 53 mScript.bind_point(points); in init() 58 mScript.set_gProgramFragment(mProgramFragment); in init() 66 mScript.set_gTextureProgramFragment(mTextureProgramFragment); in init() 76 mScript.set_gColorBuffer(mColorBuffer); in init() 78 mRS.bindRootScript(mScript); in init() 91 mScript.invoke_addParticles(rate, x, y, id, !holdingColor[id]); in newTouchPosition()
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
D | RsBenchRS.java | 85 private ScriptC_rsbench mScript; field in RsBenchRS 147 mScript.bind_gTestScripts(allTests); in createTestAllocation() 182 if (mID == mScript.get_RS_MSG_RESULTS_READY()) { 193 } else if (mID == mScript.get_RS_MSG_TEST_DONE()) { 237 mScript.set_gProgFragmentTexture(mProgFragmentTexture); in initProgramFragment() 250 mScript.set_gProgVertex(mProgVertex); in initProgramVertex() 262 mScript.invoke_setDebugMode(num); in setDebugMode() 266 mScript.invoke_setBenchmarkMode(benchNum); in setBenchmarkMode() 270 mScript.set_gPauseRendering(pause); in pause() 275 mScript = new ScriptC_rsbench(mRS, mRes, R.raw.rsbench); in initRS() [all …]
|
/frameworks/base/tests/RenderScriptTests/Balls/src/com/example/android/rs/balls/ |
D | BallsRS.java | 31 private ScriptC_balls mScript; field in BallsRS 114 mScript = new ScriptC_balls(mRS, mRes, R.raw.balls); in init() 115 mScript.set_partMesh(smP); in init() 116 mScript.set_physics_script(mPhysicsScript); in init() 117 mScript.bind_point(mPoints); in init() 118 mScript.bind_balls1(new ScriptField_Ball(mRS, PART_COUNT, Allocation.USAGE_SCRIPT)); in init() 119 mScript.bind_balls2(new ScriptField_Ball(mRS, PART_COUNT, Allocation.USAGE_SCRIPT)); in init() 121 mScript.set_gPFLines(mPFLines); in init() 122 mScript.set_gPFPoints(mPFPoints); in init() 130 mScript.invoke_initParts(width, height); in init() [all …]
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
D | TestAppLoadingScreen.java | 45 private ScriptC_test_app mScript; field in TestAppLoadingScreen 58 mRS.bindRootScript(mScript); in showLoadingScreen() 80 mScript.set_gPFSBackground(ProgramStore.BLEND_NONE_DEPTH_TEST(mRS)); in doInBackground() 87 mScript.set_gPFBackground(pfDefault); in doInBackground() 93 mScript.set_gPVBackground(pvDefault); in doInBackground() 101 mScript.set_gRobotTex(robotTex); in onPostExecute() 102 mScript.set_gRobotMesh(robotMesh); in onPostExecute() 110 mScript = new ScriptC_test_app(mRS, mRes, R.raw.test_app); in renderLoading() 111 mRS.bindRootScript(mScript); in renderLoading()
|
/frameworks/base/tests/RenderScriptTests/tests_v11/src/com/android/rs/test/ |
D | RSTestCore.java | 45 private ScriptC_rslist mScript; field in RSTestCore 63 mScript = new ScriptC_rslist(mRS, mRes, R.raw.rslist); in init() 97 mScript.bind_gList(mListAllocs); in init() 100 mScript.set_gFont(mFont); in init() 102 mRS.bindRootScript(mScript); in init() 151 if (mListAllocs != null && mScript != null && mRS != null) { in refreshTestResults() 154 mScript.bind_gList(mListAllocs); in refreshTestResults() 155 mRS.bindRootScript(mScript); in refreshTestResults() 186 mScript.set_gDY(0.0f); in onActionDown() 200 mScript.set_gDY(dy); in onActionMove()
|
/frameworks/base/tests/RenderScriptTests/HelloWorld/src/com/example/android/rs/helloworld/ |
D | HelloWorldRS.java | 27 private ScriptC_helloworld mScript; field in HelloWorldRS 41 mScript.set_gTouchX(x); in onActionDown() 42 mScript.set_gTouchY(y); in onActionDown() 46 mScript = new ScriptC_helloworld(mRS, mRes, R.raw.helloworld); in initRS() 47 mRS.bindRootScript(mScript); in initRS()
|
/frameworks/base/tests/RenderScriptTests/SurfaceTexture/src/com/example/android/rs/sto/ |
D | SurfaceTextureOpaqueRS.java | 33 private ScriptC_sto mScript; field in SurfaceTextureOpaqueRS 63 mScript = new ScriptC_sto(mRS, mRes, R.raw.sto); in init() 64 mScript.set_sto(mSto); in init() 65 mScript.set_rto(mRto); in init() 66 mScript.set_sto2(mSto2); in init() 67 mScript.set_pf(mPF); in init() 69 mRS.bindRootScript(mScript); in init()
|
/frameworks/base/tests/RenderScriptTests/tests_v14/src/com/android/rs/test/ |
D | RSTestCore.java | 45 private ScriptC_rslist mScript; field in RSTestCore 63 mScript = new ScriptC_rslist(mRS, mRes, R.raw.rslist); in init() 101 mScript.bind_gList(mListAllocs); in init() 104 mScript.set_gFont(mFont); in init() 106 mRS.bindRootScript(mScript); in init() 155 if (mListAllocs != null && mScript != null && mRS != null) { in refreshTestResults() 158 mScript.bind_gList(mListAllocs); in refreshTestResults() 159 mRS.bindRootScript(mScript); in refreshTestResults() 190 mScript.set_gDY(0.0f); in onActionDown() 204 mScript.set_gDY(dy); in onActionMove()
|
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/ |
D | FountainRS.java | 32 private ScriptC_fountain mScript; field in FountainRS 49 mScript = new ScriptC_fountain(mRS, mRes, R.raw.fountain); in init() 50 mScript.set_partMesh(sm); in init() 51 mScript.bind_point(points); in init() 52 mRS.bindRootScript(mScript); in init() 65 mScript.invoke_addParticles(rate, x, y, id, !holdingColor[id]); in newTouchPosition()
|
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/ |
D | FountainRS.java | 32 private ScriptC_fountain mScript; field in FountainRS 49 mScript = new ScriptC_fountain(mRS, mRes, R.raw.fountain); in init() 50 mScript.set_partMesh(sm); in init() 51 mScript.bind_point(points); in init() 52 mRS.bindRootScript(mScript); in init() 65 mScript.invoke_addParticles(rate, x, y, id, !holdingColor[id]); in newTouchPosition()
|
/frameworks/base/tests/RenderScriptTests/ComputePerf/src/com/example/android/rs/computeperf/ |
D | Mandelbrot.java | 25 private ScriptC_mandelbrot mScript; field in Mandelbrot 29 mScript = new ScriptC_mandelbrot(mRS, res, R.raw.mandelbrot); in Mandelbrot() 32 tb.setX(mScript.get_gDimX()); in Mandelbrot() 33 tb.setY(mScript.get_gDimY()); in Mandelbrot() 39 mScript.forEach_root(mAllocationXY); in run()
|
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
D | RSTestCore.java | 45 private ScriptC_rslist mScript; field in RSTestCore 63 mScript = new ScriptC_rslist(mRS, mRes, R.raw.rslist); in init() 118 mScript.bind_gList(mListAllocs); in init() 121 mScript.set_gFont(mFont); in init() 123 mRS.bindRootScript(mScript); in init() 172 if (mListAllocs != null && mScript != null && mRS != null) { in refreshTestResults() 175 mScript.bind_gList(mListAllocs); in refreshTestResults() 176 mRS.bindRootScript(mScript); in refreshTestResults() 207 mScript.set_gDY(0.0f); in onActionDown() 221 mScript.set_gDY(dy); in onActionMove()
|
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/ |
D | DriverRS.java.template | 27 private ScriptC_%TESTCASE% mScript; 41 mScript = new ScriptC_%TESTCASE% (mRS, mRes, R.raw.%TESTCASE%); 42 mScript.invoke_entry();
|
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-int-param/ |
D | DriverRS.java.template | 27 private ScriptC_%TESTCASE% mScript; 41 mScript = new ScriptC_%TESTCASE% (mRS, mRes, R.raw.%TESTCASE%); 42 mScript.invoke_entry(40);
|
/frameworks/base/tests/RenderScriptTests/SampleTest/src/com/android/rs/sample/ |
D | SampleRSActivity.java | 78 private ScriptC_sample mScript; field in SampleRSActivity 137 mScript = new ScriptC_sample(mRS, getResources(), R.raw.sample); in onCreate() 153 mScript.invoke_setSampleData(alloc, mTwoByTwoAlloc, sampler); in filterAlloc() 154 mScript.forEach_root(alloc); in filterAlloc()
|
/frameworks/rs/driver/ |
D | rsdCore.h | 39 android::renderscript::Script * mScript; member
|