Home
last modified time | relevance | path

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

1234567

/frameworks/rs/java/tests/RsTest/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_constant(this, mRes, mCtx)); in init()
62 unitTests.add(new UT_vector(this, mRes, mCtx)); in init()
63 unitTests.add(new UT_unsigned(this, mRes, mCtx)); in init()
64 unitTests.add(new UT_array_init(this, mRes, mCtx)); in init()
65 unitTests.add(new UT_array_alloc(this, mRes, mCtx)); in init()
66 unitTests.add(new UT_kernel(this, mRes, mCtx)); in init()
67 unitTests.add(new UT_kernel_struct(this, mRes, mCtx)); in init()
[all …]
DUT_clamp.java24 private Resources mRes; field in UT_clamp
28 mRes = res; in UT_clamp()
DUT_convert.java24 private Resources mRes; field in UT_convert
28 mRes = res; in UT_convert()
DUT_convert_relaxed.java24 private Resources mRes; field in UT_convert_relaxed
28 mRes = res; in UT_convert_relaxed()
DUT_rstypes.java24 private Resources mRes; field in UT_rstypes
28 mRes = res; in UT_rstypes()
DUT_math.java24 private Resources mRes; field in UT_math
28 mRes = res; in UT_math()
DUT_math_conformance.java24 private Resources mRes; field in UT_math_conformance
28 mRes = res; in UT_math_conformance()
/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_apitest(this, mRes, mCtx)); in init()
61 unitTests.add(new UT_primitives(this, mRes, mCtx)); in init()
62 unitTests.add(new UT_instance(this, mRes, mCtx)); in init()
63 unitTests.add(new UT_constant(this, mRes, mCtx)); in init()
64 unitTests.add(new UT_vector(this, mRes, mCtx)); in init()
65 unitTests.add(new UT_unsigned(this, mRes, mCtx)); in init()
66 unitTests.add(new UT_array_init(this, mRes, mCtx)); in init()
67 unitTests.add(new UT_array_alloc(this, mRes, mCtx)); in init()
[all …]
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
DRSTestCore.java37 private Resources mRes; field in RSTestCore
55 mRes = res; in init()
60 unitTests.add(new UT_apitest(this, mRes, mCtx)); in init()
61 unitTests.add(new UT_primitives(this, mRes, mCtx)); in init()
62 unitTests.add(new UT_instance(this, mRes, mCtx)); in init()
63 unitTests.add(new UT_constant(this, mRes, mCtx)); in init()
64 unitTests.add(new UT_vector(this, mRes, mCtx)); in init()
65 unitTests.add(new UT_unsigned(this, mRes, mCtx)); in init()
66 unitTests.add(new UT_array_init(this, mRes, mCtx)); in init()
67 unitTests.add(new UT_array_alloc(this, mRes, mCtx)); in init()
[all …]
/frameworks/base/core/tests/benchmarks/src/android/content/res/
DResourcesBenchmark.java32 private Resources mRes; field in ResourcesBenchmark
43 mRes = new Resources(mAsset, null, null); in setUp()
45 mTextId = mRes.getIdentifier("cancel", "string", "android"); in setUp()
46 mColorId = mRes.getIdentifier("transparent", "color", "android"); in setUp()
47 mIntegerId = mRes.getIdentifier("config_shortAnimTime", "integer", "android"); in setUp()
48 mLayoutId = mRes.getIdentifier("two_line_list_item", "layout", "android"); in setUp()
58 mRes.getText(mTextId); in timeGetString()
64 mRes.getColor(mColorId, null); in timeGetColor()
70 mRes.getInteger(mIntegerId); in timeGetInteger()
76 final XmlResourceParser parser = mRes.getLayout(mLayoutId); in timeGetLayoutAndTraverse()
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
DRSTestCore.java38 private Resources mRes; field in RSTestCore
58 mRes = res; 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()
74 unitTests.add(new UT_foreach(this, mRes, mCtx)); in init()
[all …]
DUT_rstypes.java24 private Resources mRes; field in UT_rstypes
28 mRes = res; in UT_rstypes()
DUT_fp_mad.java24 private Resources mRes; field in UT_fp_mad
28 mRes = res; in UT_fp_mad()
DUT_math.java24 private Resources mRes; field in UT_math
28 mRes = res; in UT_math()
DUT_rsdebug.java24 private Resources mRes; field in UT_rsdebug
28 mRes = res; in UT_rsdebug()
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
DRSTestCore.java38 private Resources mRes; field in RSTestCore
58 mRes = res; 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()
74 unitTests.add(new UT_foreach(this, mRes, mCtx)); in init()
[all …]
DUT_math.java24 private Resources mRes; field in UT_math
28 mRes = res; in UT_math()
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
DRSTestCore.java38 private Resources mRes; field in RSTestCore
58 mRes = res; 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_fp_mad.java24 private Resources mRes; field in UT_fp_mad
28 mRes = res; in UT_fp_mad()
DUT_math.java24 private Resources mRes; field in UT_math
28 mRes = res; in UT_math()
DUT_rsdebug.java24 private Resources mRes; field in UT_rsdebug
28 mRes = res; in UT_rsdebug()
/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/rs/java/tests/MathErr/src/com/example/android/rs/matherr/
DMathErr.java34 float mRes[] = new float[BUF_SIZE]; field in MathErr
56 mAllocationRes.copyTo(mRes); in logErr()
58 int err = Float.floatToRawIntBits(mRef[i]) - Float.floatToRawIntBits(mRes[i]); in logErr()
61 …roid.util.Log.v("err", "error " + err + " src " + mSrc[i] + " ref " + mRef[i] + " res " + mRes[i]); in logErr()
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/
DDriverRS.java.template24 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/
DDriverRS.java.template24 private Resources mRes;
36 mRes = res;
41 mScript = new ScriptC_%TESTCASE% (mRS, mRes, R.raw.%TESTCASE%);

1234567