OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:realResources
(Results
1 - 20
of
20
) sorted by null
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
CarSettingsShadowResources.java
41
public Resources
realResources
;
46
return directlyOn(
realResources
, Resources.class).getDimensionPixelSize(id);
55
return directlyOn(
realResources
, Resources.class).getDimensionPixelOffset(id);
64
return directlyOn(
realResources
, Resources.class).getColor(id, theme);
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowResources.java
50
Resources
realResources
;
173
return new NinePatchDrawable(
realResources
, null);
176
return new BitmapDrawable(
realResources
, BitmapFactory.decodeResource(
realResources
, drawableResourceId));
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowResources.java
54
@RealObject Resources
realResources
;
99
return shadowOf(
realResources
.getAssets())
100
.attrsToTypedArray(
realResources
, set, attrs, 0, 0, 0);
111
ShadowAssetManager shadowAssetManager = shadowOf(
realResources
.getAssets());
133
ShadowAssetManager shadowAssetManager = shadowOf(
realResources
.getAssets());
165
ResourceTable resourceTable = shadowOf(
realResources
.getAssets()).getResourceTable();
176
ShadowAssetManager shadowAssetManager = shadowOf(
realResources
.getAssets());
177
TypedArray typedArray = shadowAssetManager.getTypedArrayResource(
realResources
, id);
190
realResources
.getDisplayMetrics().density = density;
198
realResources
.getDisplayMetrics().scaledDensity = scaledDensity
[
all
...]
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
SettingsShadowResources.java
51
public Resources
realResources
;
83
return directlyOn(
realResources
, Resources.class).getDimensionPixelSize(id);
91
return directlyOn(
realResources
, Resources.class).getColor(id, theme);
100
return directlyOn(
realResources
, Resources.class).getColorStateList(id, theme);
143
return directlyOn(
realResources
, Resources.class).getIntArray(id);
156
realResources
, Resources.class, "getString", ClassParameter.from(int.class, id));
169
realResources
, Resources.class, "getInteger", ClassParameter.from(int.class, id));
181
return directlyOn(
realResources
, Resources.class, "getBoolean",
/external/robolectric/v3/runtime/
shadows-core-3.1-SNAPSHOT-16.jar
shadows-core-3.1-SNAPSHOT-17.jar
shadows-core-3.1-SNAPSHOT-18.jar
shadows-core-3.1-SNAPSHOT-19.jar
shadows-core-3.1-SNAPSHOT-21.jar
shadows-core-3.1-SNAPSHOT-22.jar
/prebuilts/misc/common/robolectric/3.1.1/lib/
shadows-core-v16-3.1.1.jar
shadows-core-v17-3.1.1.jar
shadows-core-v18-3.1.1.jar
shadows-core-v19-3.1.1.jar
shadows-core-v21-3.1.1.jar
shadows-core-v22-3.1.1.jar
shadows-core-v23-3.1.1.jar
/prebuilts/misc/common/robolectric/3.4.2/lib/
framework-3.4.2.jar
/prebuilts/misc/common/robolectric/3.5.1/lib/
shadows-framework-3.5.1.jar
/prebuilts/misc/common/robolectric/3.6.1/lib/
shadows-framework-3.6.1.jar
Completed in 102 milliseconds