Package org.robolectric.shadows
Class ShadowBitmapRegionDecoder
- java.lang.Object
-
- org.robolectric.shadows.ShadowBitmapRegionDecoder
-
@Implements(android.graphics.BitmapRegionDecoder.class) public class ShadowBitmapRegionDecoder extends Object
-
-
Constructor Summary
Constructors Constructor Description ShadowBitmapRegionDecoder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Bitmap
decodeRegion(Rect rect, BitmapFactory.Options options)
protected int
getHeight()
protected int
getWidth()
protected static BitmapRegionDecoder
newInstance(byte[] data, int offset, int length, boolean isShareable)
protected static BitmapRegionDecoder
newInstance(FileDescriptor fd, boolean isShareable)
protected static BitmapRegionDecoder
newInstance(InputStream is, boolean isShareable)
protected static BitmapRegionDecoder
newInstance(String pathName, boolean isShareable)
-
-
-
Method Detail
-
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
@Implementation protected int getWidth()
-
getHeight
@Implementation protected int getHeight()
-
decodeRegion
@Implementation protected Bitmap decodeRegion(Rect rect, BitmapFactory.Options options)
-
-