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 BitmapdecodeRegion(Rect rect, BitmapFactory.Options options)protected intgetHeight()protected 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)
-
-
-
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)
-
-