/frameworks/base/graphics/java/android/graphics/ |
Color.java | 96 public static int rgb(int red, int green, int blue) { method in class:Color 167 * Convert RGB components to HSV. 230 * Converts an HTML color (named or numeric) to an integer RGB value.
|
/frameworks/native/include/ui/ |
vec4.h | 51 Impersonator< tvec3<T> > rgb; member in union:android::tvec4::__anon29132
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/ |
ColorOverlayDimmer.java | 57 * @param dimColor The color for fully dimmed. Only the RGB values are 75 dimColor = Color.rgb(Color.red(dimColor), Color.green(dimColor), Color.blue(dimColor)); 124 * Change the RGB of the color according to current dim level. Maintains the 128 * @return A color with the RGB values adjusted by the alpha of the current
|
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/ |
AnnCursorPlane.cpp | 126 uint32_t stride = mapper.getStride().rgb.stride;
|
/packages/apps/LegacyCamera/jni/ |
feature_mos_jni.cpp | 309 void decodeYUV444SP(unsigned char* rgb, unsigned char* yuv420sp, int width, 336 //rgb[yp] = 0xff000000 | ((r << 6) & 0xff0000) | ((g >> 2) & 0xff00) | ((b >> 10) & 0xff); 338 rgb[p+0] = (r<<6 & 0xFF0000)>>16; 339 rgb[p+1] = (g>>2 & 0xFF00)>>8; 340 rgb[p+2] = b>>10 & 0xFF;
|
/external/autotest/client/cros/graphics/ |
drm.py | 375 rgb = unformat(ichannels) 376 image.putpixel((x, y), rgb) 403 image = Image.new("RGB", (fb.width, fb.height))
|
/external/opencv3/modules/viz/src/ |
precomp.hpp | 276 Vec3b rgb = Vec3d(color[2], color[1], color[0]); local 278 std::fill(color_data, color_data + size, rgb);
|
/external/deqp/modules/gles2/accuracy/ |
es2aTextureFilteringTests.cpp | 162 deUint32 rgb = step*levelNdx; local 163 deUint32 colorA = 0xff000000 | rgb; 164 deUint32 colorB = 0xff000000 | ~rgb; 434 deUint32 rgb = step*levelNdx*face; local 435 deUint32 colorA = 0xff000000 | rgb; 436 deUint32 colorB = 0xff000000 | ~rgb;
|
/external/deqp/modules/gles3/accuracy/ |
es3aTextureFilteringTests.cpp | 153 deUint32 rgb = step*levelNdx; local 154 deUint32 colorA = 0xff000000 | rgb; 155 deUint32 colorB = 0xff000000 | ~rgb; 421 deUint32 rgb = step*levelNdx*face; local 422 deUint32 colorA = 0xff000000 | rgb; 423 deUint32 colorB = 0xff000000 | ~rgb;
|
/external/deqp/modules/gles3/functional/ |
es3fTextureMipmapTests.cpp | 214 deUint32 rgb = (inc << 16) | (dec << 8) | 0xff; local 215 deUint32 color = 0xff000000 | rgb; 561 deUint32 rgb = 0; local 565 case 0: rgb = (inc << 16) | (dec << 8) | 255; break; 566 case 1: rgb = (255 << 16) | (inc << 8) | dec; break; 567 case 2: rgb = (dec << 16) | (255 << 8) | inc; break; 568 case 3: rgb = (dec << 16) | (inc << 8) | 255; break; 569 case 4: rgb = (255 << 16) | (dec << 8) | inc; break; 570 case 5: rgb = (inc << 16) | (255 << 8) | dec; break; 573 deUint32 color = 0xff000000 | rgb; 1156 deUint32 rgb = (0xff << 16) | (dec << 8) | inc; local 1473 deUint32 rgb = (inc << 16) | (dec << 8) | 0xff; local 1775 deUint32 rgb = 0; local 2096 deUint32 rgb = (inc << 16) | (dec << 8) | 0xff; local [all...] |
es3fTextureShadowTests.cpp | 247 deUint32 rgb = step*levelNdx; local 248 deUint32 colorA = 0xff000000 | rgb; 249 deUint32 colorB = 0xff000000 | ~rgb; 519 deUint32 rgb = step*levelNdx*face; local 520 deUint32 colorA = 0xff000000 | rgb; 521 deUint32 colorB = 0xff000000 | ~rgb; 801 deUint32 rgb = step*levelNdx; local 802 deUint32 colorA = 0xff000000 | rgb; 803 deUint32 colorB = 0xff000000 | ~rgb; [all...] |
es3fTextureFilteringTests.cpp | 193 deUint32 rgb = step*levelNdx; local 194 deUint32 colorA = 0xff000000 | rgb; 195 deUint32 colorB = 0xff000000 | ~rgb; 482 deUint32 rgb = step*levelNdx*face; local 483 deUint32 colorA = 0xff000000 | rgb; 484 deUint32 colorB = 0xff000000 | ~rgb; 780 const deUint32 rgb = step * (levelNdx + layerNdx*numLevels); local 781 const deUint32 colorA = 0xff000000 | rgb; 782 const deUint32 colorB = 0xff000000 | ~rgb; 1024 deUint32 rgb = step*levelNdx; local [all...] |
es3fVertexTextureTests.cpp | 608 const deUint32 rgb = step*levelNdx; local 609 const deUint32 colorA = 0xff000000 | rgb; 610 const deUint32 colorB = 0xff000000 | ~rgb; 928 const deUint32 rgb = step*levelNdx*face; local 1254 const deUint32 rgb = step*levelNdx; local 1594 const deUint32 rgb = step*levelNdx; local [all...] |
/external/libjpeg-turbo/ |
CMakeLists.txt | 477 add_test(cjpeg${suffix}-rgb-islow 478 ${dir}cjpeg${suffix} -rgb -dct int -outfile testout_rgb_islow.jpg 480 add_test(cjpeg${suffix}-rgb-islow-cmp 484 add_test(djpeg${suffix}-rgb-islow 487 add_test(djpeg${suffix}-rgb-islow-cmp 491 # CC: RGB->RGB565 SAMP: fullsize IDCT: islow ENT: huff 492 add_test(djpeg${suffix}-rgb-islow-565 495 add_test(djpeg${suffix}-rgb-islow-565-cmp 499 # CC: RGB->RGB565 (dithered) SAMP: fullsize IDCT: islow ENT: huff 500 add_test(djpeg${suffix}-rgb-islow-565 [all...] |
/external/owasp/sanitizer/src/main/org/owasp/html/ |
CssSchema.java | 205 ImmutableMap.<String, String>of("rgb(", "rgb()", "rgba(", "rgba()"); 235 .put("rgb(", "rgb()").put("rgba(", "rgba()") 378 ImmutableSet<String> rgb$FunLiterals0 = ImmutableSet.of(","); 652 Property rgb$Fun = new Property(1, rgb$FunLiterals0, zeroFns); 653 builder.put("rgb()", rgb$Fun); 656 18, union(mozOutlineLiterals0, rgb$FunLiterals0), mozOutlineFunctions) [all...] |
/external/pdfium/fpdfsdk/src/formfiller/ |
FFL_FormFiller.cpp | 14 #define GetRed(rgb) ((uint8_t)(rgb)) 15 #define GetGreen(rgb) ((uint8_t)(((FX_WORD)(rgb)) >> 8)) 16 #define GetBlue(rgb) ((uint8_t)((rgb) >> 16))
|
/external/pdfium/xfa/src/fdp/src/css/ |
fde_cssdatatable.cpp | 748 uint8_t rgb[3] = {0}; local [all...] |
/prebuilts/sdk/current/support/v7/palette/libs/ |
android-support-v7-palette.jar | |
/external/deqp/modules/gles2/functional/ |
es2fTextureMipmapTests.cpp | 170 deUint32 rgb = (inc << 16) | (dec << 8) | 0xff; local 171 deUint32 color = 0xff000000 | rgb; 522 deUint32 rgb = 0; local 526 case 0: rgb = (inc << 16) | (dec << 8) | 255; break; 527 case 1: rgb = (255 << 16) | (inc << 8) | dec; break; 528 case 2: rgb = (dec << 16) | (255 << 8) | inc; break; 529 case 3: rgb = (dec << 16) | (inc << 8) | 255; break; 530 case 4: rgb = (255 << 16) | (dec << 8) | inc; break; 531 case 5: rgb = (inc << 16) | (255 << 8) | dec; break; 534 deUint32 color = 0xff000000 | rgb; [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
fpdf_render.cpp | 558 FX_COLORREF rgb = pColorData->m_FillRGB; local 559 if (rgb == (FX_DWORD)-1) { 572 rgb = pGeneralData->m_pTransferFunc->TranslateColor(rgb); 578 return m_Options.TranslateColor(ArgbEncode(alpha, rgb)); 592 FX_COLORREF rgb = pColorData->m_StrokeRGB; local 593 if (rgb == (FX_DWORD)-1) { 606 rgb = pGeneralData->m_pTransferFunc->TranslateColor(rgb); 612 return m_Options.TranslateColor(ArgbEncode(alpha, rgb)); [all...] |
/external/pdfium/third_party/libtiff/ |
tif_luv.c | 126 * SGILOGDATAFMT_8BIT = 8-bit default RGB gamma-corrected values 775 XYZtoRGB24(float xyz[3], uint8 rgb[3]) 784 rgb[0] = (uint8)((r<=0.) ? 0 : (r >= 1.) ? 255 : (int)(256.*sqrt(r))); 785 rgb[1] = (uint8)((g<=0.) ? 0 : (g >= 1.) ? 255 : (int)(256.*sqrt(g))); 786 rgb[2] = (uint8)((b<=0.) ? 0 : (b >= 1.) ? 255 : (int)(256.*sqrt(b))); 1016 uint8* rgb = (uint8*) op; local 1022 XYZtoRGB24(xyz, rgb); 1023 rgb += 3; 1154 uint8* rgb = (uint8*) op; local 1160 XYZtoRGB24(xyz, rgb); [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
Utilities.java | 491 // This is an out-param, for getting the hsv values for an rgb 509 int rgb = argb | 0xFF000000; local 510 Color.colorToHSV(rgb, hsv); 529 // Go back over the RGB colors that match the winning hue, 531 // The highest-scoring RGB color wins. 534 int rgb = bitmap.getPixel(x, y) | 0xff000000; local 535 Color.colorToHSV(rgb, hsv); 549 bestColor = rgb; [all...] |
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/ |
QCameraMjpegDecode.cpp | 385 jpeg_buffer_init(&p_output_buffers.data.rgb.rgb_buf); 588 jpeg_buffer_get_addr(p_thread_arg->p_whole_output_buf->data.rgb.rgb_buf, &whole_output_buf_ptr); 589 jpeg_buffer_get_addr(p_output_buffer->data.rgb.rgb_buf, &tiling_buf_ptr);
|
/external/deqp/modules/gles31/functional/ |
es31fTextureFilteringTests.cpp | 250 const deUint32 rgb = step * (levelNdx + layerFaceNdx*numLevels); local 251 const deUint32 colorA = 0xff000000 | rgb; 252 const deUint32 colorB = 0xff000000 | ~rgb;
|
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ |
Palette.java | 241 * Returns the most vibrant color in the palette as an RGB packed int. 252 * Returns a light and vibrant color from the palette as an RGB packed int. 263 * Returns a dark and vibrant color from the palette as an RGB packed int. 274 * Returns a muted color from the palette as an RGB packed int. 285 * Returns a muted and light color from the palette as an RGB packed int. 296 * Returns a muted and dark color from the palette as an RGB packed int. 316 * Returns the selected color for the given target from the palette as an RGB packed int. 410 * Represents a color swatch generated from an image's palette. The RGB color can be retrieved 436 mRgb = Color.rgb(red, green, blue); 446 * @return this swatch's RGB color valu [all...] |