1{
2  "methods": {
3    "appendDescription(java.lang.String)": {
4      "isImplementation": false,
5      "modifiers": [
6        "public"
7      ],
8      "params": [
9        "s"
10      ],
11      "returnType": "void",
12      "exceptions": [],
13      "name": "appendDescription(java.lang.String)"
14    },
15    "compress(android.graphics.Bitmap.CompressFormat,int,java.io.OutputStream)": {
16      "isImplementation": true,
17      "modifiers": [
18        "protected"
19      ],
20      "params": [
21        "format",
22        "quality",
23        "stream"
24      ],
25      "returnType": "boolean",
26      "exceptions": [],
27      "name": "compress(android.graphics.Bitmap.CompressFormat,int,java.io.OutputStream)"
28    },
29    "copy(android.graphics.Bitmap.Config,boolean)": {
30      "isImplementation": true,
31      "modifiers": [
32        "protected"
33      ],
34      "params": [
35        "config",
36        "isMutable"
37      ],
38      "returnType": "android.graphics.Bitmap",
39      "exceptions": [],
40      "name": "copy(android.graphics.Bitmap.Config,boolean)"
41    },
42    "copyPixelsFromBuffer(java.nio.Buffer)": {
43      "isImplementation": true,
44      "modifiers": [
45        "protected"
46      ],
47      "params": [
48        "dst"
49      ],
50      "returnType": "void",
51      "exceptions": [],
52      "name": "copyPixelsFromBuffer(java.nio.Buffer)"
53    },
54    "copyPixelsToBuffer(java.nio.Buffer)": {
55      "isImplementation": true,
56      "modifiers": [
57        "protected"
58      ],
59      "params": [
60        "dst"
61      ],
62      "returnType": "void",
63      "exceptions": [],
64      "name": "copyPixelsToBuffer(java.nio.Buffer)"
65    },
66    "createAshmemBitmap()": {
67      "isImplementation": true,
68      "modifiers": [
69        "protected"
70      ],
71      "params": [],
72      "returnType": "android.graphics.Bitmap",
73      "exceptions": [],
74      "minSdk": 23,
75      "name": "createAshmemBitmap()"
76    },
77    "createBitmap(android.graphics.Bitmap)": {
78      "isImplementation": true,
79      "modifiers": [
80        "protected",
81        "static"
82      ],
83      "params": [
84        "src"
85      ],
86      "returnType": "android.graphics.Bitmap",
87      "exceptions": [],
88      "name": "createBitmap(android.graphics.Bitmap)"
89    },
90    "createBitmap(android.graphics.Bitmap,int,int,int,int)": {
91      "isImplementation": true,
92      "modifiers": [
93        "protected",
94        "static"
95      ],
96      "params": [
97        "src",
98        "x",
99        "y",
100        "width",
101        "height"
102      ],
103      "returnType": "android.graphics.Bitmap",
104      "exceptions": [],
105      "name": "createBitmap(android.graphics.Bitmap,int,int,int,int)"
106    },
107    "createBitmap(android.graphics.Bitmap,int,int,int,int,android.graphics.Matrix,boolean)": {
108      "isImplementation": true,
109      "modifiers": [
110        "protected",
111        "static"
112      ],
113      "params": [
114        "src",
115        "x",
116        "y",
117        "width",
118        "height",
119        "matrix",
120        "filter"
121      ],
122      "returnType": "android.graphics.Bitmap",
123      "exceptions": [],
124      "name": "createBitmap(android.graphics.Bitmap,int,int,int,int,android.graphics.Matrix,boolean)"
125    },
126    "createBitmap(android.util.DisplayMetrics,int,int,android.graphics.Bitmap.Config)": {
127      "isImplementation": true,
128      "modifiers": [
129        "protected",
130        "static"
131      ],
132      "params": [
133        "displayMetrics",
134        "width",
135        "height",
136        "config"
137      ],
138      "returnType": "android.graphics.Bitmap",
139      "exceptions": [],
140      "minSdk": 17,
141      "name": "createBitmap(android.util.DisplayMetrics,int,int,android.graphics.Bitmap.Config)"
142    },
143    "createBitmap(android.util.DisplayMetrics,int,int,android.graphics.Bitmap.Config,boolean)": {
144      "isImplementation": true,
145      "modifiers": [
146        "protected",
147        "static"
148      ],
149      "params": [
150        "displayMetrics",
151        "width",
152        "height",
153        "config",
154        "hasAlpha"
155      ],
156      "returnType": "android.graphics.Bitmap",
157      "exceptions": [],
158      "minSdk": 17,
159      "name": "createBitmap(android.util.DisplayMetrics,int,int,android.graphics.Bitmap.Config,boolean)"
160    },
161    "createBitmap(int,int,android.graphics.Bitmap.Config)": {
162      "isImplementation": true,
163      "modifiers": [
164        "protected",
165        "static"
166      ],
167      "params": [
168        "width",
169        "height",
170        "config"
171      ],
172      "returnType": "android.graphics.Bitmap",
173      "exceptions": [],
174      "name": "createBitmap(int,int,android.graphics.Bitmap.Config)"
175    },
176    "createBitmap(int[],int,int,android.graphics.Bitmap.Config)": {
177      "isImplementation": true,
178      "modifiers": [
179        "protected",
180        "static"
181      ],
182      "params": [
183        "colors",
184        "width",
185        "height",
186        "config"
187      ],
188      "returnType": "android.graphics.Bitmap",
189      "exceptions": [],
190      "name": "createBitmap(int[],int,int,android.graphics.Bitmap.Config)"
191    },
192    "createScaledBitmap(android.graphics.Bitmap,int,int,boolean)": {
193      "isImplementation": true,
194      "modifiers": [
195        "protected",
196        "static"
197      ],
198      "params": [
199        "src",
200        "dstWidth",
201        "dstHeight",
202        "filter"
203      ],
204      "returnType": "android.graphics.Bitmap",
205      "exceptions": [],
206      "name": "createScaledBitmap(android.graphics.Bitmap,int,int,boolean)"
207    },
208    "eraseColor(int)": {
209      "isImplementation": true,
210      "modifiers": [
211        "protected"
212      ],
213      "params": [
214        "color"
215      ],
216      "returnType": "void",
217      "exceptions": [],
218      "name": "eraseColor(int)"
219    },
220    "extractAlpha()": {
221      "isImplementation": true,
222      "modifiers": [
223        "protected"
224      ],
225      "params": [],
226      "returnType": "android.graphics.Bitmap",
227      "exceptions": [],
228      "name": "extractAlpha()"
229    },
230    "getAllocationByteCount()": {
231      "isImplementation": true,
232      "modifiers": [
233        "protected",
234        "final"
235      ],
236      "params": [],
237      "returnType": "int",
238      "exceptions": [],
239      "minSdk": 19,
240      "name": "getAllocationByteCount()"
241    },
242    "getByteCount()": {
243      "isImplementation": true,
244      "modifiers": [
245        "protected"
246      ],
247      "params": [],
248      "returnType": "int",
249      "exceptions": [],
250      "name": "getByteCount()"
251    },
252    "getBytesPerPixel(android.graphics.Bitmap.Config)": {
253      "isImplementation": false,
254      "modifiers": [
255        "public",
256        "static"
257      ],
258      "params": [
259        "config"
260      ],
261      "returnType": "int",
262      "exceptions": [],
263      "name": "getBytesPerPixel(android.graphics.Bitmap.Config)"
264    },
265    "getConfig()": {
266      "isImplementation": true,
267      "modifiers": [
268        "protected",
269        "final"
270      ],
271      "params": [],
272      "returnType": "android.graphics.Bitmap.Config",
273      "exceptions": [],
274      "name": "getConfig()"
275    },
276    "getCreatedFromBitmap()": {
277      "isImplementation": false,
278      "modifiers": [
279        "public"
280      ],
281      "params": [],
282      "returnType": "android.graphics.Bitmap",
283      "exceptions": [],
284      "name": "getCreatedFromBitmap()",
285      "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"
286    },
287    "getCreatedFromBytes()": {
288      "isImplementation": false,
289      "modifiers": [
290        "public"
291      ],
292      "params": [],
293      "returnType": "byte[]",
294      "exceptions": [],
295      "name": "getCreatedFromBytes()",
296      "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"
297    },
298    "getCreatedFromColors()": {
299      "isImplementation": false,
300      "modifiers": [
301        "public"
302      ],
303      "params": [],
304      "returnType": "int[]",
305      "exceptions": [],
306      "name": "getCreatedFromColors()",
307      "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"
308    },
309    "getCreatedFromFilter()": {
310      "isImplementation": false,
311      "modifiers": [
312        "public"
313      ],
314      "params": [],
315      "returnType": "boolean",
316      "exceptions": [],
317      "name": "getCreatedFromFilter()",
318      "documentation": "{@code true} if this Bitmap was created with filtering.\n@return {@code true} if this Bitmap was created with filtering.\n"
319    },
320    "getCreatedFromHeight()": {
321      "isImplementation": false,
322      "modifiers": [
323        "public"
324      ],
325      "params": [],
326      "returnType": "int",
327      "exceptions": [],
328      "name": "getCreatedFromHeight()",
329      "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"
330    },
331    "getCreatedFromMatrix()": {
332      "isImplementation": false,
333      "modifiers": [
334        "public"
335      ],
336      "params": [],
337      "returnType": "android.graphics.Matrix",
338      "exceptions": [],
339      "name": "getCreatedFromMatrix()",
340      "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"
341    },
342    "getCreatedFromPath()": {
343      "isImplementation": false,
344      "modifiers": [
345        "public"
346      ],
347      "params": [],
348      "returnType": "java.lang.String",
349      "exceptions": [],
350      "name": "getCreatedFromPath()",
351      "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"
352    },
353    "getCreatedFromResId()": {
354      "isImplementation": false,
355      "modifiers": [
356        "public"
357      ],
358      "params": [],
359      "returnType": "int",
360      "exceptions": [],
361      "name": "getCreatedFromResId()",
362      "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"
363    },
364    "getCreatedFromStream()": {
365      "isImplementation": false,
366      "modifiers": [
367        "public"
368      ],
369      "params": [],
370      "returnType": "java.io.InputStream",
371      "exceptions": [],
372      "name": "getCreatedFromStream()",
373      "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"
374    },
375    "getCreatedFromWidth()": {
376      "isImplementation": false,
377      "modifiers": [
378        "public"
379      ],
380      "params": [],
381      "returnType": "int",
382      "exceptions": [],
383      "name": "getCreatedFromWidth()",
384      "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"
385    },
386    "getCreatedFromX()": {
387      "isImplementation": false,
388      "modifiers": [
389        "public"
390      ],
391      "params": [],
392      "returnType": "int",
393      "exceptions": [],
394      "name": "getCreatedFromX()",
395      "documentation": "Horizontal offset within {@link #getCreatedFromBitmap()} of this Bitmap\u0027s content, or -1.\n\n@return Horizontal offset within {@link #getCreatedFromBitmap()}.\n"
396    },
397    "getCreatedFromY()": {
398      "isImplementation": false,
399      "modifiers": [
400        "public"
401      ],
402      "params": [],
403      "returnType": "int",
404      "exceptions": [],
405      "name": "getCreatedFromY()",
406      "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"
407    },
408    "getDensity()": {
409      "isImplementation": true,
410      "modifiers": [
411        "protected"
412      ],
413      "params": [],
414      "returnType": "int",
415      "exceptions": [],
416      "name": "getDensity()"
417    },
418    "getDescription()": {
419      "isImplementation": false,
420      "modifiers": [
421        "public"
422      ],
423      "params": [],
424      "returnType": "java.lang.String",
425      "exceptions": [],
426      "name": "getDescription()"
427    },
428    "getGenerationId()": {
429      "isImplementation": true,
430      "modifiers": [
431        "protected"
432      ],
433      "params": [],
434      "returnType": "int",
435      "exceptions": [],
436      "name": "getGenerationId()"
437    },
438    "getHeight()": {
439      "isImplementation": true,
440      "modifiers": [
441        "protected"
442      ],
443      "params": [],
444      "returnType": "int",
445      "exceptions": [],
446      "name": "getHeight()"
447    },
448    "getPixel(int,int)": {
449      "isImplementation": true,
450      "modifiers": [
451        "protected"
452      ],
453      "params": [
454        "x",
455        "y"
456      ],
457      "returnType": "int",
458      "exceptions": [],
459      "name": "getPixel(int,int)"
460    },
461    "getPixels(int[],int,int,int,int,int,int)": {
462      "isImplementation": true,
463      "modifiers": [
464        "protected"
465      ],
466      "params": [
467        "pixels",
468        "offset",
469        "stride",
470        "x",
471        "y",
472        "width",
473        "height"
474      ],
475      "returnType": "void",
476      "exceptions": [],
477      "name": "getPixels(int[],int,int,int,int,int,int)",
478      "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"
479    },
480    "getRealBitmap()": {
481      "isImplementation": false,
482      "modifiers": [
483        "public"
484      ],
485      "params": [],
486      "returnType": "android.graphics.Bitmap",
487      "exceptions": [],
488      "name": "getRealBitmap()"
489    },
490    "getRowBytes()": {
491      "isImplementation": true,
492      "modifiers": [
493        "protected"
494      ],
495      "params": [],
496      "returnType": "int",
497      "exceptions": [],
498      "name": "getRowBytes()"
499    },
500    "getWidth()": {
501      "isImplementation": true,
502      "modifiers": [
503        "protected"
504      ],
505      "params": [],
506      "returnType": "int",
507      "exceptions": [],
508      "name": "getWidth()"
509    },
510    "hasAlpha()": {
511      "isImplementation": true,
512      "modifiers": [
513        "protected",
514        "final"
515      ],
516      "params": [],
517      "returnType": "boolean",
518      "exceptions": [],
519      "name": "hasAlpha()"
520    },
521    "hasMipMap()": {
522      "isImplementation": true,
523      "modifiers": [
524        "protected",
525        "final"
526      ],
527      "params": [],
528      "returnType": "boolean",
529      "exceptions": [],
530      "minSdk": 17,
531      "name": "hasMipMap()"
532    },
533    "internalCheckPixelAccess(int,int)": {
534      "isImplementation": false,
535      "modifiers": [
536        "private"
537      ],
538      "params": [
539        "x",
540        "y"
541      ],
542      "returnType": "void",
543      "exceptions": [],
544      "name": "internalCheckPixelAccess(int,int)"
545    },
546    "isMutable()": {
547      "isImplementation": true,
548      "modifiers": [
549        "protected",
550        "final"
551      ],
552      "params": [],
553      "returnType": "boolean",
554      "exceptions": [],
555      "name": "isMutable()"
556    },
557    "isPremultiplied()": {
558      "isImplementation": true,
559      "modifiers": [
560        "protected"
561      ],
562      "params": [],
563      "returnType": "boolean",
564      "exceptions": [],
565      "minSdk": 19,
566      "name": "isPremultiplied()"
567    },
568    "isRecycled()": {
569      "isImplementation": true,
570      "modifiers": [
571        "protected",
572        "final"
573      ],
574      "params": [],
575      "returnType": "boolean",
576      "exceptions": [],
577      "name": "isRecycled()"
578    },
579    "nativeCreateFromParcel(android.os.Parcel)": {
580      "isImplementation": true,
581      "modifiers": [
582        "protected",
583        "static"
584      ],
585      "params": [
586        "p"
587      ],
588      "returnType": "android.graphics.Bitmap",
589      "exceptions": [],
590      "name": "nativeCreateFromParcel(android.os.Parcel)"
591    },
592    "reconfigure(int,int,android.graphics.Bitmap.Config)": {
593      "isImplementation": true,
594      "modifiers": [
595        "protected"
596      ],
597      "params": [
598        "width",
599        "height",
600        "config"
601      ],
602      "returnType": "void",
603      "exceptions": [],
604      "minSdk": 19,
605      "name": "reconfigure(int,int,android.graphics.Bitmap.Config)"
606    },
607    "recycle()": {
608      "isImplementation": true,
609      "modifiers": [
610        "protected"
611      ],
612      "params": [],
613      "returnType": "void",
614      "exceptions": [],
615      "name": "recycle()"
616    },
617    "sameAs(android.graphics.Bitmap)": {
618      "isImplementation": true,
619      "modifiers": [
620        "protected"
621      ],
622      "params": [
623        "other"
624      ],
625      "returnType": "boolean",
626      "exceptions": [],
627      "name": "sameAs(android.graphics.Bitmap)"
628    },
629    "setConfig(android.graphics.Bitmap.Config)": {
630      "isImplementation": true,
631      "modifiers": [
632        "protected"
633      ],
634      "params": [
635        "config"
636      ],
637      "returnType": "void",
638      "exceptions": [],
639      "minSdk": 19,
640      "name": "setConfig(android.graphics.Bitmap.Config)"
641    },
642    "setCreatedFromResId(int,java.lang.String)": {
643      "isImplementation": false,
644      "modifiers": [
645        "public"
646      ],
647      "params": [
648        "resId",
649        "description"
650      ],
651      "returnType": "void",
652      "exceptions": [],
653      "name": "setCreatedFromResId(int,java.lang.String)"
654    },
655    "setDensity(int)": {
656      "isImplementation": true,
657      "modifiers": [
658        "protected"
659      ],
660      "params": [
661        "density"
662      ],
663      "returnType": "void",
664      "exceptions": [],
665      "name": "setDensity(int)"
666    },
667    "setDescription(java.lang.String)": {
668      "isImplementation": false,
669      "modifiers": [
670        "public"
671      ],
672      "params": [
673        "s"
674      ],
675      "returnType": "void",
676      "exceptions": [],
677      "name": "setDescription(java.lang.String)"
678    },
679    "setHasAlpha(boolean)": {
680      "isImplementation": true,
681      "modifiers": [
682        "protected"
683      ],
684      "params": [
685        "hasAlpha"
686      ],
687      "returnType": "void",
688      "exceptions": [],
689      "name": "setHasAlpha(boolean)"
690    },
691    "setHasMipMap(boolean)": {
692      "isImplementation": true,
693      "modifiers": [
694        "protected",
695        "final"
696      ],
697      "params": [
698        "hasMipMap"
699      ],
700      "returnType": "void",
701      "exceptions": [],
702      "minSdk": 17,
703      "name": "setHasMipMap(boolean)"
704    },
705    "setHeight(int)": {
706      "isImplementation": true,
707      "modifiers": [
708        "protected"
709      ],
710      "params": [
711        "height"
712      ],
713      "returnType": "void",
714      "exceptions": [],
715      "minSdk": 19,
716      "name": "setHeight(int)"
717    },
718    "setMutable(boolean)": {
719      "isImplementation": false,
720      "modifiers": [
721        "public"
722      ],
723      "params": [
724        "mutable"
725      ],
726      "returnType": "void",
727      "exceptions": [],
728      "name": "setMutable(boolean)"
729    },
730    "setPixel(int,int,int)": {
731      "isImplementation": true,
732      "modifiers": [
733        "protected"
734      ],
735      "params": [
736        "x",
737        "y",
738        "color"
739      ],
740      "returnType": "void",
741      "exceptions": [],
742      "name": "setPixel(int,int,int)"
743    },
744    "setPixels(int[],int,int,int,int,int,int)": {
745      "isImplementation": true,
746      "modifiers": [
747        "protected"
748      ],
749      "params": [
750        "pixels",
751        "offset",
752        "stride",
753        "x",
754        "y",
755        "width",
756        "height"
757      ],
758      "returnType": "void",
759      "exceptions": [],
760      "name": "setPixels(int[],int,int,int,int,int,int)"
761    },
762    "setPremultiplied(boolean)": {
763      "isImplementation": true,
764      "modifiers": [
765        "protected"
766      ],
767      "params": [
768        "isPremultiplied"
769      ],
770      "returnType": "void",
771      "exceptions": [],
772      "minSdk": 19,
773      "name": "setPremultiplied(boolean)"
774    },
775    "setWidth(int)": {
776      "isImplementation": true,
777      "modifiers": [
778        "protected"
779      ],
780      "params": [
781        "width"
782      ],
783      "returnType": "void",
784      "exceptions": [],
785      "minSdk": 19,
786      "name": "setWidth(int)"
787    },
788    "visualize(android.graphics.Bitmap)": {
789      "isImplementation": false,
790      "modifiers": [
791        "public",
792        "static"
793      ],
794      "params": [
795        "bitmap"
796      ],
797      "returnType": "java.lang.String",
798      "exceptions": [],
799      "name": "visualize(android.graphics.Bitmap)",
800      "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"
801    },
802    "writeToParcel(android.os.Parcel,int)": {
803      "isImplementation": true,
804      "modifiers": [
805        "protected"
806      ],
807      "params": [
808        "p",
809        "flags"
810      ],
811      "returnType": "void",
812      "exceptions": [],
813      "name": "writeToParcel(android.os.Parcel,int)"
814    }
815  },
816  "imports": [
817    "android.os.Build.VERSION_CODES.JELLY_BEAN_MR1",
818    "android.os.Build.VERSION_CODES.KITKAT",
819    "android.os.Build.VERSION_CODES.M",
820    "android.graphics.Bitmap",
821    "android.graphics.Color",
822    "android.graphics.Matrix",
823    "android.graphics.RectF",
824    "android.os.Build",
825    "android.os.Parcel",
826    "android.util.DisplayMetrics",
827    "java.io.FileDescriptor",
828    "java.io.InputStream",
829    "java.io.OutputStream",
830    "java.nio.Buffer",
831    "java.nio.ByteBuffer",
832    "java.util.Arrays",
833    "org.robolectric.annotation.Implementation",
834    "org.robolectric.annotation.Implements",
835    "org.robolectric.annotation.RealObject",
836    "org.robolectric.shadow.api.Shadow",
837    "org.robolectric.util.ReflectionHelpers"
838  ],
839  "name": "org.robolectric.shadows.ShadowBitmap"
840}