Home
last modified time | relevance | path

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

12

/frameworks/base/apct-tests/perftests/core/src/android/app/
DResourcesPerfTest.java50 private Resources mRes; field in ResourcesPerfTest
55 mRes = context.getResources(); in setUp()
63 mRes.getValue(R.integer.forty_two, value, false /* resolve_refs */); in getValue()
72 mRes.getValue(com.android.internal.R.integer.autofill_max_visible_datasets, value, in getFrameworkValue()
82 mRes.getValue(R.string.long_text, value, false /* resolve_refs */); in getValueString()
91 mRes.getValue(com.android.internal.R.string.cancel, value, false /* resolve_refs */); in getFrameworkStringValue()
100 mRes.getValue(com.android.internal.R.string.mmcc_illegal_me, value, in getValueManyConfigurations()
109 mRes.getText(R.string.long_text); in getText()
118 mRes.getFont(R.font.samplefont); in getFont()
126 mRes.getString(R.string.long_text); in getString()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuViewAppearance.java47 private final Resources mRes; field in MenuViewAppearance
85 mRes = context.getResources(); in MenuViewAppearance()
91 mMargin = mRes.getDimensionPixelSize(R.dimen.accessibility_floating_menu_margin); in update()
93 mRes.getDimensionPixelSize(R.dimen.accessibility_floating_menu_small_padding); in update()
95 mRes.getDimensionPixelSize(R.dimen.accessibility_floating_menu_large_padding); in update()
97 mRes.getDimensionPixelSize(R.dimen.accessibility_floating_menu_small_width_height); in update()
99 mRes.getDimensionPixelSize(R.dimen.accessibility_floating_menu_large_width_height); in update()
101 mRes.getDimensionPixelSize(R.dimen.accessibility_floating_menu_small_single_radius); in update()
102 mSmallMultipleRadius = mRes.getDimensionPixelSize( in update()
106 mRes.getDimensionPixelSize(R.dimen.accessibility_floating_menu_large_single_radius); in update()
[all …]
/frameworks/rs/tests/java_api/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_math.java24 private Resources mRes; field in UT_math
28 mRes = res; in UT_math()
DUT_fp_mad.java24 private Resources mRes; field in UT_fp_mad
28 mRes = res; in UT_fp_mad()
DUT_rstypes.java24 private Resources mRes; field in UT_rstypes
28 mRes = res; in UT_rstypes()
DUT_rsdebug.java24 private Resources mRes; field in UT_rsdebug
28 mRes = res; in UT_rsdebug()
DUT_rstime.java24 private Resources mRes; field in UT_rstime
28 mRes = res; in UT_rstime()
/frameworks/rs/tests/java_api/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_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()
DUT_rstypes.java24 private Resources mRes; field in UT_rstypes
28 mRes = res; in UT_rstypes()
DUT_rstime.java24 private Resources mRes; field in UT_rstime
28 mRes = res; in UT_rstime()
/frameworks/rs/tests/java_api/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_math.java24 private Resources mRes; field in UT_math
28 mRes = res; in UT_math()
DUT_fp_mad.java24 private Resources mRes; field in UT_fp_mad
28 mRes = res; in UT_fp_mad()
DUT_rsdebug.java24 private Resources mRes; field in UT_rsdebug
28 mRes = res; in UT_rsdebug()
DUT_rstypes.java24 private Resources mRes; field in UT_rstypes
28 mRes = res; in UT_rstypes()
DUT_rstime.java24 private Resources mRes; field in UT_rstime
28 mRes = res; in UT_rstime()
/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/libs/service_entitlement/java/com/android/libraries/entitlement/eapaka/
DEapAkaSecurityContext.java44 private byte[] mRes; field in EapAkaSecurityContext
91 mRes = parseTag(index, data); in parseResponseData()
92 if (mRes == null) { in parseResponseData()
97 index += mRes.length + 1; // move to CK length byte in parseResponseData()
153 return mRes; in getRes()
/frameworks/rs/tests/java_api/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%);

12