/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | RSTestCore.java | 37 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 …]
|
D | UT_convert.java | 24 private Resources mRes; field in UT_convert 28 mRes = res; in UT_convert()
|
D | UT_int4.java | 24 private Resources mRes; field in UT_int4 28 mRes = res; in UT_int4()
|
D | UT_atomic.java | 24 private Resources mRes; field in UT_atomic 28 mRes = res; in UT_atomic()
|
D | UT_rsdebug.java | 24 private Resources mRes; field in UT_rsdebug 28 mRes = res; in UT_rsdebug()
|
D | UT_fp_mad.java | 24 private Resources mRes; field in UT_fp_mad 28 mRes = res; in UT_fp_mad()
|
D | UT_clamp.java | 24 private Resources mRes; field in UT_clamp 28 mRes = res; in UT_clamp()
|
D | UT_clamp_relaxed.java | 24 private Resources mRes; field in UT_clamp_relaxed 28 mRes = res; in UT_clamp_relaxed()
|
/frameworks/base/apct-tests/perftests/core/src/android/app/ |
D | ResourcesPerfTest.java | 47 private Resources mRes; field in ResourcesPerfTest 58 mRes = new Resources(mAsset, null, null); in setUp() 60 mTextId = mRes.getIdentifier("cancel", "string", "android"); in setUp() 61 mColorId = mRes.getIdentifier("transparent", "color", "android"); in setUp() 62 mIntegerId = mRes.getIdentifier("config_shortAnimTime", "integer", "android"); in setUp() 63 mLayoutId = mRes.getIdentifier("two_line_list_item", "layout", "android"); in setUp() 75 mRes.getText(mTextId); in getText() 83 mRes.getColor(mColorId, null); in getColor() 91 mRes.getInteger(mIntegerId); in getInteger() 99 try (XmlResourceParser parser = mRes.getLayout(mLayoutId)) { in getLayoutAndTravese()
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | RSTestCore.java | 38 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 …]
|
D | UT_fp_mad.java | 24 private Resources mRes; field in UT_fp_mad 28 mRes = res; in UT_fp_mad()
|
D | UT_math.java | 24 private Resources mRes; field in UT_math 28 mRes = res; in UT_math()
|
D | UT_rsdebug.java | 24 private Resources mRes; field in UT_rsdebug 28 mRes = res; in UT_rsdebug()
|
D | UT_rstypes.java | 24 private Resources mRes; field in UT_rstypes 28 mRes = res; in UT_rstypes()
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | RSTestCore.java | 38 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 …]
|
D | UT_rstypes.java | 24 private Resources mRes; field in UT_rstypes 28 mRes = res; in UT_rstypes()
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | RSTestCore.java | 38 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()
|
D | UT_fp_mad.java | 24 private Resources mRes; field in UT_fp_mad 28 mRes = res; in UT_fp_mad()
|
D | UT_math.java | 24 private Resources mRes; field in UT_math 28 mRes = res; in UT_math()
|
D | UT_rsdebug.java | 24 private Resources mRes; field in UT_rsdebug 28 mRes = res; in UT_rsdebug()
|
/frameworks/base/core/java/com/google/android/util/ |
D | SmileyParser.java | 31 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/tests/java_api/MathErr/src/com/example/android/rs/matherr/ |
D | MathErr.java | 34 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/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/ |
D | UserGridRecyclerView.java | 179 private final Resources mRes; field in UserGridRecyclerView.UserAdapter 189 mRes = context.getResources(); in UserAdapter() 192 mGuestName = mRes.getString(R.string.car_guest); in UserAdapter() 193 mNewUserName = mRes.getString(R.string.car_new_user); in UserAdapter() 216 RoundedBitmapDrawable circleIcon = RoundedBitmapDrawableFactory.create(mRes, in onBindViewHolder() 275 String message = mRes.getString(R.string.user_add_user_message_setup) in showConfirmAddUserDialog() 278 .concat(mRes.getString(R.string.user_add_user_message_update)); in showConfirmAddUserDialog()
|
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/ |
D | 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/ |
D | DriverRS.java.template | 24 private Resources mRes; 36 mRes = res; 41 mScript = new ScriptC_%TESTCASE% (mRS, mRes, R.raw.%TESTCASE%);
|