/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
FillTest.java | 33 private Resources mRes; 84 mRes = res; 111 pfbCustom.setShader(mRes, R.raw.multitexf); 118 pfbCustom.setShader(mRes, R.raw.singletexf); 123 pfbCustom.setShader(mRes, R.raw.singletexfm); 132 Bitmap b = BitmapFactory.decodeResource(mRes, id, mOptionsARGB); 139 return Allocation.createFromBitmapResource(mRS, mRes, id, 145 mFillScript = new ScriptC_fill_test(mRS, mRes, R.raw.fill_test);
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
UT_array_alloc.java | 24 private Resources mRes; 28 mRes = res;
|
UT_constant.java | 24 private Resources mRes; 28 mRes = res;
|
UT_foreach.java | 24 private Resources mRes; 29 mRes = res;
|
UT_foreach_bounds.java | 24 private Resources mRes; 29 mRes = res;
|
UT_kernel.java | 25 private Resources mRes; 31 mRes = res;
|
UT_kernel_struct.java | 25 private Resources mRes; 31 mRes = res;
|
UT_noroot.java | 24 private Resources mRes; 29 mRes = res;
|
UT_primitives.java | 24 private Resources mRes; 28 mRes = res;
|
UT_refcount.java | 24 private Resources mRes; 28 mRes = res;
|
UT_struct.java | 24 private Resources mRes; 28 mRes = res;
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_array_alloc.java | 24 private Resources mRes; 28 mRes = res;
|
UT_check_dims.java | 24 private Resources mRes; 32 mRes = res;
|
UT_constant.java | 24 private Resources mRes; 28 mRes = res;
|
UT_foreach.java | 24 private Resources mRes; 29 mRes = res;
|
UT_kernel.java | 25 private Resources mRes; 31 mRes = res;
|
UT_kernel_struct.java | 25 private Resources mRes; 31 mRes = res;
|
UT_noroot.java | 24 private Resources mRes; 29 mRes = res;
|
UT_primitives.java | 24 private Resources mRes; 28 mRes = res;
|
UT_refcount.java | 24 private Resources mRes; 28 mRes = res;
|
UT_struct.java | 24 private Resources mRes; 28 mRes = res;
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
UT_foreach.java | 24 private Resources mRes; 29 mRes = res;
|
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/ |
RsRenderStatesRS.java | 44 mRes = res; 61 private Resources mRes; 235 pvbCustom.setShader(mRes, R.raw.shaderv); 246 pfbCustom.setShader(mRes, R.raw.shaderf); 256 pvbCustom.setShader(mRes, R.raw.shaderarrayv); 263 pfbCustom.setShader(mRes, R.raw.shaderarrayf); 271 pvbCustom.setShader(mRes, R.raw.shadercubev); 278 pfbCustom.setShader(mRes, R.raw.shadercubef); 283 pfbCustom.setShader(mRes, R.raw.multitexf); 299 return Allocation.createFromBitmapResource(mRS, mRes, id [all...] |
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
SceneGraphRS.java | 44 mRes = res; 51 private Resources mRes; 132 mGridImage = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot, 176 mScript = new ScriptC_scenegraph(mRS, mRes, R.raw.scenegraph); 177 mTransformScript = new ScriptC_transform(mRS, mRes, R.raw.transform); 188 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); 197 mItalic = Font.create(mRS, mRes, "serif", Font.Style.ITALIC, 8);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
NinePatchTest.java | 40 private Resources mRes; 50 mRes = getContext().getResources(); 52 mOptNoScale.inDensity = mOptNoScale.inTargetDensity = mRes.getDisplayMetrics().densityDpi; 53 mBitmap = BitmapFactory.decodeResource(mRes, R.drawable.opaque, mOptNoScale); 78 Bitmap expected = BitmapFactory.decodeResource(mRes, R.drawable.scaled1, mOptNoScale); 87 expected = BitmapFactory.decodeResource(mRes, R.drawable.scaled2, mOptNoScale); 139 BitmapFactory.decodeResource(mRes, R.drawable.transparent_border, mOptNoScale); 170 mBitmap = BitmapFactory.decodeResource(mRes, R.drawable.transparent_border, mOptNoScale); 188 mBitmap = BitmapFactory.decodeResource(mRes, R.drawable.transparent_right, mOptNoScale);
|