Sets ImageInfo to width, height, and native color type; and allocates pixel memory. Sets ImageInfo to ColorAlphaType#PREMUL. Calls reset() and returns false if width exceeds 29 bits or is negative, or height is negative. Returns false if allocation fails. Use to create Bitmap that matches
(int width, int height)
| 517 | * @return true if pixel storage is allocated |
| 518 | */ |
| 519 | public boolean allocN32Pixels(int width, int height) { |
| 520 | return allocN32Pixels(width, height, false); |
| 521 | } |
| 522 | |
| 523 | /** |
| 524 | * Sets ImageInfo to width, height, and native color type; and allocates |