Package org.robolectric.shadows
Class ShadowBitmapRegionDecoder
java.lang.Object
org.robolectric.shadows.ShadowBitmapRegionDecoder
@Implements(android.graphics.BitmapRegionDecoder.class)
public class ShadowBitmapRegionDecoder
extends Object
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected BitmapdecodeRegion(Rect rect, BitmapFactory.Options options) protected intprotected intgetWidth()protected static BitmapRegionDecodernewInstance(byte[] data, int offset, int length, boolean isShareable) protected static BitmapRegionDecodernewInstance(FileDescriptor fd, boolean isShareable) protected static BitmapRegionDecodernewInstance(InputStream is, boolean isShareable) protected static BitmapRegionDecodernewInstance(String pathName, boolean isShareable) 
- 
Constructor Details- 
ShadowBitmapRegionDecoderpublic ShadowBitmapRegionDecoder()
 
- 
- 
Method Details- 
newInstance@Implementation protected static BitmapRegionDecoder newInstance(byte[] data, int offset, int length, boolean isShareable) throws IOException - Throws:
- IOException
 
- 
newInstance@Implementation protected static BitmapRegionDecoder newInstance(FileDescriptor fd, boolean isShareable) throws IOException - Throws:
- IOException
 
- 
newInstance@Implementation protected static BitmapRegionDecoder newInstance(InputStream is, boolean isShareable) throws IOException - Throws:
- IOException
 
- 
newInstance@Implementation protected static BitmapRegionDecoder newInstance(String pathName, boolean isShareable) throws IOException - Throws:
- IOException
 
- 
getWidth
- 
getHeight
- 
decodeRegion
 
-