/cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/ |
FileA3DTest.java | 31 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.sphere); 36 FileA3D model = FileA3D.createFromAsset(mRS, mRes.getAssets(), "sphere.a3d"); 41 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.sphere); 47 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.sphere); 54 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.sphere); 71 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.sphere); 81 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.sphere); 90 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.sphere);
|
BaseObjTest.java | 28 Font F = Font.create(mRS, mRes, "sans-serif", S, 8); 39 F = Font.create(mRS, mRes, "serif", S, 8); 50 F = Font.create(mRS, mRes, "mono", S, 8);
|
RenderscriptGLStubActivity.java | 30 private Resources mRes; 42 mRes = res; 47 mScript = new ScriptC_stub_activity(mRS, mRes, R.raw.stub_activity);
|
RSBase.java | 34 Resources mRes; 81 mRes = mCtx.getResources();
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
UT_unsigned.java | 24 private Resources mRes; 28 mRes = res;
|
UT_bug_char.java | 26 private Resources mRes; 30 mRes = res; 80 ScriptC_bug_char s = new ScriptC_bug_char(pRS, mRes,
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_static_globals.java | 24 private Resources mRes; 28 mRes = res;
|
UT_unsigned.java | 24 private Resources mRes; 28 mRes = res;
|
UT_bug_char.java | 26 private Resources mRes; 30 mRes = res; 80 ScriptC_bug_char s = new ScriptC_bug_char(pRS, mRes,
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
StructArrayTest.java | 27 mRes,
|
ScriptCTest.java | 45 h = new ScriptCHelper(mRS, mRes, R.raw.negate);
|
RSBase.java | 34 Resources mRes; 81 mRes = mCtx.getResources();
|
RsFracTest.java | 50 mScript = new ScriptC_rs_frac_f32(mRS, mRes, R.raw.rs_frac_f32); 54 mScript_relaxed = new ScriptC_rs_frac_f32_relaxed(mRS, mRes, R.raw.rs_frac_f32);
|
SendToClientBlockingTest.java | 59 mScript = new ScriptC_sendToClientBlocking(mRS, mRes, 79 mScript = new ScriptC_sendToClientBlocking(mRS, mRes,
|
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/ |
RsListRS.java | 81 mRes = res; 85 private Resources mRes; 119 mScript = new ScriptC_rslist(mRS, mRes, R.raw.rslist); 132 mItalic = Font.create(mRS, mRes, "serif", Font.Style.BOLD_ITALIC, 8);
|
/frameworks/rs/java/tests/MathErr/src/com/example/android/rs/matherr/ |
MathErr.java | 34 float mRes[] = new float[BUF_SIZE]; 56 mAllocationRes.copyTo(mRes); 58 int err = Float.floatToRawIntBits(mRef[i]) - Float.floatToRawIntBits(mRes[i]); 61 android.util.Log.v("err", "error " + err + " src " + mSrc[i] + " ref " + mRef[i] + " res " + mRes[i]);
|
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/ |
FountainRS.java | 30 private Resources mRes; 35 mRes = res; 49 mScript = new ScriptC_fountain(mRS, mRes, R.raw.fountain);
|
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/ |
FountainRS.java | 30 private Resources mRes; 35 mRes = res; 49 mScript = new ScriptC_fountain(mRS, mRes, R.raw.fountain);
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
UT_primitives.java | 24 private Resources mRes; 28 mRes = res; 92 ScriptC_primitives s = new ScriptC_primitives(pRS, mRes, R.raw.primitives);
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
UT_primitives.java | 24 private Resources mRes; 28 mRes = res; 92 ScriptC_primitives s = new ScriptC_primitives(pRS, mRes, R.raw.primitives);
|
UT_refcount.java | 24 private Resources mRes; 28 mRes = res; 43 ScriptC_refcount s = new ScriptC_refcount(pRS, mRes, R.raw.refcount);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
TestAppLoadingScreen.java | 43 private Resources mRes; 49 mRes = res; 70 robotTex = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot, 74 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); 110 mScript = new ScriptC_test_app(mRS, mRes, R.raw.test_app);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapFactoryTest.java | 46 private Resources mRes; 95 mRes = getInstrumentation().getTargetContext().getResources(); 97 mTargetDensity = mRes.getDisplayMetrics().densityDpi; 112 Bitmap b = BitmapFactory.decodeResource(mRes, R.drawable.start, 119 assertNull(BitmapFactory.decodeResource(mRes, R.drawable.start, mOpt2)); 123 Bitmap b = BitmapFactory.decodeResource(mRes, R.drawable.start); 134 Bitmap b = BitmapFactory.decodeResourceStream(mRes, value, is, r, mOpt1); 311 Bitmap start = BitmapFactory.decodeResource(mRes, R.drawable.start, options); 318 Bitmap pass = BitmapFactory.decodeResource(mRes, R.drawable.pass, options); 335 Bitmap decoded = BitmapFactory.decodeResource(mRes, RES_IDS[i], options) [all...] |
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
TorusTest.java | 40 private Resources mRes; 116 mRes = res; 165 pvbCustom.setShader(mRes, R.raw.shaderv); 176 pfbCustom.setShader(mRes, R.raw.shaderf); 186 pvbCustom.setShader(mRes, R.raw.shader2v); 193 pvbCustom.setShader(mRes, R.raw.shader2movev); 200 pfbCustom.setShader(mRes, R.raw.shader2f); 207 pfbCustom.setShader(mRes, R.raw.multitexf); 232 return Allocation.createFromBitmapResource(mRS, mRes, id, 242 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.torus) [all...] |
/development/samples/JetBoy/src/com/example/android/jetboy/ |
JetBoyView.java | 273 Resources mRes; 291 mRes = context.getResources(); 367 mTitleBG = BitmapFactory.decodeResource(mRes, R.drawable.title_hori); 374 mBackgroundImageFar = BitmapFactory.decodeResource(mRes, R.drawable.background_a); 376 mLaserShot = BitmapFactory.decodeResource(mRes, R.drawable.laser); 378 mBackgroundImageNear = BitmapFactory.decodeResource(mRes, R.drawable.background_b); 380 mShipFlying[0] = BitmapFactory.decodeResource(mRes, R.drawable.ship2_1); 381 mShipFlying[1] = BitmapFactory.decodeResource(mRes, R.drawable.ship2_2); 382 mShipFlying[2] = BitmapFactory.decodeResource(mRes, R.drawable.ship2_3); 383 mShipFlying[3] = BitmapFactory.decodeResource(mRes, R.drawable.ship2_4) [all...] |