/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | RSTestCore.java | 38 private Resources mRes; field in RSTestCore 58 mRes = res; in init() 63 mScript = new ScriptC_rslist(mRS, mRes, R.raw.rslist); in init() 67 unitTests.add(new UT_primitives(this, mRes, mCtx)); in init() 68 unitTests.add(new UT_constant(this, mRes, mCtx)); in init() 69 unitTests.add(new UT_vector(this, mRes, mCtx)); in init() 70 unitTests.add(new UT_unsigned(this, mRes, mCtx)); in init() 71 unitTests.add(new UT_array_init(this, mRes, mCtx)); in init() 72 unitTests.add(new UT_array_alloc(this, mRes, mCtx)); in init() 73 unitTests.add(new UT_kernel(this, mRes, mCtx)); in init() [all …]
|
D | UT_int4.java | 24 private Resources mRes; field in UT_int4 28 mRes = res; in UT_int4() 33 ScriptC_int4 s = new ScriptC_int4(pRS, mRes, R.raw.int4); in run()
|
/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_primitives(this, mRes, mCtx)); in init() 61 unitTests.add(new UT_instance(this, mRes, mCtx)); in init() 62 unitTests.add(new UT_constant(this, mRes, mCtx)); in init() 63 unitTests.add(new UT_vector(this, mRes, mCtx)); in init() 64 unitTests.add(new UT_unsigned(this, mRes, mCtx)); in init() 65 unitTests.add(new UT_array_init(this, mRes, mCtx)); in init() 66 unitTests.add(new UT_array_alloc(this, mRes, mCtx)); in init() 67 unitTests.add(new UT_kernel(this, mRes, mCtx)); in init() [all …]
|
D | UT_int4.java | 24 private Resources mRes; field in UT_int4 28 mRes = res; in UT_int4() 33 ScriptC_int4 s = new ScriptC_int4(pRS, mRes, R.raw.int4); in run()
|
/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() 63 mScript = new ScriptC_rslist(mRS, mRes, R.raw.rslist); 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() [all …]
|
D | UT_rstime.java | 24 private Resources mRes; field in UT_rstime 28 mRes = res; in UT_rstime() 33 ScriptC_rstime s = new ScriptC_rstime(pRS, mRes, R.raw.rstime); in run()
|
D | UT_fp_mad.java | 24 private Resources mRes; field in UT_fp_mad 28 mRes = res; in UT_fp_mad() 33 ScriptC_fp_mad s = new ScriptC_fp_mad(pRS, mRes, R.raw.fp_mad); in run()
|
D | UT_rsdebug.java | 24 private Resources mRes; field in UT_rsdebug 28 mRes = res; in UT_rsdebug() 33 ScriptC_rsdebug s = new ScriptC_rsdebug(pRS, mRes, R.raw.rsdebug); in run()
|
D | UT_rstypes.java | 24 private Resources mRes; field in UT_rstypes 28 mRes = res; in UT_rstypes() 33 ScriptC_rstypes s = new ScriptC_rstypes(pRS, mRes, R.raw.rstypes); in run()
|
D | UT_math.java | 24 private Resources mRes; field in UT_math 28 mRes = res; in UT_math() 33 ScriptC_math s = new ScriptC_math(pRS, mRes, R.raw.math); in run()
|
/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() 63 mScript = new ScriptC_rslist(mRS, mRes, R.raw.rslist); 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()
|
D | UT_math.java | 24 private Resources mRes; field in UT_math 28 mRes = res; in UT_math() 33 ScriptC_math s = new ScriptC_math(pRS, mRes, R.raw.math); in run()
|
D | UT_fp_mad.java | 24 private Resources mRes; field in UT_fp_mad 28 mRes = res; in UT_fp_mad() 33 ScriptC_fp_mad s = new ScriptC_fp_mad(pRS, mRes, R.raw.fp_mad); in run()
|
D | UT_rsdebug.java | 24 private Resources mRes; field in UT_rsdebug 28 mRes = res; in UT_rsdebug() 33 ScriptC_rsdebug s = new ScriptC_rsdebug(pRS, mRes, R.raw.rsdebug); in run()
|
D | UT_rstypes.java | 24 private Resources mRes; field in UT_rstypes 28 mRes = res; in UT_rstypes() 33 ScriptC_rstypes s = new ScriptC_rstypes(pRS, mRes, R.raw.rstypes); in run()
|
D | UT_rstime.java | 24 private Resources mRes; field in UT_rstime 28 mRes = res; in UT_rstime() 33 ScriptC_rstime s = new ScriptC_rstime(pRS, mRes, R.raw.rstime); in run()
|
/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()
|