/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
RSTestCore.java | 37 private Resources mRes; 55 mRes = res; 60 unitTests.add(new UT_primitives(this, mRes, mCtx)); 61 unitTests.add(new UT_constant(this, mRes, mCtx)); 62 unitTests.add(new UT_vector(this, mRes, mCtx)); 63 unitTests.add(new UT_unsigned(this, mRes, mCtx)); 64 unitTests.add(new UT_array_init(this, mRes, mCtx)); 65 unitTests.add(new UT_array_alloc(this, mRes, mCtx)); 66 unitTests.add(new UT_kernel(this, mRes, mCtx)); 67 unitTests.add(new UT_kernel_struct(this, mRes, mCtx)) [all...] |
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
RSTestCore.java | 37 private Resources mRes; 55 mRes = res; 60 unitTests.add(new UT_apitest(this, mRes, mCtx)); 61 unitTests.add(new UT_primitives(this, mRes, mCtx)); 62 unitTests.add(new UT_instance(this, mRes, mCtx)); 63 unitTests.add(new UT_constant(this, mRes, mCtx)); 64 unitTests.add(new UT_vector(this, mRes, mCtx)); 65 unitTests.add(new UT_unsigned(this, mRes, mCtx)); 66 unitTests.add(new UT_array_init(this, mRes, mCtx)); 67 unitTests.add(new UT_array_alloc(this, mRes, mCtx)) [all...] |
UT_array_alloc.java | 24 private Resources mRes; 28 mRes = res;
|
UT_atomic.java | 24 private Resources mRes; 28 mRes = res;
|
UT_clamp.java | 24 private Resources mRes; 28 mRes = res;
|
UT_clamp_relaxed.java | 24 private Resources mRes; 28 mRes = res;
|
UT_convert.java | 24 private Resources mRes; 28 mRes = res;
|
UT_convert_relaxed.java | 24 private Resources mRes; 28 mRes = res;
|
UT_fp_mad.java | 24 private Resources mRes; 28 mRes = res;
|
UT_int4.java | 24 private Resources mRes; 28 mRes = res;
|
UT_math.java | 24 private Resources mRes; 28 mRes = res;
|
UT_math_conformance.java | 24 private Resources mRes; 28 mRes = res;
|
UT_min.java | 24 private Resources mRes; 28 mRes = res;
|
UT_refcount.java | 24 private Resources mRes; 28 mRes = res;
|
UT_rsdebug.java | 24 private Resources mRes; 28 mRes = res;
|
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
RSTestCore.java | 37 private Resources mRes; 55 mRes = res; 60 unitTests.add(new UT_apitest(this, mRes, mCtx)); 61 unitTests.add(new UT_primitives(this, mRes, mCtx)); 62 unitTests.add(new UT_instance(this, mRes, mCtx)); 63 unitTests.add(new UT_constant(this, mRes, mCtx)); 64 unitTests.add(new UT_vector(this, mRes, mCtx)); 65 unitTests.add(new UT_unsigned(this, mRes, mCtx)); 66 unitTests.add(new UT_array_init(this, mRes, mCtx)); 67 unitTests.add(new UT_array_alloc(this, mRes, mCtx)) [all...] |
/frameworks/base/core/tests/benchmarks/src/android/content/res/ |
ResourcesBenchmark.java | 32 private Resources mRes; 43 mRes = new Resources(mAsset, null, null); 45 mTextId = mRes.getIdentifier("cancel", "string", "android"); 46 mColorId = mRes.getIdentifier("transparent", "color", "android"); 47 mIntegerId = mRes.getIdentifier("config_shortAnimTime", "integer", "android"); 48 mLayoutId = mRes.getIdentifier("two_line_list_item", "layout", "android"); 58 mRes.getText(mTextId); 64 mRes.getColor(mColorId, null); 70 mRes.getInteger(mIntegerId); 76 final XmlResourceParser parser = mRes.getLayout(mLayoutId) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/text/ |
FolderSpan.java | 38 private final FolderDisplayer.FolderDrawableResources mRes; 50 mRes = res; 56 p.setTextSize(mRes.folderFontSize); 57 return Math.min((int) p.measureText(mName) + 2 * mRes.folderHorizontalPadding, 62 p.setTextSize(mRes.folderFontSize); 77 mWorkPaint.setTextSize(mRes.folderFontSize); 82 name = TextUtils.ellipsize(mName, mWorkPaint, width - 2 * mRes.folderHorizontalPadding, 86 mBgColor, mRes, mFormatter, mWorkPaint);
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
RSTestCore.java | 38 private Resources mRes; 58 mRes = res; 67 unitTests.add(new UT_primitives(this, mRes, mCtx)); 68 unitTests.add(new UT_vector(this, mRes, mCtx)); 69 unitTests.add(new UT_rsdebug(this, mRes, mCtx)); 70 unitTests.add(new UT_rstime(this, mRes, mCtx)); 71 unitTests.add(new UT_rstypes(this, mRes, mCtx)); 72 unitTests.add(new UT_alloc(this, mRes, mCtx)); 73 unitTests.add(new UT_refcount(this, mRes, mCtx)); 74 unitTests.add(new UT_foreach(this, mRes, mCtx)) [all...] |
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
RSTestCore.java | 38 private Resources mRes; 58 mRes = res; 67 unitTests.add(new UT_primitives(this, mRes, mCtx)); 68 unitTests.add(new UT_vector(this, mRes, mCtx)); 69 unitTests.add(new UT_rsdebug(this, mRes, mCtx)); 70 unitTests.add(new UT_rstime(this, mRes, mCtx)); 71 unitTests.add(new UT_rstypes(this, mRes, mCtx)); 72 unitTests.add(new UT_alloc(this, mRes, mCtx)); 73 unitTests.add(new UT_refcount(this, mRes, mCtx)); 74 unitTests.add(new UT_foreach(this, mRes, mCtx)) [all...] |
/frameworks/base/core/java/com/google/android/util/ |
SmileyParser.java | 31 private SmileyResources mRes; 42 mRes = res; 47 return mRes; 71 int resid = mRes.getSmileyRes(token.getRawText());
|
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/ |
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-int-param/ |
DriverRS.java.template | 24 private Resources mRes; 36 mRes = res; 41 mScript = new ScriptC_%TESTCASE% (mRS, mRes, R.raw.%TESTCASE%);
|
/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/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
RSTestCore.java | 38 private Resources mRes; 58 mRes = res; 67 unitTests.add(new UT_primitives(this, mRes, mCtx)); 68 unitTests.add(new UT_rsdebug(this, mRes, mCtx)); 69 unitTests.add(new UT_rstime(this, mRes, mCtx)); 70 unitTests.add(new UT_rstypes(this, mRes, mCtx)); 71 unitTests.add(new UT_math(this, mRes, mCtx)); 72 unitTests.add(new UT_fp_mad(this, mRes, mCtx)); 99 mFont = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8);
|