1{ 2 "methods": { 3 "draw(android.graphics.Canvas)": { 4 "isImplementation": true, 5 "modifiers": [ 6 "protected" 7 ], 8 "params": [ 9 "canvas" 10 ], 11 "returnType": "void", 12 "exceptions": [], 13 "name": "draw(android.graphics.Canvas)", 14 "documentation": "Draws the contained bitmap onto the canvas at 0,0 with a default {@code Paint}\n\n@param canvas the canvas to draw on\n" 15 }, 16 "getCreatedFromResId()": { 17 "isImplementation": false, 18 "modifiers": [ 19 "public" 20 ], 21 "params": [], 22 "returnType": "int", 23 "exceptions": [], 24 "name": "getCreatedFromResId()", 25 "documentation": "Returns the resource id that this {@code BitmapDrawable} was loaded from. This lets\nyour tests assert that the bitmap is correct without having to actually load the bitmap.\n\n@return resource id from which this {@code BitmapDrawable} was loaded\n@deprecated use ShadowBitmap#getCreatedFromResId() instead.\n" 26 }, 27 "getPath()": { 28 "isImplementation": false, 29 "modifiers": [ 30 "public" 31 ], 32 "params": [], 33 "returnType": "java.lang.String", 34 "exceptions": [], 35 "name": "getPath()" 36 }, 37 "getSource()": { 38 "isImplementation": false, 39 "modifiers": [ 40 "public" 41 ], 42 "params": [], 43 "returnType": "java.lang.String", 44 "exceptions": [], 45 "name": "getSource()" 46 }, 47 "mutate()": { 48 "isImplementation": true, 49 "modifiers": [ 50 "protected" 51 ], 52 "params": [], 53 "returnType": "android.graphics.drawable.Drawable", 54 "exceptions": [], 55 "name": "mutate()" 56 }, 57 "setColorFilter(android.graphics.ColorFilter)": { 58 "isImplementation": true, 59 "modifiers": [ 60 "protected" 61 ], 62 "params": [ 63 "colorFilter" 64 ], 65 "returnType": "void", 66 "exceptions": [], 67 "name": "setColorFilter(android.graphics.ColorFilter)" 68 } 69 }, 70 "imports": [ 71 "org.robolectric.shadow.api.Shadow.directlyOn", 72 "android.graphics.Bitmap", 73 "android.graphics.Canvas", 74 "android.graphics.ColorFilter", 75 "android.graphics.Paint", 76 "android.graphics.drawable.BitmapDrawable", 77 "android.graphics.drawable.Drawable", 78 "org.robolectric.annotation.Implementation", 79 "org.robolectric.annotation.Implements", 80 "org.robolectric.annotation.RealObject", 81 "org.robolectric.shadow.api.Shadow", 82 "org.robolectric.util.ReflectionHelpers", 83 "org.robolectric.util.ReflectionHelpers.ClassParameter" 84 ], 85 "name": "org.robolectric.shadows.ShadowBitmapDrawable" 86}