{ "methods": { "appendDescription(java.lang.String)": { "isImplementation": false, "modifiers": [ "public" ], "params": [ "s" ], "returnType": "void", "exceptions": [], "name": "appendDescription(java.lang.String)" }, "compress(android.graphics.Bitmap.CompressFormat,int,java.io.OutputStream)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "format", "quality", "stream" ], "returnType": "boolean", "exceptions": [], "name": "compress(android.graphics.Bitmap.CompressFormat,int,java.io.OutputStream)" }, "copy(android.graphics.Bitmap.Config,boolean)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "config", "isMutable" ], "returnType": "android.graphics.Bitmap", "exceptions": [], "name": "copy(android.graphics.Bitmap.Config,boolean)" }, "copyPixelsFromBuffer(java.nio.Buffer)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "dst" ], "returnType": "void", "exceptions": [], "name": "copyPixelsFromBuffer(java.nio.Buffer)" }, "copyPixelsToBuffer(java.nio.Buffer)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "dst" ], "returnType": "void", "exceptions": [], "name": "copyPixelsToBuffer(java.nio.Buffer)" }, "createAshmemBitmap()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "android.graphics.Bitmap", "exceptions": [], "minSdk": 23, "name": "createAshmemBitmap()" }, "createBitmap(android.graphics.Bitmap)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "src" ], "returnType": "android.graphics.Bitmap", "exceptions": [], "name": "createBitmap(android.graphics.Bitmap)" }, "createBitmap(android.graphics.Bitmap,int,int,int,int)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "src", "x", "y", "width", "height" ], "returnType": "android.graphics.Bitmap", "exceptions": [], "name": "createBitmap(android.graphics.Bitmap,int,int,int,int)" }, "createBitmap(android.graphics.Bitmap,int,int,int,int,android.graphics.Matrix,boolean)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "src", "x", "y", "width", "height", "matrix", "filter" ], "returnType": "android.graphics.Bitmap", "exceptions": [], "name": "createBitmap(android.graphics.Bitmap,int,int,int,int,android.graphics.Matrix,boolean)" }, "createBitmap(android.util.DisplayMetrics,int,int,android.graphics.Bitmap.Config)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "displayMetrics", "width", "height", "config" ], "returnType": "android.graphics.Bitmap", "exceptions": [], "minSdk": 17, "name": "createBitmap(android.util.DisplayMetrics,int,int,android.graphics.Bitmap.Config)" }, "createBitmap(android.util.DisplayMetrics,int,int,android.graphics.Bitmap.Config,boolean)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "displayMetrics", "width", "height", "config", "hasAlpha" ], "returnType": "android.graphics.Bitmap", "exceptions": [], "minSdk": 17, "name": "createBitmap(android.util.DisplayMetrics,int,int,android.graphics.Bitmap.Config,boolean)" }, "createBitmap(int,int,android.graphics.Bitmap.Config)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "width", "height", "config" ], "returnType": "android.graphics.Bitmap", "exceptions": [], "name": "createBitmap(int,int,android.graphics.Bitmap.Config)" }, "createBitmap(int[],int,int,android.graphics.Bitmap.Config)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "colors", "width", "height", "config" ], "returnType": "android.graphics.Bitmap", "exceptions": [], "name": "createBitmap(int[],int,int,android.graphics.Bitmap.Config)" }, "createScaledBitmap(android.graphics.Bitmap,int,int,boolean)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "src", "dstWidth", "dstHeight", "filter" ], "returnType": "android.graphics.Bitmap", "exceptions": [], "name": "createScaledBitmap(android.graphics.Bitmap,int,int,boolean)" }, "eraseColor(int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "color" ], "returnType": "void", "exceptions": [], "name": "eraseColor(int)" }, "extractAlpha()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "android.graphics.Bitmap", "exceptions": [], "name": "extractAlpha()" }, "getAllocationByteCount()": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [], "returnType": "int", "exceptions": [], "minSdk": 19, "name": "getAllocationByteCount()" }, "getByteCount()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "int", "exceptions": [], "name": "getByteCount()" }, "getBytesPerPixel(android.graphics.Bitmap.Config)": { "isImplementation": false, "modifiers": [ "public", "static" ], "params": [ "config" ], "returnType": "int", "exceptions": [], "name": "getBytesPerPixel(android.graphics.Bitmap.Config)" }, "getConfig()": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [], "returnType": "android.graphics.Bitmap.Config", "exceptions": [], "name": "getConfig()" }, "getCreatedFromBitmap()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "android.graphics.Bitmap", "exceptions": [], "name": "getCreatedFromBitmap()", "documentation": "Reference to original Bitmap from which this Bitmap was created. {@code null} if this Bitmap\nwas not copied from another instance.\n\n@return Original Bitmap from which this Bitmap was created.\n" }, "getCreatedFromBytes()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "byte[]", "exceptions": [], "name": "getCreatedFromBytes()", "documentation": "Bytes from which this Bitmap was created. {@code null} if this Bitmap was not created from\nbytes.\n\n@return Bytes from which this Bitmap was created.\n" }, "getCreatedFromColors()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "int[]", "exceptions": [], "name": "getCreatedFromColors()", "documentation": "Color array from which this Bitmap was created. {@code null} if this Bitmap was not created\nfrom a color array.\n@return Color array from which this Bitmap was created.\n" }, "getCreatedFromFilter()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "boolean", "exceptions": [], "name": "getCreatedFromFilter()", "documentation": "{@code true} if this Bitmap was created with filtering.\n@return {@code true} if this Bitmap was created with filtering.\n" }, "getCreatedFromHeight()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "int", "exceptions": [], "name": "getCreatedFromHeight()", "documentation": "Height from {@link #getCreatedFromX()} within {@link #getCreatedFromBitmap()} of this Bitmap\u0027s\ncontent, or -1.\n@return Height from {@link #getCreatedFromX()} within {@link #getCreatedFromBitmap()} of this Bitmap\u0027s\ncontent, or -1.\n" }, "getCreatedFromMatrix()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "android.graphics.Matrix", "exceptions": [], "name": "getCreatedFromMatrix()", "documentation": "Matrix from which this Bitmap\u0027s content was transformed, or {@code null}.\n@return Matrix from which this Bitmap\u0027s content was transformed, or {@code null}.\n" }, "getCreatedFromPath()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "java.lang.String", "exceptions": [], "name": "getCreatedFromPath()", "documentation": "Path from which this Bitmap was created. {@code null} if this Bitmap was not create from a\npath.\n\n@return Path from which this Bitmap was created.\n" }, "getCreatedFromResId()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "int", "exceptions": [], "name": "getCreatedFromResId()", "documentation": "Resource ID from which this Bitmap was created. {@code 0} if this Bitmap was not created\nfrom a resource.\n\n@return Resource ID from which this Bitmap was created.\n" }, "getCreatedFromStream()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "java.io.InputStream", "exceptions": [], "name": "getCreatedFromStream()", "documentation": "{@link InputStream} from which this Bitmap was created. {@code null} if this Bitmap was not\ncreated from a stream.\n\n@return InputStream from which this Bitmap was created.\n" }, "getCreatedFromWidth()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "int", "exceptions": [], "name": "getCreatedFromWidth()", "documentation": "Width from {@link #getCreatedFromX()} within {@link #getCreatedFromBitmap()} of this Bitmap\u0027s\ncontent, or -1.\n\n@return Width from {@link #getCreatedFromX()} within {@link #getCreatedFromBitmap()} of this Bitmap\u0027s\ncontent, or -1.\n" }, "getCreatedFromX()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "int", "exceptions": [], "name": "getCreatedFromX()", "documentation": "Horizontal offset within {@link #getCreatedFromBitmap()} of this Bitmap\u0027s content, or -1.\n\n@return Horizontal offset within {@link #getCreatedFromBitmap()}.\n" }, "getCreatedFromY()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "int", "exceptions": [], "name": "getCreatedFromY()", "documentation": "Vertical offset within {@link #getCreatedFromBitmap()} of this Bitmap\u0027s content, or -1.\n\n@return Vertical offset within {@link #getCreatedFromBitmap()} of this Bitmap\u0027s content, or -1.\n" }, "getDensity()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "int", "exceptions": [], "name": "getDensity()" }, "getDescription()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "java.lang.String", "exceptions": [], "name": "getDescription()" }, "getGenerationId()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "int", "exceptions": [], "name": "getGenerationId()" }, "getHeight()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "int", "exceptions": [], "name": "getHeight()" }, "getPixel(int,int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "x", "y" ], "returnType": "int", "exceptions": [], "name": "getPixel(int,int)" }, "getPixels(int[],int,int,int,int,int,int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "pixels", "offset", "stride", "x", "y", "width", "height" ], "returnType": "void", "exceptions": [], "name": "getPixels(int[],int,int,int,int,int,int)", "documentation": "Note that this method will return a RuntimeException unless: - {@code pixels} has the same\nlength as the number of pixels of the bitmap. - {@code x \u003d 0} - {@code y \u003d 0} - {@code width}\nand {@code height} height match the current bitmap\u0027s dimensions.\n" }, "getRealBitmap()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "android.graphics.Bitmap", "exceptions": [], "name": "getRealBitmap()" }, "getRowBytes()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "int", "exceptions": [], "name": "getRowBytes()" }, "getWidth()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "int", "exceptions": [], "name": "getWidth()" }, "hasAlpha()": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [], "returnType": "boolean", "exceptions": [], "name": "hasAlpha()" }, "hasMipMap()": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [], "returnType": "boolean", "exceptions": [], "minSdk": 17, "name": "hasMipMap()" }, "internalCheckPixelAccess(int,int)": { "isImplementation": false, "modifiers": [ "private" ], "params": [ "x", "y" ], "returnType": "void", "exceptions": [], "name": "internalCheckPixelAccess(int,int)" }, "isMutable()": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [], "returnType": "boolean", "exceptions": [], "name": "isMutable()" }, "isPremultiplied()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "boolean", "exceptions": [], "minSdk": 19, "name": "isPremultiplied()" }, "isRecycled()": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [], "returnType": "boolean", "exceptions": [], "name": "isRecycled()" }, "nativeCreateFromParcel(android.os.Parcel)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "p" ], "returnType": "android.graphics.Bitmap", "exceptions": [], "name": "nativeCreateFromParcel(android.os.Parcel)" }, "reconfigure(int,int,android.graphics.Bitmap.Config)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "width", "height", "config" ], "returnType": "void", "exceptions": [], "minSdk": 19, "name": "reconfigure(int,int,android.graphics.Bitmap.Config)" }, "recycle()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "void", "exceptions": [], "name": "recycle()" }, "sameAs(android.graphics.Bitmap)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "other" ], "returnType": "boolean", "exceptions": [], "name": "sameAs(android.graphics.Bitmap)" }, "setConfig(android.graphics.Bitmap.Config)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "config" ], "returnType": "void", "exceptions": [], "minSdk": 19, "name": "setConfig(android.graphics.Bitmap.Config)" }, "setCreatedFromResId(int,java.lang.String)": { "isImplementation": false, "modifiers": [ "public" ], "params": [ "resId", "description" ], "returnType": "void", "exceptions": [], "name": "setCreatedFromResId(int,java.lang.String)" }, "setDensity(int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "density" ], "returnType": "void", "exceptions": [], "name": "setDensity(int)" }, "setDescription(java.lang.String)": { "isImplementation": false, "modifiers": [ "public" ], "params": [ "s" ], "returnType": "void", "exceptions": [], "name": "setDescription(java.lang.String)" }, "setHasAlpha(boolean)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "hasAlpha" ], "returnType": "void", "exceptions": [], "name": "setHasAlpha(boolean)" }, "setHasMipMap(boolean)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "hasMipMap" ], "returnType": "void", "exceptions": [], "minSdk": 17, "name": "setHasMipMap(boolean)" }, "setHeight(int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "height" ], "returnType": "void", "exceptions": [], "minSdk": 19, "name": "setHeight(int)" }, "setMutable(boolean)": { "isImplementation": false, "modifiers": [ "public" ], "params": [ "mutable" ], "returnType": "void", "exceptions": [], "name": "setMutable(boolean)" }, "setPixel(int,int,int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "x", "y", "color" ], "returnType": "void", "exceptions": [], "name": "setPixel(int,int,int)" }, "setPixels(int[],int,int,int,int,int,int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "pixels", "offset", "stride", "x", "y", "width", "height" ], "returnType": "void", "exceptions": [], "name": "setPixels(int[],int,int,int,int,int,int)" }, "setPremultiplied(boolean)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "isPremultiplied" ], "returnType": "void", "exceptions": [], "minSdk": 19, "name": "setPremultiplied(boolean)" }, "setWidth(int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "width" ], "returnType": "void", "exceptions": [], "minSdk": 19, "name": "setWidth(int)" }, "visualize(android.graphics.Bitmap)": { "isImplementation": false, "modifiers": [ "public", "static" ], "params": [ "bitmap" ], "returnType": "java.lang.String", "exceptions": [], "name": "visualize(android.graphics.Bitmap)", "documentation": "Returns a textual representation of the appearance of the object.\n\n@param bitmap the bitmap to visualize\n@return Textual representation of the appearance of the object.\n" }, "writeToParcel(android.os.Parcel,int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "p", "flags" ], "returnType": "void", "exceptions": [], "name": "writeToParcel(android.os.Parcel,int)" } }, "imports": [ "android.os.Build.VERSION_CODES.JELLY_BEAN_MR1", "android.os.Build.VERSION_CODES.KITKAT", "android.os.Build.VERSION_CODES.M", "android.graphics.Bitmap", "android.graphics.Color", "android.graphics.Matrix", "android.graphics.RectF", "android.os.Build", "android.os.Parcel", "android.util.DisplayMetrics", "java.io.FileDescriptor", "java.io.InputStream", "java.io.OutputStream", "java.nio.Buffer", "java.nio.ByteBuffer", "java.util.Arrays", "org.robolectric.annotation.Implementation", "org.robolectric.annotation.Implements", "org.robolectric.annotation.RealObject", "org.robolectric.shadow.api.Shadow", "org.robolectric.util.ReflectionHelpers" ], "name": "org.robolectric.shadows.ShadowBitmap" }