Puzzled by pixel value in Bitmap (pre multiplied color using setPixel)
问题 I cannot explain this (screenshot from Eclipse debug): Pixel at (0,0) does not have the values it was set for! All other pixels are fine, they do have the same value they were assigned to. EDIT I did some more digging, and the code for setPixel is calling a native function: 1391 public void setPixel(int x, int y, int color) { 1392 checkRecycled("Can't call setPixel() on a recycled bitmap"); 1393 if (!isMutable()) { 1394 throw new IllegalStateException(); 1395 } 1396 checkPixelAccess(x, y);