/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
D | SDL_x11gamma.c | 33 static int X11_SetGammaNoLock(_THIS, float red, float green, float blue) in X11_SetGammaNoLock() argument 57 if ( blue < MIN_GAMMA ) { in X11_SetGammaNoLock() 58 gamma.blue = MIN_GAMMA; in X11_SetGammaNoLock() 60 if ( blue > MAX_GAMMA ) { in X11_SetGammaNoLock() 61 gamma.blue = MAX_GAMMA; in X11_SetGammaNoLock() 63 gamma.blue = blue; in X11_SetGammaNoLock() 71 gamma_saved[2] = gamma.blue; in X11_SetGammaNoLock() 83 int X11_SetVidModeGamma(_THIS, float red, float green, float blue) in X11_SetVidModeGamma() argument 88 result = X11_SetGammaNoLock(this, red, green, blue); in X11_SetVidModeGamma() 94 static int X11_GetGammaNoLock(_THIS, float *red, float *green, float *blue) in X11_GetGammaNoLock() argument [all …]
|
/external/chromium_org/cc/trees/ |
D | layer_tree_host_pixeltest_readback.cc | 167 scoped_refptr<SolidColorLayer> blue = CreateSolidColorLayer( in TEST_F() local 169 green->AddChild(blue); in TEST_F() 185 scoped_refptr<SolidColorLayer> blue = CreateSolidColorLayer( in TEST_F() local 187 green->AddChild(blue); in TEST_F() 203 scoped_refptr<SolidColorLayer> blue = CreateSolidColorLayer( in TEST_F() local 205 green->AddChild(blue); in TEST_F() 313 scoped_refptr<SolidColorLayer> blue = CreateSolidColorLayer( in TEST_F() local 315 green->AddChild(blue); in TEST_F() 333 scoped_refptr<SolidColorLayer> blue = CreateSolidColorLayer( in TEST_F() local 335 green->AddChild(blue); in TEST_F() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
D | SDL_gamma.c | 93 int SDL_SetGamma(float red, float green, float blue) in SDL_SetGamma() argument 106 CalculateGammaRamp(blue, ramp[2]); in SDL_SetGamma() 111 succeeded = video->SetGamma(this, red, green, blue); in SDL_SetGamma() 119 int SDL_GetGamma(float *red, float *green, float *blue) in SDL_GetGamma() argument 134 CalculateGammaFromRamp(blue, ramp[2]); in SDL_GetGamma() 139 succeeded = video->GetGamma(this, red, green, blue); in SDL_GetGamma() 144 int SDL_SetGammaRamp(const Uint16 *red, const Uint16 *green, const Uint16 *blue) in SDL_SetGammaRamp() argument 169 if ( blue ) { in SDL_SetGammaRamp() 170 SDL_memcpy(&video->gamma[2*256], blue, 256*sizeof(*video->gamma)); in SDL_SetGammaRamp() 196 int SDL_GetGammaRamp(Uint16 *red, Uint16 *green, Uint16 *blue) in SDL_GetGammaRamp() argument [all …]
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
D | imageformats.h | 31 dst->blue = lum; in readColor() 37 dst->L = gl::floatToNormalized<unsigned char>((src->red + src->green + src->blue) / 3.0f); in writeColor() 54 dst->blue = 0.0f; in readColor() 62 dst->blue = 0; in readColor() 90 dst->blue = 0.0f; in readColor() 115 dst->blue = lum; in readColor() 121 dst->L = gl::floatToNormalized<unsigned char>((src->red + src->green + src->blue) / 3.0f); in writeColor() 141 dst->blue = lum; in readColor() 147 dst->L = gl::floatToNormalized<unsigned char>((src->red + src->green + src->blue) / 3.0f); in writeColor() 166 dst->blue = 0.0f; in readColor() [all …]
|
/external/skia/src/animator/ |
D | SkDrawColor.cpp | 27 SkScalar blue = SkIntToScalar(SkColorGetB(color)); in RGB_to_HSV() local 28 SkScalar min = SkMinScalar(SkMinScalar(red, green), blue); in RGB_to_HSV() 29 SkScalar value = SkMaxScalar(SkMaxScalar(red, green), blue); in RGB_to_HSV() 42 hue = SkScalarMul(green - blue, part60); in RGB_to_HSV() 47 hue = 120 * SK_Scalar1 + SkScalarMul(blue - red, part60); in RGB_to_HSV() 67 SkScalar blue SK_INIT_TO_AVOID_WARNING; in HSV_to_RGB() 69 red = green = blue = value; in HSV_to_RGB() 79 case 0: red = value; green = t; blue = p; break; in HSV_to_RGB() 80 case 1: red = q; green = value; blue = p; break; in HSV_to_RGB() 81 case 2: red = p; green = value; blue = t; break; in HSV_to_RGB() [all …]
|
/external/chromium_org/third_party/skia/src/animator/ |
D | SkDrawColor.cpp | 27 SkScalar blue = SkIntToScalar(SkColorGetB(color)); in RGB_to_HSV() local 28 SkScalar min = SkMinScalar(SkMinScalar(red, green), blue); in RGB_to_HSV() 29 SkScalar value = SkMaxScalar(SkMaxScalar(red, green), blue); in RGB_to_HSV() 42 hue = SkScalarMul(green - blue, part60); in RGB_to_HSV() 47 hue = 120 * SK_Scalar1 + SkScalarMul(blue - red, part60); in RGB_to_HSV() 67 SkScalar blue SK_INIT_TO_AVOID_WARNING; in HSV_to_RGB() 69 red = green = blue = value; in HSV_to_RGB() 79 case 0: red = value; green = t; blue = p; break; in HSV_to_RGB() 80 case 1: red = q; green = value; blue = p; break; in HSV_to_RGB() 81 case 2: red = p; green = value; blue = t; break; in HSV_to_RGB() [all …]
|
/external/freetype/src/autofit/ |
D | afblue.dat | 3 // Auto-fitter data for blue strings. 15 // This file contains data specific to blue zones. It gets processed by 60 // fixed-size arrays at compile time for further processing of the blue zone 66 // The blue zone string data, to be used in the blue stringsets below. 87 // blue zone, which must be always present 169 // The blue zone stringsets, as used in the script styles, cf. `afstyles.h'. 174 // A blue zone in general is defined by a reference and an overshoot line. 176 // are set equal to the reference value, provided that the blue zone is not 177 // wider than 0.75 pixels (otherwise the blue zone gets ignored). All 181 // sequentially checked, edge by edge, against the blue zones in the order [all …]
|
D | aflatin.c | 267 AF_LatinBlue blue; in af_latin_metrics_init_blues() local 745 blue = &axis->blues[axis->blue_count]; in af_latin_metrics_init_blues() 746 blue_ref = &blue->ref.org; in af_latin_metrics_init_blues() 747 blue_shoot = &blue->shoot.org; in af_latin_metrics_init_blues() 787 blue->flags = 0; in af_latin_metrics_init_blues() 789 blue->flags |= AF_LATIN_BLUE_TOP; in af_latin_metrics_init_blues() 791 blue->flags |= AF_LATIN_BLUE_NEUTRAL; in af_latin_metrics_init_blues() 799 blue->flags |= AF_LATIN_BLUE_ADJUSTMENT; in af_latin_metrics_init_blues() 922 AF_LatinBlue blue = NULL; in af_latin_metrics_scale_dim() local 929 blue = &Axis->blues[nn]; in af_latin_metrics_scale_dim() [all …]
|
D | aflatin2.c | 193 AF_LatinBlue blue; in af_latin2_metrics_init_blues() local 366 blue = & axis->blues[axis->blue_count]; in af_latin2_metrics_init_blues() 367 blue_ref = & blue->ref.org; in af_latin2_metrics_init_blues() 368 blue_shoot = & blue->shoot.org; in af_latin2_metrics_init_blues() 408 blue->flags = 0; in af_latin2_metrics_init_blues() 410 blue->flags |= AF_LATIN_BLUE_TOP; in af_latin2_metrics_init_blues() 418 blue->flags |= AF_LATIN_BLUE_ADJUSTMENT; in af_latin2_metrics_init_blues() 552 AF_LatinBlue blue = NULL; in af_latin2_metrics_scale_dim() local 559 blue = &vaxis->blues[nn]; in af_latin2_metrics_scale_dim() 564 if ( blue ) in af_latin2_metrics_scale_dim() [all …]
|
D | afcjk.c | 268 AF_CJKBlue blue; in af_cjk_metrics_init_blues() local 452 blue = &axis->blues[axis->blue_count]; in af_cjk_metrics_init_blues() 453 blue_ref = &blue->ref.org; in af_cjk_metrics_init_blues() 454 blue_shoot = &blue->shoot.org; in af_cjk_metrics_init_blues() 494 blue->flags = 0; in af_cjk_metrics_init_blues() 496 blue->flags |= AF_CJK_BLUE_TOP; in af_cjk_metrics_init_blues() 619 AF_CJKBlue blue = &axis->blues[nn]; in af_cjk_metrics_scale_dim() local 623 blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; in af_cjk_metrics_scale_dim() 624 blue->ref.fit = blue->ref.cur; in af_cjk_metrics_scale_dim() 625 blue->shoot.cur = FT_MulFix( blue->shoot.org, scale ) + delta; in af_cjk_metrics_scale_dim() [all …]
|
/external/chromium_org/components/dom_distiller/core/css/ |
D | distilledpage.css | 350 #loader .circle.blue .mask.first { 356 #loader .circle.blue .mask.second { 418 #loader .circle.blue .mask.first .base { 423 #loader .circle.blue .mask.second .base { 463 #loader .circle.blue .mask.first .mover { 468 #loader .circle.blue .mask.second .mover { 515 #loader.blue .circle.blue, 516 #loader.blue .circle.blue .mask, 517 #loader.blue .circle.blue .mask .base { 520 #loader.blue .circle.blue .mask.first .mover { [all …]
|
/external/qemu/distrib/libpng-1.2.46/ |
D | pngrtran.c | 501 int b = (palette[i].blue >> (8 - PNG_DITHER_BLUE_BITS)); in png_set_dither() 816 png_ptr->background.red == png_ptr->background.blue) in png_init_read_transformations() 834 = png_ptr->background.blue = png_ptr->background.gray; in png_init_read_transformations() 839 = png_ptr->trans_values.blue = png_ptr->trans_values.gray; in png_init_read_transformations() 846 = png_ptr->background.blue = png_ptr->background.gray; in png_init_read_transformations() 851 = png_ptr->trans_values.blue = png_ptr->trans_values.gray; in png_init_read_transformations() 858 = png_ptr->background.blue = png_ptr->background.gray; in png_init_read_transformations() 863 = png_ptr->trans_values.blue = png_ptr->trans_values.gray; in png_init_read_transformations() 871 = png_ptr->background.blue = png_ptr->background.gray; in png_init_read_transformations() 881 png_ptr->background.blue = in png_init_read_transformations() [all …]
|
/external/chromium_org/third_party/libpng/ |
D | pngrtran.c | 501 int b = (palette[i].blue >> (8 - PNG_DITHER_BLUE_BITS)); in png_set_dither() 816 png_ptr->background.red == png_ptr->background.blue) in png_init_read_transformations() 834 = png_ptr->background.blue = png_ptr->background.gray; in png_init_read_transformations() 839 = png_ptr->trans_values.blue = png_ptr->trans_values.gray; in png_init_read_transformations() 846 = png_ptr->background.blue = png_ptr->background.gray; in png_init_read_transformations() 851 = png_ptr->trans_values.blue = png_ptr->trans_values.gray; in png_init_read_transformations() 858 = png_ptr->background.blue = png_ptr->background.gray; in png_init_read_transformations() 863 = png_ptr->trans_values.blue = png_ptr->trans_values.gray; in png_init_read_transformations() 871 = png_ptr->background.blue = png_ptr->background.gray; in png_init_read_transformations() 881 png_ptr->background.blue = in png_init_read_transformations() [all …]
|
/external/libpng/contrib/gregbook/ |
D | rpng2-x.c | 1197 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; in rpng2_x_load_bg_image() local 1253 if (ii == 0) { red = v; green = t; blue = p; } in rpng2_x_load_bg_image() 1254 else if (ii == 1) { red = q; green = v; blue = p; } in rpng2_x_load_bg_image() 1255 else if (ii == 2) { red = p; green = v; blue = t; } in rpng2_x_load_bg_image() 1256 else if (ii == 3) { red = p; green = q; blue = v; } in rpng2_x_load_bg_image() 1257 else if (ii == 4) { red = t; green = p; blue = v; } in rpng2_x_load_bg_image() 1258 else if (ii == 5) { red = v; green = p; blue = q; } in rpng2_x_load_bg_image() 1261 *dest++ = (uch)(blue * 255.0); in rpng2_x_load_bg_image() 1274 ulg red, green, blue; in rpng2_x_load_bg_image() local 1284 blue = *src++; in rpng2_x_load_bg_image() [all …]
|
D | readpng.c | 155 int readpng_get_bgcolor(uch *red, uch *green, uch *blue) in readpng_get_bgcolor() argument 185 *blue = pBackground->blue >> 8; in readpng_get_bgcolor() 188 *red = *green = *blue = pBackground->gray? 255 : 0; in readpng_get_bgcolor() 190 *red = *green = *blue = (255/3) * pBackground->gray; in readpng_get_bgcolor() 192 *red = *green = *blue = (255/15) * pBackground->gray; in readpng_get_bgcolor() 196 *blue = (uch)pBackground->blue; in readpng_get_bgcolor()
|
D | rpng-x.c | 706 ulg red, green, blue; in rpng_x_display_image() local 715 blue = *src++; in rpng_x_display_image() 719 (blue << BShift); in rpng_x_display_image() 729 blue = (BShift < 0)? blue << (-BShift) : blue >> BShift; in rpng_x_display_image() 730 pixel = (red & RMask) | (green & GMask) | (blue & BMask); in rpng_x_display_image() 747 blue = b; in rpng_x_display_image() 751 blue = bg_blue; in rpng_x_display_image() 758 alpha_composite(blue, b, a, bg_blue); in rpng_x_display_image() 762 (blue << BShift); in rpng_x_display_image() 780 ush red, green, blue; in rpng_x_display_image() local [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowColor.java | 11 public static int rgb(int red, int green, int blue) { in rgb() argument 12 return argb(0xff, red, green, blue); in rgb() 16 public static int argb(int alpha, int red, int green, int blue) { in argb() argument 17 return (alpha << 24) | (red << 16) | (green << 8) | blue; in argb()
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
D | ColorDistance.cpp | 29 …rn Color(first.red() + second.red(), first.green() + second.green(), first.blue() + second.blue()); in addColors() 36 int blueDiff = toColor.blue() - fromColor.blue(); in distance()
|
/external/eigen/blas/testing/ |
D | runblastest.sh | 7 blue='\E[34m' 22 echo -e $blue 30 echo -e $blue 38 echo -e $blue
|
/external/chromium_org/third_party/freetype/src/autofit/ |
D | afcjk.c | 281 AF_CJKBlue blue; in af_cjk_metrics_init_blues() local 454 blue = & axis->blues[axis->blue_count]; in af_cjk_metrics_init_blues() 455 blue_ref = & blue->ref.org; in af_cjk_metrics_init_blues() 456 blue_shoot = & blue->shoot.org; in af_cjk_metrics_init_blues() 489 blue->flags = 0; in af_cjk_metrics_init_blues() 491 blue->flags |= AF_CJK_BLUE_IS_TOP; in af_cjk_metrics_init_blues() 493 blue->flags |= AF_CJK_BLUE_IS_RIGHT; in af_cjk_metrics_init_blues() 610 AF_CJKBlue blue = &axis->blues[nn]; in af_cjk_metrics_scale_dim() local 614 blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; in af_cjk_metrics_scale_dim() 615 blue->ref.fit = blue->ref.cur; in af_cjk_metrics_scale_dim() [all …]
|
D | aflatin2.c | 192 AF_LatinBlue blue; in af_latin2_metrics_init_blues() local 365 blue = & axis->blues[axis->blue_count]; in af_latin2_metrics_init_blues() 366 blue_ref = & blue->ref.org; in af_latin2_metrics_init_blues() 367 blue_shoot = & blue->shoot.org; in af_latin2_metrics_init_blues() 407 blue->flags = 0; in af_latin2_metrics_init_blues() 409 blue->flags |= AF_LATIN_BLUE_TOP; in af_latin2_metrics_init_blues() 417 blue->flags |= AF_LATIN_BLUE_ADJUSTMENT; in af_latin2_metrics_init_blues() 551 AF_LatinBlue blue = NULL; in af_latin2_metrics_scale_dim() local 558 blue = &vaxis->blues[nn]; in af_latin2_metrics_scale_dim() 563 if ( blue ) in af_latin2_metrics_scale_dim() [all …]
|
D | aflatin.c | 224 AF_LatinBlue blue; in af_latin_metrics_init_blues() local 433 blue = &axis->blues[axis->blue_count]; in af_latin_metrics_init_blues() 434 blue_ref = &blue->ref.org; in af_latin_metrics_init_blues() 435 blue_shoot = &blue->shoot.org; in af_latin_metrics_init_blues() 475 blue->flags = 0; in af_latin_metrics_init_blues() 477 blue->flags |= AF_LATIN_BLUE_TOP; in af_latin_metrics_init_blues() 485 blue->flags |= AF_LATIN_BLUE_ADJUSTMENT; in af_latin_metrics_init_blues() 607 AF_LatinBlue blue = NULL; in af_latin_metrics_scale_dim() local 614 blue = &Axis->blues[nn]; in af_latin_metrics_scale_dim() 619 if ( blue ) in af_latin_metrics_scale_dim() [all …]
|
/external/chromium_org/v8/benchmarks/ |
D | raytrace.js | 82 blue : 0.0, property in Flog.RayTracer.Color 91 this.blue = b; 99 result.blue = c1.blue + c2.blue; 109 result.blue = c1.blue + s; 121 result.blue = c1.blue - c2.blue; 131 result.blue = c1.blue * c2.blue; 141 result.blue = c1.blue * f; 151 result.blue = c1.blue / f; 159 this.blue = (this.blue > 0.0) ? ( (this.blue > 1.0) ? 1.0 : this.blue ) : 0.0; 163 ….abs(this.red - color.red) + Math.abs(this.green - color.green) + Math.abs(this.blue - color.blue); [all …]
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/ |
D | v8-raytrace.js | 77 blue : 0.0, property in Flog.RayTracer.Color 86 this.blue = b; 94 result.blue = c1.blue + c2.blue; 104 result.blue = c1.blue + s; 116 result.blue = c1.blue - c2.blue; 126 result.blue = c1.blue * c2.blue; 136 result.blue = c1.blue * f; 146 result.blue = c1.blue / f; 154 this.blue = (this.blue > 0.0) ? ( (this.blue > 1.0) ? 1.0 : this.blue ) : 0.0; 158 ….abs(this.red - color.red) + Math.abs(this.green - color.green) + Math.abs(this.blue - color.blue); [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | Color.cpp | 176 int dB = c1.blue() - c2.blue(); in differenceSquared() 205 result.appendNumber(static_cast<unsigned char>(blue())); in serializedAsCSSComponentValue() 226 appendByteAsHex(blue(), builder, Lowercase); in serialized() 238 result.appendNumber(blue()); in serialized() 254 return String::format("#%02X%02X%02X%02X", red(), green(), blue(), alpha()); in nameForRenderTreeAsText() 255 return String::format("#%02X%02X%02X", red(), green(), blue()); in nameForRenderTreeAsText() 356 int b = (blue() * alpha() * (255 - source.alpha()) + 255 * source.alpha() * source.blue()) / d; in blend() 372 int b = blendComponent(blue(), alpha); in blendWithWhite() 386 b = blue() / 255.0f; in getRGBA() 394 b = blue() / 255.0; in getRGBA() [all …]
|