/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
MediaNotificationProcessor.java | 72 private Palette.Filter mBlackWhiteFilter = (rgb, hsl) -> !isWhiteOrBlack(hsl); 137 paletteBuilder.addFilter((rgb, hsl) -> {
|
/frameworks/native/libs/ui/include/ui/ |
ColorSpace.h | 49 * Creates a named color space with the specified RGB->XYZ 66 * Creates a named color space with the specified RGB->XYZ 82 * Creates a named color space with the specified RGB->XYZ 98 * and white point. The RGB<>XYZ conversion matrices are 116 * and white point. The RGB<>XYZ conversion matrices are 133 * and white point. The RGB<>XYZ conversion matrices are 150 * Encodes the supplied RGB value using this color space's 158 * Decodes the supplied RGB value using this color space's 166 * Converts the supplied XYZ value to RGB. The returned value 175 * Converts the supplied RGB value to XYZ. The input RGB valu [all...] |
/frameworks/native/opengl/libagl/ |
mipmap.cpp | 73 uint32_t rgb = (grb & 0xFFFF) | (grb >> 16); local 74 dst[x + y*stride] = rgb;
|
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/ |
TngCursorPlane.cpp | 125 uint32_t stride = mapper.getStride().rgb.stride; 148 uint32_t stride = mapper.getStride().rgb.stride;
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/ |
AnnCursorPlane.cpp | 125 uint32_t stride = mapper.getStride().rgb.stride; 148 uint32_t stride = mapper.getStride().rgb.stride;
|
/external/deqp/modules/gles31/functional/ |
es31fDrawBuffersIndexedTests.cpp | 124 : rgb (rgb_) 129 BlendEq rgb; member in struct:deqp::gles31::Functional::__anon18703::SeparateBlendEq 148 : rgb (rgb_) 153 BlendFunc rgb; member in struct:deqp::gles31::Functional::__anon18703::SeparateBlendFunc 209 gl.blendEquationSeparate(blendEq.get<SeparateBlendEq>().rgb, blendEq.get<SeparateBlendEq>().alpha); 221 gl.blendFuncSeparate(blendFunc.get<SeparateBlendFunc>().rgb.src, blendFunc.get<SeparateBlendFunc>().rgb.dst, blendFunc.get<SeparateBlendFunc>().alpha.src, blendFunc.get<SeparateBlendFunc>().alpha.dst); 253 gl.blendEquationSeparatei(index, blendEq.get<SeparateBlendEq>().rgb, blendEq.get<SeparateBlendEq>().alpha); 265 gl.blendFuncSeparatei(index, blendFunc.get<SeparateBlendFunc>().rgb.src, blendFunc.get<SeparateBlendFunc>().rgb.dst, blendFunc.get<SeparateBlendFunc>().alpha.src, blendFunc.get<SeparateBlendFunc>().alpha.dst) 1269 const BlendEq rgb = getRandomBlendEq(rng); local 1282 const BlendFunc rgb = getRandomBlendFunc(rng); local [all...] |
/external/pdfium/third_party/lcms/src/ |
lcms2_internal.h | 103 #define FROM_8_TO_16(rgb) (cmsUInt16Number) ((((cmsUInt16Number) (rgb)) << 8)|(rgb)) 104 #define FROM_16_TO_8(rgb) (cmsUInt8Number) ((((cmsUInt32Number)(rgb) * 65281U + 8388608U) >> 24) & 0xFFU) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
GCWrapper.java | 32 import org.eclipse.swt.graphics.RGB; 139 public @NonNull IColor registerColor(int rgb) { 142 Integer key = Integer.valueOf(rgb); 146 (rgb >> 16) & 0xFF, 147 (rgb >> 8) & 0xFF, 148 (rgb >> 0) & 0xFF)); 431 RGB stroke = swtStyle.getStrokeColor(); 436 RGB fill = swtStyle.getFillColor(); 468 * @param defaultColorDesc The RGB values to initialize the color to if we 472 private Color getStrokeColor(DrawingStyle style, RGB defaultColorDesc) [all...] |
/external/skia/src/ports/ |
SkFontHost_mac.cpp | 210 uint32_t rgb = 0; 213 CGBitmapContextCreate(&rgb, 1, 1, 8, 4, colorspace.get(), BITMAP_INFO_RGB)); 225 uint32_t r = (rgb >> 16) & 0xFF; 226 uint32_t g = (rgb >> 8) & 0xFF; 227 uint32_t b = (rgb >> 0) & 0xFF; [all...] |
/external/skqp/src/ports/ |
SkFontHost_mac.cpp | 210 uint32_t rgb = 0; 213 CGBitmapContextCreate(&rgb, 1, 1, 8, 4, colorspace.get(), BITMAP_INFO_RGB)); 225 uint32_t r = (rgb >> 16) & 0xFF; 226 uint32_t g = (rgb >> 8) & 0xFF; 227 uint32_t b = (rgb >> 0) & 0xFF; [all...] |
/cts/apps/CameraITS/pymodules/its/ |
image.py | 53 """Convert a captured image object to a RGB image. 57 ccm_yuv_to_rgb: (Optional) the 3x3 CCM to convert from YUV to RGB. 63 RGB float-3 image array, with pixel values in [0.0, 1.0]. 259 rgb = decompress_jpeg_to_rgb_image(cap["data"]).reshape(w*h*3) 260 return (rgb[::3].reshape(h,w,1), 261 rgb[1::3].reshape(h,w,1), 262 rgb[2::3].reshape(h,w,1)) 369 """Convert a Bayer raw-16 image to an RGB image. 382 RGB float-3 image array, with pixel values in [0.0, 1.0] 384 # Values required for the RAW to RGB conversion [all...] |
/external/testng/src/main/java/org/testng/reporters/ |
SuiteHTMLReporter.java | 450 long[] rgb = { local 456 for (int i = 0; i < rgb.length; i++) { 457 if (rgb[i] < 0x60) { 458 rgb[i] += 0x60; 461 long adjustedColor = (rgb[0] << 16) | (rgb[1] << 8) | rgb[2];
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
vktTextureShadowTests.cpp | 255 const deUint32 rgb = step*levelNdx; local 256 const deUint32 colorA = 0xff000000 | rgb; 257 const deUint32 colorB = 0xff000000 | ~rgb; 476 const deUint32 rgb = step*levelNdx*face; local 477 const deUint32 colorA = 0xff000000 | rgb; 478 const deUint32 colorB = 0xff000000 | ~rgb; 682 const deUint32 rgb = step*levelNdx; local 683 const deUint32 colorA = 0xff000000 | rgb; 684 const deUint32 colorB = 0xff000000 | ~rgb; [all...] |
/external/webp/src/dsp/ |
upsampling_msa.c | 10 // MSA version of YUV to RGB upsampling functions. 247 static void YuvToRgb(int y, int u, int v, uint8_t* const rgb) { 252 rgb[0] = Clip8(r1 >> 6); 253 rgb[1] = Clip8(g1 >> 6); 254 rgb[2] = Clip8(b1 >> 6); 267 static void YuvToRgb565(int y, int u, int v, uint8_t* const rgb) { 278 rgb[0] = gb; 279 rgb[1] = rg; 281 rgb[0] = rg; 282 rgb[1] = gb [all...] |
dsp.h | 399 // Convert a pair of y/u/v lines together to the output rgb/a colorspace. 409 // Fancy upsampling functions to convert YUV to RGB(A) modes 424 // Sampling functions to convert rows of YUV to RGB(A) 432 // YUV444->RGB converters 459 extern void (*WebPConvertRGBA32ToUV)(const uint16_t* rgb, 462 // Convert RGB or BGR to Y 463 extern void (*WebPConvertRGB24ToY)(const uint8_t* rgb, uint8_t* y, int width); 469 extern void WebPConvertRGBA32ToUV_C(const uint16_t* rgb, 472 // utilities for accurate RGB->YUV conversion 581 // RGB packing function. 'step' can be 3 or 4. r/g/b input is rgb or bgr order [all...] |
/external/pdfium/core/fxge/win32/ |
fx_win32_device.cpp | 139 FX_COLORREF rgb; local 140 std::tie(a, rgb) = ArgbToColorRef(argb); 142 lb.lbColor = rgb; 162 FX_COLORREF rgb; local 163 std::tie(a, rgb) = ArgbToColorRef(argb); 164 return CreateSolidBrush(rgb); 1079 FX_COLORREF rgb; local 1133 FX_COLORREF rgb; local [all...] |
/external/skia/src/utils/ |
SkParseColor.cpp | 34 int rgb; member in struct:SkNameRGB 214 SkDebugf("0x%08x, ", nameRGB.rgb); 506 SkASSERT(result == (SkColor) (nameRGB.rgb | 0xFF000000));
|
/external/skqp/src/utils/ |
SkParseColor.cpp | 34 int rgb; member in struct:SkNameRGB 214 SkDebugf("0x%08x, ", nameRGB.rgb); 506 SkASSERT(result == (SkColor) (nameRGB.rgb | 0xFF000000));
|
/external/pcre/dist2/src/ |
pcre2_dfa_match.c | 1374 uint32_t lgb, rgb; local 1635 uint32_t lgb, rgb; local 1907 uint32_t lgb, rgb; local 2102 uint32_t lgb, rgb; local [all...] |
/external/webrtc/talk/media/base/ |
videoframe_unittest.h | 274 uint8_t rgb[4] = {255, 255, 255, 255}; local 275 rgb[r_pos] = ((x / 63) & 1) ? 224 : 32; 276 rgb[g_pos] = (x % 63 + y % 63) + 96; 277 rgb[b_pos] = ((y / 63) & 1) ? 224 : 32; 278 ms->Write(rgb, bytes, NULL, NULL); 324 // Convert RGB to 420. 348 const uint8_t* rgb[4]; local 350 rgb[0] = start + y * pitch + x * bytes; 351 rgb[1] = rgb[0] + ((x + 1) < width ? bytes : 0) [all...] |
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/ |
BitmapUploadActivity.java | 61 mBitmap.eraseColor(Color.rgb(mColorValue, 255 - mColorValue, 255));
|
/frameworks/native/libs/math/include/math/ |
vec4.h | 56 TVec3<T> rgb; member in union:android::details::TVec4::__anon46364
|
/frameworks/support/leanback/src/main/java/androidx/leanback/graphics/ |
ColorOverlayDimmer.java | 58 * @param dimColor The color for fully dimmed. Only the RGB values are 76 dimColor = Color.rgb(Color.red(dimColor), Color.green(dimColor), Color.blue(dimColor)); 125 * Change the RGB of the color according to current dim level. Maintains the 129 * @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;
|