/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/PerfTest/src/com/android/perftest/ |
D | RsBenchRS.java | 135 private ScriptC_rsbench mScript; field in RsBenchRS 150 mScript.set_gDisplayMode(mMode); in onActionDown() 185 if (mID == mScript.get_RS_MSG_RESULTS_READY()) { 196 } else if (mID == mScript.get_RS_MSG_TEST_DONE()) { 304 mScript.set_gProgStoreBlendNoneDepth(mProgStoreBlendNoneDepth); in initProgramStore() 306 mScript.set_gProgStoreBlendNone(mProgStoreBlendNone); in initProgramStore() 307 mScript.set_gProgStoreBlendAlpha(mProgStoreBlendAlpha); in initProgramStore() 308 mScript.set_gProgStoreBlendAdd(mProgStoreBlendAdd); in initProgramStore() 316 mScript.set_gPSLights(builder.create()); in initProgramStore() 332 mScript.set_gProgFragmentColor(mProgFragmentColor); in initProgramFragment() [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/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() 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/libs/rs/driver/ |
D | rsdCore.h | 41 android::renderscript::Script * mScript; member
|
D | rsdBcc.cpp | 59 Script *old = tls->mScript; in setTLS() 60 tls->mScript = sc; in setTLS()
|
D | rsdCore.cpp | 214 dc->mTlsStruct.mScript = NULL; in rsdHalInit()
|
D | rsdRuntimeStubs.cpp | 37 ScriptC * sc = (ScriptC *) tls->mScript
|
/frameworks/base/libs/rs/ |
D | rsScriptC.cpp | 32 ScriptC * sc = (ScriptC *) tls->mScript
|
/frameworks/base/docs/html/guide/topics/renderscript/ |
D | graphics.jd | 201 private ScriptC_helloworld mScript; 221 mScript.set_gTouchX(x); 222 mScript.set_gTouchY(y); 229 mScript = new ScriptC_helloworld(mRS, mRes, R.raw.helloworld); 231 mRS.bindRootScript(mScript);
|
D | index.jd | 400 mScript = new ScriptC_example(glRenderer, resources, R.raw.example); 403 mScript.bind_touchPoints(touchPoints);
|