Home
last modified time | relevance | path

Searched refs:shadowAssetManager (Results 1 – 5 of 5) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLegacyResourcesImpl.java64 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResourcesImpl.getAssets()); in getQuantityString() local
66 …TypedResource typedResource = shadowAssetManager.getResourceTable().getValue(resId, shadowAssetMan… in getQuantityString()
75 TypedResource<?> resolvedTypedResource = shadowAssetManager.resolve( in getQuantityString()
76 ….getString(), ResType.CHAR_SEQUENCE, pluralRules.getXmlContext()), shadowAssetManager.config, resI… in getQuantityString()
85 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResourcesImpl.getAssets()); in openRawResource() local
86 ResourceTable resourceTable = shadowAssetManager.getResourceTable(); in openRawResource()
87 InputStream inputStream = resourceTable.getRawValue(id, shadowAssetManager.config); in openRawResource()
128 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResourcesImpl.getAssets()); in loadXmlResourceParser() local
129 return shadowAssetManager.loadXmlResourceParser(resId, type); in loadXmlResourceParser()
DShadowResources.java108 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResources.getAssets()); in getQuantityString() local
110 TypedResource typedResource = shadowAssetManager.getResourceTable() in getQuantityString()
111 .getValue(resId, shadowAssetManager.config); in getQuantityString()
120 TypedResource<?> resolvedTypedResource = shadowAssetManager.resolve( in getQuantityString()
122 shadowAssetManager.config, resId); in getQuantityString()
135 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResources.getAssets()); in openRawResource() local
136 ResourceTable resourceTable = shadowAssetManager.getResourceTable(); in openRawResource()
137 InputStream inputStream = resourceTable.getRawValue(id, shadowAssetManager.config); in openRawResource()
187 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResources.getAssets()); in obtainTypedArray() local
188 TypedArray typedArray = shadowAssetManager.getTypedArrayResource(realResources, id); in obtainTypedArray()
[all …]
DShadowArscResourcesImpl.java89 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResourcesImpl.getAssets()); in getQuantityString() local
91 …TypedResource typedResource = shadowAssetManager.getResourceTable().getValue(resId, shadowAssetMan… in getQuantityString()
100 TypedResource<?> resolvedTypedResource = shadowAssetManager.resolve( in getQuantityString()
101 ….getString(), ResType.CHAR_SEQUENCE, pluralRules.getXmlContext()), shadowAssetManager.config, resI… in getQuantityString()
111 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResourcesImpl.getAssets()); in openRawResource() local
112 ResourceTable resourceTable = shadowAssetManager.getResourceTable(); in openRawResource()
113 InputStream inputStream = resourceTable.getRawValue(id, shadowAssetManager.config); in openRawResource()
DShadowTypeface.java66 ShadowAssetManager shadowAssetManager = Shadow.extract(mgr); in createFromAsset() local
67 Collection<FsFile> assetDirs = shadowAssetManager.getAllAssetDirs(); in createFromAsset()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/
DAttributeSetBuilderImpl.java198 ShadowLegacyAssetManager shadowAssetManager = Shadow in parseValue() local
200 TypedResource attrTypeData = shadowAssetManager.getAttrTypeData(attribute.resName); in parseValue()