/external/junit/src/junit/swingui/ |
ProgressBar.java | 8 * A progress bar showing the green/red status 20 return Color.red;
|
StatusLine.java | 36 setForeground(Color.red);
|
/external/libpng/contrib/gregbook/ |
rpng2-x.c | 216 {255, 0, 0}, /* 10: red */ 217 { 64, 0, 0}, /* 11: dark red */ 257 {0+8, 12,0, 10,11}, /* checkered: orange/black vs. red */ 259 {1, 12,0, 11,0}, /* diamonds: orange vs. dark red */ 260 {1, 10,0, 7,0}, /* diamonds: red vs. medium blue */ 1217 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; local 1294 ulg red, green, blue; local 1333 ush red, green, blue; local 1419 ulg red, green, blue; local 1495 ush red, green, blue; local 1639 ulg red, green, blue; local 1767 ush red, green, blue; local 1986 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; local [all...] |
rpng-x.c | 706 ulg red, green, blue; local 713 red = *src++; 717 pixel = (red << RShift) | 727 red = (RShift < 0)? red << (-RShift) : red >> RShift; 730 pixel = (red & RMask) | (green & GMask) | (blue & BMask); 745 red = r; 749 red = bg_red; 756 alpha_composite(red, r, a, bg_red) 780 ush red, green, blue; local [all...] |
readppm.c | 133 int readpng_get_bgcolor(uch *red, uch *green, uch *blue)
|
/external/webkit/WebCore/platform/graphics/ |
Gradient.cpp | 136 *r = m_stops.first().red; 143 *r = m_stops.last().red; 155 *r = lastStop.red + (nextStop.red - lastStop.red) * stopFraction;
|
Gradient.h | 105 float red; 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 | 155 int dR = c1.red() - c2.red(); 184 return String::format("#%02X%02X%02X%02X", red(), green(), blue(), alpha()); 185 return String::format("#%02X%02X%02X", red(), green(), blue()); 280 int r = (red() * alpha() * (255 - source.alpha()) + 255 * source.alpha() * source.red()) / d; 296 int r = blendComponent(red(), alpha); 310 r = red() / 255.0f; 318 r = red() / 255.0; 329 double r = static_cast<double>(red()) / 255.0 [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PixelXorXfermodeTest.java | 69 int red = Color.red(color); local 72 return Color.argb(alpha, red, green, blue);
|
RadialGradientTest.java | 45 final int[] colors = { Color.BLUE, Color.GREEN, Color.RED }; 101 int red = (int) ((1d - delta) * Color.red(colors[i1]) + local 102 delta * Color.red(colors[i2])); 107 color = Color.argb(alpha, red, green, blue); 112 assertEquals(Color.red(color), Color.red(pixel), tolerance);
|
SweepGradientTest.java | 62 final int[] colors = new int[] { Color.GREEN, Color.RED }; 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 }; 131 int red = (int) ((1d - delta) * Color.red(colors[i1]) + local 132 delta * Color.red(colors[i2])); 137 color = Color.argb(alpha, red, green, blue); 144 assertEquals(Color.red(color), Color.red(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 | 37 PassRefPtr<CSSPrimitiveValue> RGBColor::red() function in class:WebCore::RGBColor
|
/external/webkit/WebCore/platform/image-decoders/bmp/ |
BMPImageReader.h | 249 inline void setRGBA(unsigned red, 254 m_buffer->setRGBA(m_coord.x(), m_coord.y(), red, green, blue, 264 unsigned red, 270 setRGBA(red, green, blue, alpha);
|
/external/webkit/WebCore/platform/graphics/wince/ |
ImageBufferWince.cpp | 130 int red = *src++; local 133 *dst++ = static_cast<unsigned char>((red * alpha + 254) / 255); 138 *dst++ = static_cast<unsigned char>(red); 186 int red = *src++; local 193 *dst++ = static_cast<unsigned char>(red * 255 / alpha); 198 *dst++ = static_cast<unsigned char>(red);
|
/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)length 139 [self addAttribute:attrName value:[NSColor colorWithDeviceRed:red green:green blue:blue alpha:alpha] range:NSMakeRange((unsigned)from, (unsigned)length)] [all...] |
/external/v8/benchmarks/ |
raytrace.js | 80 red : 0.0, 89 this.red = r; 97 result.red = c1.red + c2.red; 107 result.red = c1.red + s; 119 result.red = c1.red - c2.red; [all...] |
/external/webkit/SunSpider/tests/v8-v4/ |
v8-raytrace.js | 75 red : 0.0, 84 this.red = r; 92 result.red = c1.red + c2.red; 102 result.red = c1.red + s; 114 result.red = c1.red - c2.red; [all...] |
/external/webkit/WebKitTools/DumpRenderTree/qt/ |
ImageDiff.cpp | 101 qreal red = (qRed(pixel) - qRed(basePixel)) / static_cast<float>(qMax(255 - qRed(basePixel), qRed(basePixel))); local 105 qreal distance = sqrt(red * red + green * green + blue * blue + alpha * alpha) / 2.0f;
|
/device/htc/passion-common/liblights/ |
lights.c | 77 .brightness = { "/sys/class/leds/red/brightness", 0}, 78 .blink = { "/sys/class/leds/red/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) 216 return(((red << 16) & 0x00ff0000) | 233 int red, blue, green; local 245 red = (state->color >> 16) & 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 | 74 fbinfo.red_offset = vinfo.red.offset; 75 fbinfo.red_length = vinfo.red.length;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
WindowSurface.java | 160 // X is red, Y is blue. 245 int red = (int)mColor.x + 128; local 246 if (red > 255) red = 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 | 82 CGFloat components[4] = { static_cast<CGFloat>(c.red()) / 255, static_cast<CGFloat>(c.green()) / 255,
|