Home
last modified time | relevance | path

Searched refs:mRes (Results 1 – 25 of 125) sorted by relevance

12345

/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DRSTestCore.java38 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 …]
DUT_int4.java24 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/
DRSTestCore.java37 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 …]
DUT_int4.java24 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/
DRSTestCore.java38 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 …]
DUT_rstime.java24 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()
DUT_fp_mad.java24 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()
DUT_rsdebug.java24 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()
DUT_rstypes.java24 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()
DUT_math.java24 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/
DRSTestCore.java38 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()
DUT_math.java24 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()
DUT_fp_mad.java24 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()
DUT_rsdebug.java24 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()
DUT_rstypes.java24 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()
DUT_rstime.java24 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/
DTextTest.java31 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()
DFillTest.java33 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()
DTorusTest.java40 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 …]
DRsBenchRS.java59 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/
DRsRenderStatesRS.java44 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 …]
DRsListRS.java81 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/
DSmileyParser.java31 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/
DHelloWorldRS.java24 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/
DTestAppLoadingScreen.java43 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()

12345