/sdk/eclipse/scripts/ |
_mk_icons.sh | 8 icon M green manifest 11 icon P green package 13 icon I green instrumentation 14 icon F green functionalTest 15 icon H green handleProfiling 16 icon I green icon 17 icon T green targetPackage 21 icon N green name 27 icon P green process 28 icon T green taskAffinit [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
GLColor.java | 22 public final int green; field in class:GLColor 26 public GLColor(int red, int green, int blue, int alpha) { 28 this.green = green; 33 public GLColor(int red, int green, int blue) { 35 this.green = green; 45 green == color.green &&
|
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
SDL_x11gamma_c.h | 27 extern int X11_SetVidModeGamma(_THIS, float red, float green, float blue); 28 extern int X11_GetVidModeGamma(_THIS, float *red, float *green, float *blue);
|
SDL_x11gamma.c | 33 static int X11_SetGammaNoLock(_THIS, float red, float green, float blue) 49 if ( green < MIN_GAMMA ) { 50 gamma.green = MIN_GAMMA; 52 if ( green > MAX_GAMMA ) { 53 gamma.green = MAX_GAMMA; 55 gamma.green = green; 70 gamma_saved[1] = gamma.green; 83 int X11_SetVidModeGamma(_THIS, float red, float green, float blue) 88 result = X11_SetGammaNoLock(this, red, green, blue) [all...] |
/external/webkit/WebCore/platform/graphics/haiku/ |
ColorHaiku.cpp | 37 : m_color(makeRGBA(color.red, color.green, color.blue, color.alpha)) 44 return make_color(red(), green(), blue(), alpha());
|
/external/webkit/WebCore/platform/graphics/qt/ |
ColorQt.cpp | 36 : m_color(makeRGBA(c.red(), c.green(), c.blue(), c.alpha())) 44 return QColor(red(), green(), blue(), alpha());
|
/external/webkit/WebCore/platform/graphics/filters/ |
FEColorMatrix.cpp | 70 inline void matrix(double& red, double& green, double& blue, double& alpha, const Vector<float>& values) 72 double r = values[0] * red + values[1] * green + values[2] * blue + values[3] * alpha; 73 double g = values[5] * red + values[6] * green + values[7] * blue + values[8] * alpha; 74 double b = values[10] * red + values[11] * green + values[12] * blue + values[13] * alpha; 75 double a = values[15] * red + values[16] * green + values[17] * blue + values[18] * alpha; 78 green = g; 83 inline void saturate(double& red, double& green, double& blue, const float& s) 85 double r = (0.213 + 0.787 * s) * red + (0.715 - 0.715 * s) * green + (0.072 - 0.072 * s) * blue; 86 double g = (0.213 - 0.213 * s) * red + (0.715 + 0.285 * s) * green + (0.072 - 0.072 * s) * blue; 87 double b = (0.213 - 0.213 * s) * red + (0.715 - 0.715 * s) * green + (0.072 + 0.928 * s) * blue 133 double red = r, green = g, blue = b, alpha = a; local [all...] |
/external/webkit/WebCore/platform/graphics/gtk/ |
ColorGtk.cpp | 28 : m_color(makeRGB(c.red >> 8, c.green >> 8, c.blue >> 8))
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_gamma.c | 93 int SDL_SetGamma(float red, float green, float blue) 105 CalculateGammaRamp(green, ramp[1]); 111 succeeded = video->SetGamma(this, red, green, blue); 119 int SDL_GetGamma(float *red, float *green, float *blue) 133 CalculateGammaFromRamp(green, ramp[1]); 139 succeeded = video->GetGamma(this, red, green, blue); 144 int SDL_SetGammaRamp(const Uint16 *red, const Uint16 *green, const Uint16 *blue) 166 if ( green ) { 167 SDL_memcpy(&video->gamma[1*256], green, 256*sizeof(*video->gamma)); 196 int SDL_GetGammaRamp(Uint16 *red, Uint16 *green, Uint16 *blue [all...] |
/external/webkit/WebCore/svg/ |
ColorDistance.cpp | 39 , m_greenDiff(toColor.green() - fromColor.green()) 70 clampColorValue(first.green() + second.green()), 77 clampColorValue(color.green() + m_greenDiff),
|
SVGFEComponentTransferElement.cpp | 72 ComponentTransferFunction green; local 80 green = static_cast<SVGFEFuncGElement*>(n)->transferFunction(); 87 RefPtr<FilterEffect> effect = FEComponentTransfer::create(input1, red, green, blue, alpha);
|
/external/webkit/WebCore/platform/graphics/wx/ |
ColorWx.cpp | 36 m_color = makeRGBA((int)color.Red(), (int)color.Green(), (int)color.Blue(), (int)color.Alpha()); 41 return wxColour(red(), green(), blue(), alpha());
|
/frameworks/base/graphics/java/android/graphics/ |
Color.java | 27 * green, blue. The values are unpremultiplied, meaning any transparency is 30 * (green << 8) | blue. Each component ranges between 0..255 with 0 33 * no contributions from red, green, or blue), and opaque-white would be 43 public static final int GREEN = 0xFF00FF00; 67 * Return the green component of a color int. This is the same as saying 70 public static int green(int color) { method in class:Color 83 * Return a color-int from red, green, blue components. 89 * @param green Green component [0..255] of the color 92 public static int rgb(int red, int green, int blue) 259 float green = 0.0f; local [all...] |
/external/skia/src/animator/ |
SkDrawColor.cpp | 34 SkScalar green = SkIntToScalar(SkColorGetG(color)); local 36 SkScalar min = SkMinScalar(SkMinScalar(red, green), blue); 37 SkScalar value = SkMaxScalar(SkMaxScalar(red, green), blue); 50 hue = SkScalarMul(green - blue, part60); 54 else if (green == value) 57 hue = 240 * SK_Scalar1 + SkScalarMul(red - green, part60); 74 SkScalar green SK_INIT_TO_AVOID_WARNING; 77 red = green = blue = value; 87 case 0: red = value; green = t; blue = p; break; 88 case 1: red = q; green = value; blue = p; break [all...] |
/sdk/traceview/src/com/android/traceview/ |
ColorController.java | 35 new RGB(0, 240, 0), // green 41 new RGB(150, 255, 150), // light green 45 new RGB(0, 120, 0), // dark green 59 return requestColor(display, rgb.red, rgb.green, rgb.blue); 63 return requestColorSquare(display, rgb.red, rgb.green, rgb.blue); 66 public static Color requestColor(Display display, int red, int green, int blue) { 67 int key = (red << 16) | (green << 8) | blue; 70 color = new Color(display, red, green, blue); 76 public static Image requestColorSquare(Display display, int red, int green, int blue) { 77 int key = (red << 16) | (green << 8) | blue [all...] |
/external/webkit/WebCore/platform/graphics/mac/ |
ColorMac.mm | 59 [c getRed:&redComponent green:&greenComponent blue:&blueComponent alpha:&alpha]; 75 DEFINE_STATIC_LOCAL(RetainPtr<NSColor>, clearColor, ([NSColor colorWithDeviceRed:0 green:0 blue:0 alpha:0])); 79 DEFINE_STATIC_LOCAL(RetainPtr<NSColor>, blackColor, ([NSColor colorWithDeviceRed:0 green:0 blue:0 alpha:1])); 83 DEFINE_STATIC_LOCAL(RetainPtr<NSColor>, whiteColor, ([NSColor colorWithDeviceRed:1 green:1 blue:1 alpha:1])); 96 green:static_cast<CGFloat>(color.green()) / 255 116 [deviceColor getRed:&components[0] green:&components[1] blue:&components[2] alpha:&components[3]];
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
LinearGradientTest.java | 53 int[] color = { Color.BLUE, Color.GREEN, Color.RED }; 61 // BLUE -> GREEN, B sub-value decreasing while G sub-value increasing 64 assertTrue(Color.green(b.getPixel(10, 0)) < Color.green(b.getPixel(10, 5))); 65 assertTrue(Color.green(b.getPixel(10, 5)) < Color.green(b.getPixel(10, 10))); 66 // GREEN -> RED, G sub-value decreasing while R sub-value increasing 67 assertTrue(Color.green(b.getPixel(10, 15)) > Color.green(b.getPixel(10, 20))); 68 assertTrue(Color.green(b.getPixel(10, 20)) > Color.green(b.getPixel(10, 25))) [all...] |
/external/libpng/contrib/gregbook/ |
readpng.c | 154 int readpng_get_bgcolor(uch *red, uch *green, uch *blue) 172 * takes a pointer to a pointer, and it always returns valid red, green 183 *green = pBackground->green >> 8; 187 *red = *green = *blue = pBackground->gray? 255 : 0; 189 *red = *green = *blue = (255/3) * pBackground->gray; 191 *red = *green = *blue = (255/15) * pBackground->gray; 194 *green = (uch)pBackground->green;
|
rpng2-x.c | 209 { 64, 132, 0}, /* 3: medium green */ 220 { 24, 60, 0}, /* 14: dark green-yellow */ 262 {1, 3,0, 0,0}, /* diamonds: medium green vs. black */ 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...] |
/external/webkit/WebCore/css/ |
RGBColor.idl | 26 readonly attribute CSSPrimitiveValue green;
|
RGBColor.h | 41 PassRefPtr<CSSPrimitiveValue> green();
|
/external/webkit/WebCore/platform/graphics/cairo/ |
FontCairo.cpp | 82 Color shadowFillColor(shadowColor.red(), shadowColor.green(), shadowColor.blue(), shadowColor.alpha() * fillColor.alpha() / 255); 85 float red, green, blue, alpha; local 86 shadowFillColor.getRGBA(red, green, blue, alpha); 87 cairo_set_source_rgba(cr, red, green, blue, alpha); 147 float red, green, blue, alpha; local 148 fillColor.getRGBA(red, green, blue, alpha); 149 cairo_set_source_rgba(cr, red, green, blue, alpha * context->getAlpha()); 178 float red, green, blue, alpha; local 179 strokeColor.getRGBA(red, green, blue, alpha); 180 cairo_set_source_rgba(cr, red, green, blue, alpha * context->getAlpha()) [all...] |
/external/junit/src/junit/swingui/ |
ProgressBar.java | 8 * A progress bar showing the green/red status 21 return Color.green;
|
/external/libpng/ |
pngrtran.c | 500 int g = (palette[i].green >> (8 - PNG_DITHER_GREEN_BITS)); 677 double green) 680 int green_fixed = (int)((float)green*100000.0 + 0.5); 689 png_fixed_point red, png_fixed_point green) 718 if (red < 0 || green < 0) 723 else if (red + green < 100000L) 726 green_int = (png_uint_16)(((png_uint_32)green*32768L)/100000L); 804 png_ptr->background.red == png_ptr->background.green && 822 png_ptr->background.red = png_ptr->background.green 827 png_ptr->trans_values.red = png_ptr->trans_values.green 2350 png_byte green = png_ptr->gamma_to_1[*(sp++)]; local 2370 png_byte green = *(sp++); local 2393 png_uint_16 red, green, blue, w; local 2428 png_uint_16 red, green, blue, gray16; local 2455 png_byte green = png_ptr->gamma_to_1[*(sp++)]; local 2472 png_byte green = *(sp++); local 2491 png_uint_16 red, green, blue, w; local 2528 png_uint_16 red, green, blue, gray16; local 3983 png_byte green = trans_value->green & 0xff; local [all...] |
/external/qemu/distrib/libpng-1.2.19/ |
pngrtran.c | 476 int g = (palette[i].green >> (8 - PNG_DITHER_GREEN_BITS)); 644 double green) 647 int green_fixed = (int)((float)green*100000.0 + 0.5); 655 png_fixed_point red, png_fixed_point green) 678 if(red < 0 || green < 0) 683 else if(red + green < 100000L) 686 green_int = (png_uint_16)(((png_uint_32)green*32768L)/100000L); 757 png_ptr->background.red == png_ptr->background.green && 775 png_ptr->background.red = png_ptr->background.green 780 png_ptr->trans_values.red = png_ptr->trans_values.green 2255 png_byte green = png_ptr->gamma_to_1[*(sp++)]; local 2275 png_byte green = *(sp++); local 2298 png_uint_16 red, green, blue, w; local 2332 png_uint_16 red, green, blue, gray16; local 2359 png_byte green = png_ptr->gamma_to_1[*(sp++)]; local 2376 png_byte green = *(sp++); local 2395 png_uint_16 red, green, blue, w; local 2431 png_uint_16 red, green, blue, gray16; local 3853 png_byte green = trans_value->green & 0xff; local [all...] |