/frameworks/base/awt/java/awt/image/ |
H A D | IndexColorModel.java | 442 int rgb = (components[offset] << 16) | (components[offset + 1]) << 8 445 rgb |= components[offset + 3] << 24; 447 rgb |= 0xff000000; 449 return getDataElements(rgb, pixel); 453 public synchronized Object getDataElements(int rgb, Object pixel) { argument 454 int red = (rgb >> 16) & 0xff; 455 int green = (rgb >> 8) & 0xff; 456 int blue = rgb & 0xff; 457 int alpha = rgb >>> 24; 462 if (rgb 751 getRGBs(int rgb[]) argument [all...] |
H A D | AreaAveragingScaleFilter.java | 204 int rgb, pix; 211 rgb = model.getRGB(pix); 212 int a = rgb >>> 24; 213 int r = (rgb >> 16) & 0xff; 214 int g = (rgb >> 8) & 0xff; 215 int b = rgb & 0xff;
|
H A D | DirectColorModel.java | 74 * The is_s rgb. 79 * The is_ linea r_ rgb. 222 public Object getDataElements(int rgb, Object pixel) { argument 230 ia[0] = rgb; 234 int alpha = (rgb >> 24) & 0xff; 235 int red = (rgb >> 16) & 0xff; 236 int green = (rgb >> 8) & 0xff; 237 int blue = rgb & 0xff;
|
H A D | ComponentColorModel.java | 139 * The is_s rgb. 144 * The is_ linea r_ rgb. 535 public Object getDataElements(int rgb, Object pixel) { argument 539 int red = (rgb >> 16) & 0xff; 540 int green = (rgb >> 8) & 0xff; 541 int blue = rgb & 0xff; 542 int alpha = (rgb >> 24) & 0xff; 1181 float rgb[] = toRGB(pixel); 1182 return (int)(rgb[0] * 255.0f + 0.5f); 1193 float rgb[] [all...] |
H A D | RGBImageFilter.java | 189 * @param rgb 193 public abstract int filterRGB(int x, int y, int rgb); argument
|
H A D | BufferedImage.java | 819 * @param rgb 822 public synchronized void setRGB(int x, int y, int rgb) { argument 823 raster.setDataElements(x, y, cm.getDataElements(rgb, null));
|
H A D | ColorModel.java | 256 * @param rgb 266 public Object getDataElements(int rgb, Object pixel) { argument
|
/frameworks/base/libs/rs/ |
H A D | rsScriptC_Lib.cpp | 910 static void SC_hsbToRgb(float h, float s, float b, float* rgb) argument 960 rgb[0] = red; 961 rgb[1] = green; 962 rgb[2] = blue; 967 float rgb[3]; local 968 SC_hsbToRgb(h, s, b, rgb); 970 int(rgb[2] * 255.0f) << 16 | 971 int(rgb[1] * 255.0f) << 8 | 972 int(rgb[0] * 255.0f); 978 float rgb[ local [all...] |
/frameworks/base/opengl/libagl/ |
H A D | dxt.cpp | 72 * r4r3r2r1 r0g5g4g3 g2g1g0b4 b3b2b1b0 rgb 73 * r4r3r2 r1r0g5g4 g3g2g1g0 b4b3b2b1 b0 0 0 0 rgb << 3 78 * r4r3r2r1 r0------ -------- -------- -------- -------- (rgb << 8) & 0xf80000 79 * r4r3r2 -------- -------- -------- -------- (rgb << 3) & 0x070000 80 * g5g4g3g2 g1g0---- -------- -------- (rgb << 5) & 0x00fc00 81 * g5g4 -------- -------- (rgb >> 1) & 0x000300 82 * b4b3b2b1 b0------ (rgb << 3) & 0x0000f8 83 * b4b3b2 (rgb >> 2) & 0x000007 85 * Operation count: 5 <<, 6 &, 5 | (n.b. rgb >> 3 is used twice) 87 inline static int rgb565To888(int rgb) argument [all...] |
H A D | mipmap.cpp | 73 uint32_t rgb = (grb & 0xFFFF) | (grb >> 16); local 74 dst[x + y*stride] = rgb;
|
/frameworks/base/awt/java/awt/ |
H A D | Color.java | 346 * @param rgb 349 public Color(int rgb) { argument 350 value = rgb | 0xFF000000; 961 * @param rgb 964 protected ColorPaintContext(int rgb) { argument 965 rgbValue = rgb;
|
/frameworks/base/awt/org/apache/harmony/awt/gl/image/ |
H A D | OffscreenImage.java | 216 int rgb = model.getRGB(pixels[sOff + idx]); 217 buf = cm.getDataElements(rgb, buf); 304 int rgb = model.getRGB(pixels[sOff + idx] & 0xff); 305 raster.setDataElements(sx, sy, cm.getDataElements(rgb, null));
|
/frameworks/base/camera/libcameraservice/ |
H A D | FakeCamera.cpp | 30 // TODO: All this rgb to yuv should probably be in a util class. 280 static void convert_rgb16_to_yuv422(uint8_t *rgb, uint8_t *yuv, int width, int height) argument 302 ccrgb16toyuv_wo_colorkey(rgb, yuv, param, table);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Color.java | 91 public static int rgb(int red, int green, int blue) { method in class:Color
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/ |
H A D | IconLoader.java | 316 pixels[pixelIndex++] = Color.rgb(clut[clutIndex],
|