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