Home
last modified time | relevance | path

Searched refs:pixel (Results 1 – 2 of 2) sorted by relevance

/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/util/
DPsdFile.java114 final int pixel = pixels[i]; in writeImage() local
115 a[i] = (byte) ((pixel >> 24) & 0xFF); in writeImage()
116 r[i] = (byte) ((pixel >> 16) & 0xFF); in writeImage()
117 g[i] = (byte) ((pixel >> 8) & 0xFF); in writeImage()
118 b[i] = (byte) (pixel & 0xFF); in writeImage()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
DScreenViewer.java448 int pixel = image.getRGB(x, y); in showPixel() local
449 color = new Color(pixel); in showPixel()
450 hLabel.setText("#" + Integer.toHexString(pixel)); in showPixel()
451 rLabel.setText(String.valueOf((pixel >> 16) & 0xff)); in showPixel()
452 gLabel.setText(String.valueOf((pixel >> 8) & 0xff)); in showPixel()
453 bLabel.setText(String.valueOf((pixel ) & 0xff)); in showPixel()