/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | RSTestCore.java | 37 private Resources mRes; field in RSTestCore 55 mRes = res; in init() 60 unitTests.add(new UT_apitest(this, mRes, mCtx)); in init() 61 unitTests.add(new UT_primitives(this, mRes, mCtx)); in init() 62 unitTests.add(new UT_instance(this, mRes, mCtx)); in init() 63 unitTests.add(new UT_constant(this, mRes, mCtx)); in init() 64 unitTests.add(new UT_vector(this, mRes, mCtx)); in init() 65 unitTests.add(new UT_unsigned(this, mRes, mCtx)); in init() 66 unitTests.add(new UT_array_init(this, mRes, mCtx)); in init() 67 unitTests.add(new UT_array_alloc(this, mRes, mCtx)); in init() [all …]
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | RSTestCore.java | 37 private Resources mRes; field in RSTestCore 55 mRes = res; in init() 60 unitTests.add(new UT_primitives(this, mRes, mCtx)); in init() 61 unitTests.add(new UT_constant(this, mRes, mCtx)); in init() 62 unitTests.add(new UT_vector(this, mRes, mCtx)); in init() 63 unitTests.add(new UT_unsigned(this, mRes, mCtx)); in init() 64 unitTests.add(new UT_array_init(this, mRes, mCtx)); in init() 65 unitTests.add(new UT_array_alloc(this, mRes, mCtx)); in init() 66 unitTests.add(new UT_kernel(this, mRes, mCtx)); in init() 67 unitTests.add(new UT_kernel_struct(this, mRes, mCtx)); in init() [all …]
|
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
D | RSTestCore.java | 38 private Resources mRes; field in RSTestCore 58 mRes = res; in init() 67 unitTests.add(new UT_primitives(this, mRes, mCtx)); in init() 68 unitTests.add(new UT_vector(this, mRes, mCtx)); in init() 69 unitTests.add(new UT_rsdebug(this, mRes, mCtx)); in init() 70 unitTests.add(new UT_rstime(this, mRes, mCtx)); in init() 71 unitTests.add(new UT_rstypes(this, mRes, mCtx)); in init() 72 unitTests.add(new UT_alloc(this, mRes, mCtx)); in init() 73 unitTests.add(new UT_refcount(this, mRes, mCtx)); in init() 74 unitTests.add(new UT_foreach(this, mRes, mCtx)); in init() [all …]
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
D | RSTestCore.java | 38 private Resources mRes; field in RSTestCore 58 mRes = res; in init() 67 unitTests.add(new UT_primitives(this, mRes, mCtx)); in init() 68 unitTests.add(new UT_vector(this, mRes, mCtx)); in init() 69 unitTests.add(new UT_rsdebug(this, mRes, mCtx)); in init() 70 unitTests.add(new UT_rstime(this, mRes, mCtx)); in init() 71 unitTests.add(new UT_rstypes(this, mRes, mCtx)); in init() 72 unitTests.add(new UT_alloc(this, mRes, mCtx)); in init() 73 unitTests.add(new UT_refcount(this, mRes, mCtx)); in init() 74 unitTests.add(new UT_foreach(this, mRes, mCtx)); in init() [all …]
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
D | RSTestCore.java | 38 private Resources mRes; field in RSTestCore 58 mRes = res; in init() 67 unitTests.add(new UT_primitives(this, mRes, mCtx)); in init() 68 unitTests.add(new UT_rsdebug(this, mRes, mCtx)); in init() 69 unitTests.add(new UT_rstime(this, mRes, mCtx)); in init() 70 unitTests.add(new UT_rstypes(this, mRes, mCtx)); in init() 71 unitTests.add(new UT_math(this, mRes, mCtx)); in init() 72 unitTests.add(new UT_fp_mad(this, mRes, mCtx)); in init() 99 mFont = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8); in init()
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
D | TextTest.java | 31 private Resources mRes; field in TextTest 64 mRes = res; in init() 85 DisplayMetrics metrics = mRes.getDisplayMetrics(); in initTextScript() 87 mTextScript = new ScriptC_text_test(mRS, mRes, R.raw.text_test); in initTextScript() 88 mTextScript.set_gFontSans(Font.create(mRS, mRes, "sans-serif", in initTextScript() 90 mTextScript.set_gFontSerif(Font.create(mRS, mRes, "serif", in initTextScript()
|
D | FillTest.java | 33 private Resources mRes; field in FillTest 84 mRes = res; in init() 111 pfbCustom.setShader(mRes, R.raw.multitexf); in initCustomShaders() 118 pfbCustom.setShader(mRes, R.raw.singletexf); in initCustomShaders() 123 pfbCustom.setShader(mRes, R.raw.singletexfm); in initCustomShaders() 132 Bitmap b = BitmapFactory.decodeResource(mRes, id, mOptionsARGB); in loadTextureARGB() 139 return Allocation.createFromBitmapResource(mRS, mRes, id, in loadTextureRGB() 145 mFillScript = new ScriptC_fill_test(mRS, mRes, R.raw.fill_test); in initFillScript()
|
D | TorusTest.java | 40 private Resources mRes; field in TorusTest 116 mRes = res; in init() 165 pvbCustom.setShader(mRes, R.raw.shaderv); in initCustomShaders() 176 pfbCustom.setShader(mRes, R.raw.shaderf); in initCustomShaders() 186 pvbCustom.setShader(mRes, R.raw.shader2v); in initCustomShaders() 193 pvbCustom.setShader(mRes, R.raw.shader2movev); in initCustomShaders() 200 pfbCustom.setShader(mRes, R.raw.shader2f); in initCustomShaders() 207 pfbCustom.setShader(mRes, R.raw.multitexf); in initCustomShaders() 232 return Allocation.createFromBitmapResource(mRS, mRes, id, in loadTextureRGB() 242 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.torus); in initMesh() [all …]
|
D | RsBenchRS.java | 59 mRes = res; in init() 72 private Resources mRes; field in RsBenchRS 275 mScript = new ScriptC_rsbench(mRS, mRes, R.raw.rsbench); in initRS() 284 mScript.set_gFontSerif(Font.create(mRS, mRes, "serif", Font.Style.NORMAL, 8)); in initRS() 305 if (test.init(mRS, mRes)) { in initRS() 309 if (test.init(mRS, mRes)) { in initRS() 313 if (test.init(mRS, mRes)) { in initRS() 317 if (test.init(mRS, mRes)) { in initRS() 321 if (test.init(mRS, mRes)) { in initRS()
|
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/ |
D | RsRenderStatesRS.java | 44 mRes = res; in init() 61 private Resources mRes; field in RsRenderStatesRS 235 pvbCustom.setShader(mRes, R.raw.shaderv); in initCustomShaders() 246 pfbCustom.setShader(mRes, R.raw.shaderf); in initCustomShaders() 256 pvbCustom.setShader(mRes, R.raw.shaderarrayv); in initCustomShaders() 263 pfbCustom.setShader(mRes, R.raw.shaderarrayf); in initCustomShaders() 271 pvbCustom.setShader(mRes, R.raw.shadercubev); in initCustomShaders() 278 pfbCustom.setShader(mRes, R.raw.shadercubef); in initCustomShaders() 283 pfbCustom.setShader(mRes, R.raw.multitexf); in initCustomShaders() 299 return Allocation.createFromBitmapResource(mRS, mRes, id, in loadTextureRGB() [all …]
|
D | RsListRS.java | 81 mRes = res; in init() 85 private Resources mRes; field in RsListRS 119 mScript = new ScriptC_rslist(mRS, mRes, R.raw.rslist); in initRS() 132 mItalic = Font.create(mRS, mRes, "serif", Font.Style.BOLD_ITALIC, 8); in initRS()
|
/frameworks/base/core/java/com/google/android/util/ |
D | SmileyParser.java | 31 private SmileyResources mRes; field in SmileyParser 42 mRes = res; in SmileyParser() 47 return mRes; in getResources() 71 int resid = mRes.getSmileyRes(token.getRawText()); in getSpannableString()
|
/frameworks/base/tests/RenderScriptTests/HelloWorld/src/com/example/android/rs/helloworld/ |
D | HelloWorldRS.java | 24 private Resources mRes; field in HelloWorldRS 36 mRes = res; in init() 46 mScript = new ScriptC_helloworld(mRS, mRes, R.raw.helloworld); in initRS()
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
D | TestAppLoadingScreen.java | 43 private Resources mRes; field in TestAppLoadingScreen 49 mRes = res; in TestAppLoadingScreen() 70 robotTex = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot, in doInBackground() 74 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); in doInBackground() 110 mScript = new ScriptC_test_app(mRS, mRes, R.raw.test_app); in renderLoading()
|
D | TestAppRS.java | 62 private Resources mRes; field in TestAppRS 97 mRes = res; in init() 105 mSceneManager.initRS(mRS, mRes, mWidth, mHeight); in init() 107 mLoadingScreen = new TestAppLoadingScreen(mRS, mRes); in init() 139 fb.setShader(mRes, id); in createFromResource() 174 fb.setShader(mRes, R.raw.plastic_lights); in initPaintShaders() 179 fb.setShader(mRes, R.raw.diffuse_lights); in initPaintShaders() 182 FullscreenBlur.initShaders(mRes, mRS); in initPaintShaders()
|
/frameworks/rs/java/tests/MathErr/src/com/example/android/rs/matherr/ |
D | MathErr.java | 34 float mRes[] = new float[BUF_SIZE]; field in MathErr 56 mAllocationRes.copyTo(mRes); in logErr() 58 int err = Float.floatToRawIntBits(mRef[i]) - Float.floatToRawIntBits(mRes[i]); in logErr() 61 …roid.util.Log.v("err", "error " + err + " src " + mSrc[i] + " ref " + mRef[i] + " res " + mRes[i]); in logErr()
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
D | SimpleModelRS.java | 34 mRes = res; in init() 43 private Resources mRes; field in SimpleModelRS 116 mGridImage = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot, in loadImage() 166 mScript = new ScriptC_simplemodel(mRS, mRes, R.raw.simplemodel); in initRS() 174 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); in initRS() 177 mItalic = Font.create(mRS, mRes, "serif", Font.Style.ITALIC, 8); in initRS()
|
D | SceneGraphRS.java | 44 mRes = res; in init() 51 private Resources mRes; field in SceneGraphRS 132 mGridImage = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot, in loadImage() 176 mScript = new ScriptC_scenegraph(mRS, mRes, R.raw.scenegraph); in initRS() 177 mTransformScript = new ScriptC_transform(mRS, mRes, R.raw.transform); in initRS() 188 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); in initRS() 197 mItalic = Font.create(mRS, mRes, "serif", Font.Style.ITALIC, 8); in initRS()
|
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
D | FBOTestRS.java | 37 mRes = res; in init() 46 private Resources mRes; field in FBOTestRS 117 mGridImage = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot, in loadImage() 167 mScript = new ScriptC_fbotest(mRS, mRes, R.raw.fbotest); in initRS() 192 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); in initRS() 195 mItalic = Font.create(mRS, mRes, "serif", Font.Style.ITALIC, 8); in initRS()
|
D | FBOSyncRS.java | 37 mRes = res; in init() 46 private Resources mRes; field in FBOSyncRS 118 mGridImage = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot, in loadImage() 168 mScript = new ScriptC_fbosync(mRS, mRes, R.raw.fbosync); in initRS() 200 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); in initRS() 203 mItalic = Font.create(mRS, mRes, "serif", Font.Style.ITALIC, 8); in initRS()
|
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/ |
D | FountainRS.java | 30 private Resources mRes; field in FountainRS 35 mRes = res; in init() 49 mScript = new ScriptC_fountain(mRS, mRes, R.raw.fountain); in init()
|
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/ |
D | FountainRS.java | 30 private Resources mRes; field in FountainRS 35 mRes = res; in init() 49 mScript = new ScriptC_fountain(mRS, mRes, R.raw.fountain); in init()
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
D | ShadersTestRS.java | 45 mRes = res; in init() 53 private Resources mRes; field in ShadersTestRS 116 fs.setShader(mRes, R.raw.vignette_fs); in initPF() 135 mMeshTexture = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot, in loadImage() 172 mScript = new ScriptC_shaderstest(mRS, mRes, R.raw.shaderstest); in initRS() 182 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); in initRS()
|
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-int-param/ |
D | DriverRS.java.template | 24 private Resources mRes; 36 mRes = res; 41 mScript = new ScriptC_%TESTCASE% (mRS, mRes, R.raw.%TESTCASE%);
|
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/ |
D | DriverRS.java.template | 24 private Resources mRes; 36 mRes = res; 41 mScript = new ScriptC_%TESTCASE% (mRS, mRes, R.raw.%TESTCASE%);
|