/external/webkit/WebCore/platform/graphics/ |
Gradient.cpp | 138 *b = m_stops.first().blue; 145 *b = m_stops.last().blue; 157 *b = lastStop.blue + (nextStop.blue - lastStop.blue) * stopFraction;
|
Gradient.h | 107 float blue; member in struct:WebCore::Gradient::ColorStop 110 ColorStop() : stop(0), red(0), green(0), blue(0), alpha(0) { } 111 ColorStop(float s, float r, float g, float b, float a) : stop(s), red(r), green(g), blue(b), alpha(a) { }
|
Color.cpp | 157 int dB = c1.blue() - c2.blue(); 184 return String::format("#%02X%02X%02X%02X", red(), green(), blue(), alpha()); 185 return String::format("#%02X%02X%02X", red(), green(), blue()); 282 int b = (blue() * alpha() * (255 - source.alpha()) + 255 * source.alpha() * source.blue()) / d; 298 int b = blendComponent(blue(), alpha); 312 b = blue() / 255.0f; 320 b = blue() / 255.0; 331 double b = static_cast<double>(blue()) / 255.0 [all...] |
/external/libpng/contrib/gregbook/ |
rpng-x.c | 706 ulg red, green, blue; local 715 blue = *src++; 719 (blue << BShift); 729 blue = (BShift < 0)? blue << (-BShift) : blue >> BShift; 730 pixel = (red & RMask) | (green & GMask) | (blue & BMask); 747 blue = b; 751 blue = bg_blue; 758 alpha_composite(blue, b, a, bg_blue) 780 ush red, green, blue; local [all...] |
readppm.c | 133 int readpng_get_bgcolor(uch *red, uch *green, uch *blue)
|
/external/freetype/src/autofit/ |
aflatin2.c | 179 AF_LatinBlue blue; local 189 AF_LOG(( "blue zones computation\n" )); 200 AF_LOG(( "blue %3d: ", bb )); 338 * we couldn't find a single glyph to compute this blue zone, 346 /* now determine the reference and overshoot position of the blue -- */ 351 blue = & axis->blues[axis->blue_count]; 352 blue_ref = & blue->ref.org; 353 blue_shoot = & blue->shoot.org; 387 blue->flags = 0; 389 blue->flags |= AF_LATIN_BLUE_TOP 530 AF_LatinBlue blue = NULL; local 591 AF_LatinBlue blue = &axis->blues[nn]; local 1367 AF_LatinBlue blue = latin->blues + bb; local 1808 AF_Width blue; local [all...] |
aflatin.c | 173 AF_LatinBlue blue; local 183 AF_LOG(( "blue zones computation\n" )); 194 AF_LOG(( "blue %3d: ", bb )); 333 * we couldn't find a single glyph to compute this blue zone, 341 /* now determine the reference and overshoot position of the blue -- */ 346 blue = & axis->blues[axis->blue_count]; 347 blue_ref = & blue->ref.org; 348 blue_shoot = & blue->shoot.org; 382 blue->flags = 0; 384 blue->flags |= AF_LATIN_BLUE_TOP 524 AF_LatinBlue blue = NULL; local 594 AF_LatinBlue blue = &axis->blues[nn]; local 1293 AF_LatinBlue blue = latin->blues + bb; local 1719 AF_Width blue; local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PixelXorXfermodeTest.java | 56 // black ^ green ^ cyan = blue 57 assertEquals(Color.BLUE, target.getPixel(width * 3 / 4, height * 3 / 4)); 71 int blue = Color.blue(color); local 72 return Color.argb(alpha, red, green, blue);
|
RadialGradientTest.java | 45 final int[] colors = { Color.BLUE, Color.GREEN, Color.RED }; 64 final int[] colors = { Color.BLUE, Color.GREEN }; 105 int blue = (int) ((1d - delta) * Color.blue(colors[i1]) + local 106 delta * Color.blue(colors[i2])); 107 color = Color.argb(alpha, red, green, blue); 114 assertEquals(Color.blue(color), Color.blue(pixel), tolerance);
|
SweepGradientTest.java | 76 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE }; 91 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE, Color.GREEN }; 135 int blue = (int) ((1d - delta) * Color.blue(colors[i1]) + local 136 delta * Color.blue(colors[i2])); 137 color = Color.argb(alpha, red, green, blue); 146 assertEquals(Color.blue(color), Color.blue(pixel), tolerance);
|
/external/webkit/WebCore/platform/wx/wxcode/mac/carbon/ |
non-kerned-drawing.cpp | 80 CGFloat red, green, blue, alpha; local 81 graphicsContext->fillColor().getRGBA(red, green, blue, alpha); 82 CGContextSetRGBFillColor(cgContext, red, green, blue, alpha);
|
/external/webkit/WebCore/css/ |
RGBColor.cpp | 49 PassRefPtr<CSSPrimitiveValue> RGBColor::blue() function in class:WebCore::RGBColor
|
/external/webkit/WebCore/platform/image-decoders/bmp/ |
BMPImageReader.h | 251 unsigned blue, 254 m_buffer->setRGBA(m_coord.x(), m_coord.y(), red, green, blue, 266 unsigned blue, 270 setRGBA(red, green, blue, alpha);
|
/external/webkit/WebCore/platform/graphics/wince/ |
ImageBufferWince.cpp | 128 int blue = *src++; local 135 *dst++ = static_cast<unsigned char>((blue * alpha + 254) / 255); 140 *dst++ = static_cast<unsigned char>(blue); 188 int blue = *src++; local 191 *dst++ = static_cast<unsigned char>(blue * 255 / alpha); 196 *dst++ = static_cast<unsigned char>(blue);
|
/external/webkit/WebKitTools/DumpRenderTree/mac/ |
TextInputController.m | 74 || aSelector == @selector(addColorAttribute:red:green:blue:alpha:) 75 || aSelector == @selector(addColorAttribute:red:green:blue:alpha:from:length:) 94 if (aSelector == @selector(addColorAttribute:red:green:blue:alpha:)) 96 if (aSelector == @selector(addColorAttribute:red:green:blue:alpha:from:length:)) 132 - (void)addColorAttribute:(NSString *)attrName red:(float)red green:(float)green blue:(float)blue alpha:(float)alpha 134 [self addAttribute:attrName value:[NSColor colorWithDeviceRed:red green:green blue:blue alpha:alpha] range:NSMakeRange(0, [self length])]; 137 - (void)addColorAttribute:(NSString *)attrName red:(float)red green:(float)green blue:(float)blue alpha:(float)alpha from:(int)from length:(int)lengt [all...] |
/external/v8/benchmarks/ |
raytrace.js | 82 blue : 0.0, 91 this.blue = b; 99 result.blue = c1.blue + c2.blue; 109 result.blue = c1.blue + s; 121 result.blue = c1.blue - c2.blue; [all...] |
/external/webkit/SunSpider/tests/v8-v4/ |
v8-raytrace.js | 77 blue : 0.0, 86 this.blue = b; 94 result.blue = c1.blue + c2.blue; 104 result.blue = c1.blue + s; 116 result.blue = c1.blue - c2.blue; [all...] |
/external/webkit/WebKitTools/DumpRenderTree/qt/ |
ImageDiff.cpp | 103 qreal blue = (qBlue(pixel) - qBlue(basePixel)) / static_cast<float>(qMax(255 - qBlue(basePixel), qBlue(basePixel))); local 105 qreal distance = sqrt(red * red + green * green + blue * blue + alpha * alpha) / 2.0f;
|
/device/htc/passion-common/liblights/ |
lights.c | 85 .brightness = { "/sys/class/leds/blue/brightness", 0}, 86 .blink = { "/sys/class/leds/blue/blink", 0}, 187 write_rgb(struct led_prop *prop, int red, int green, int blue) 196 LOGV("%s %s: red:%d green:%d blue:%d\n", 197 __func__, prop->filename, red, green, blue); 199 bytes = snprintf(buffer, sizeof(buffer), "%d %d %d\n", red, green, blue); 214 set_rgb(int red, int green, int blue) 218 (blue & 0x000000ff)); 233 int red, blue, green; local 247 blue = state->color & 0xff [all...] |
/external/webkit/WebCore/platform/graphics/gtk/ |
FontGtk.cpp | 210 float red, green, blue, alpha; local 223 Color shadowFillColor(shadowColor.red(), shadowColor.green(), shadowColor.blue(), shadowColor.alpha() * fillColor.alpha() / 255); 226 shadowFillColor.getRGBA(red, green, blue, alpha); 227 cairo_set_source_rgba(cr, red, green, blue, alpha); 241 fillColor.getRGBA(red, green, blue, alpha); 242 cairo_set_source_rgba(cr, red, green, blue, alpha); 253 strokeColor.getRGBA(red, green, blue, alpha); 254 cairo_set_source_rgba(cr, red, green, blue, alpha);
|
/system/core/adb/ |
framebuffer_service.c | 78 fbinfo.blue_offset = vinfo.blue.offset; 79 fbinfo.blue_length = vinfo.blue.length;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
WindowSurface.java | 160 // X is red, Y is blue. 247 int blue = (int)mColor.y + 128; local 248 if (blue > 255) blue = 255; 249 int color = 0xff000000 | (red<<16) | blue;
|
/external/webkit/WebCore/platform/graphics/cairo/ |
GradientCairo.cpp | 56 cairo_pattern_add_color_stop_rgba(m_gradient, stopIterator->stop, stopIterator->red, stopIterator->green, stopIterator->blue, stopIterator->alpha);
|
/external/webkit/WebCore/platform/graphics/cg/ |
ColorCG.cpp | 83 static_cast<CGFloat>(c.blue()) / 255, static_cast<CGFloat>(c.alpha()) / 255 };
|
/external/webkit/WebCore/platform/graphics/qt/ |
GradientQt.cpp | 59 stopColor.setRgbF(stopIterator->red, stopIterator->green, stopIterator->blue, stopIterator->alpha);
|