Home
last modified time | relevance | path

Searched refs:legacyShadowOf (Results 1 – 6 of 6) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLegacyResourcesImpl.java8 import static org.robolectric.shadows.ShadowAssetManager.legacyShadowOf;
64 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResourcesImpl.getAssets()); in getQuantityString()
85 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResourcesImpl.getAssets()); in openRawResource()
117 ResourceTable resourceTable = legacyShadowOf(realResourcesImpl.getAssets()).getResourceTable(); in newNotFoundException()
128 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResourcesImpl.getAssets()); in loadXmlResourceParser()
146 return legacyShadowOf(assets) in obtainStyledAttributes()
DShadowResources.java9 import static org.robolectric.shadows.ShadowAssetManager.legacyShadowOf;
87 return legacyShadowOf(realResources.getAssets()) in obtainAttributes()
108 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResources.getAssets()); in getQuantityString()
135 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResources.getAssets()); in openRawResource()
175 ResourceTable resourceTable = legacyShadowOf(realResources.getAssets()).getResourceTable(); in newNotFoundException()
187 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResources.getAssets()); in obtainTypedArray()
204 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResources.getAssets()); in loadXmlResourceParser()
307 return legacyShadowOf(getResources().getAssets()); in getShadowAssetManager()
DShadowArscResourcesImpl.java8 import static org.robolectric.shadows.ShadowAssetManager.legacyShadowOf;
89 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResourcesImpl.getAssets()); in getQuantityString()
111 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResourcesImpl.getAssets()); in openRawResource()
147 ResourceTable resourceTable = legacyShadowOf(realResourcesImpl.getAssets()).getResourceTable(); in newNotFoundException()
DShadowAssetManager.java41 static ShadowLegacyAssetManager legacyShadowOf(AssetManager assetManager) { in legacyShadowOf() method in ShadowAssetManager
DShadowLegacyAssetManager.java1025 …return new StyleResolver(resourceTable, legacyShadowOf(AssetManager.getSystem()).getResourceTable(… in resolveStyle()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAssetManagerTest.java8 import static org.robolectric.shadows.ShadowAssetManager.legacyShadowOf;
204 legacyShadowOf(assetManager) in whenStyleAttrResolutionFails_attrsToTypedArray_returnsNiceErrorMessage()