Searched refs:legacyShadowOf (Results 1 – 6 of 6) sorted by relevance
8 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()
9 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()
8 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()
41 static ShadowLegacyAssetManager legacyShadowOf(AssetManager assetManager) { in legacyShadowOf() method in ShadowAssetManager
1025 …return new StyleResolver(resourceTable, legacyShadowOf(AssetManager.getSystem()).getResourceTable(… in resolveStyle()
8 import static org.robolectric.shadows.ShadowAssetManager.legacyShadowOf;204 legacyShadowOf(assetManager) in whenStyleAttrResolutionFails_attrsToTypedArray_returnsNiceErrorMessage()