HomeSort by relevance Sort by last modified time
    Searched refs:blue (Results 1 - 25 of 275) sorted by null

1 2 3 4 5 6 7 8 91011

  /development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
GLColor.java 23 public final int blue; field in class:GLColor
26 public GLColor(int red, int green, int blue, int alpha) {
29 this.blue = blue;
33 public GLColor(int red, int green, int blue) {
36 this.blue = blue;
46 blue == color.blue &&
  /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)
57 if ( blue < MIN_GAMMA ) {
58 gamma.blue = MIN_GAMMA;
60 if ( blue > MAX_GAMMA ) {
61 gamma.blue = MAX_GAMMA;
63 gamma.blue = blue;
71 gamma_saved[2] = gamma.blue;
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;
79 blue = b;
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))
  /sdk/eclipse/scripts/
_mk_icons.sh 9 icon S blue sharedUserId
19 icon U blue uses-permission
22 icon L blue label
24 icon A blue application
26 icon P blue persistent
29 icon T blue theme
38 icon S blue service
40 icon C blue clearOnBackground
45 icon F blue intent-filter
54 icon P blue pat
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/
SDL_gamma.c 93 int SDL_SetGamma(float red, float green, float blue)
106 CalculateGammaRamp(blue, ramp[2]);
111 succeeded = video->SetGamma(this, red, green, blue);
119 int SDL_GetGamma(float *red, float *green, float *blue)
134 CalculateGammaFromRamp(blue, ramp[2]);
139 succeeded = video->GetGamma(this, red, green, blue);
144 int SDL_SetGammaRamp(const Uint16 *red, const Uint16 *green, const Uint16 *blue)
169 if ( blue ) {
170 SDL_memcpy(&video->gamma[2*256], blue, 256*sizeof(*video->gamma));
196 int SDL_GetGammaRamp(Uint16 *red, Uint16 *green, Uint16 *blue)
    [all...]
  /external/webkit/WebCore/svg/
ColorDistance.cpp 40 , m_blueDiff(toColor.blue() - fromColor.blue())
71 clampColorValue(first.blue() + second.blue()));
78 clampColorValue(color.blue() + m_blueDiff));
SVGFEComponentTransferElement.cpp 73 ComponentTransferFunction blue; local
82 blue = static_cast<SVGFEFuncBElement*>(n)->transferFunction();
87 RefPtr<FilterEffect> effect = FEComponentTransfer::create(input1, red, green, blue, alpha);
  /cts/tools/signature-tools/templates/
Styles.st 6 a.default:link {color: blue; text-decoration: none}
7 a.default:hover {color: blue; text-decoration: underline;}
8 a.default:visited {color: blue; text-decoration: none}
  /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
44 public static final int BLUE = 0xFF0000FF;
75 * Return the blue component of a color int. This is the same as saying
78 public static int blue(int color) { method in class:Color
83 * Return a color-int from red, green, blue components.
90 * @param blue Blue component [0..255] of the color
92 public static int rgb(int red, int green, int blue) {
260 float blue = 0.0f; local
    [all...]
  /sdk/traceview/src/com/android/traceview/
ColorController.java 34 private static RGB[] rgbColors = { new RGB(90, 90, 255), // blue
40 new RGB(40, 0, 200), // dark blue
44 new RGB(200, 200, 255), // light blue
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]));
97 blue:static_cast<CGFloat>(color.blue()) / 255
116 [deviceColor getRed:&components[0] green:&components[1] blue:&components[2] alpha:&components[3]];
  /external/skia/src/animator/
SkDrawColor.cpp 35 SkScalar blue = SkIntToScalar(SkColorGetB(color)); local
36 SkScalar min = SkMinScalar(SkMinScalar(red, green), blue);
37 SkScalar value = SkMaxScalar(SkMaxScalar(red, green), blue);
50 hue = SkScalarMul(green - blue, part60);
55 hue = 120 * SK_Scalar1 + SkScalarMul(blue - red, part60);
56 else // blue == value
75 SkScalar blue 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...]
  /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
62 assertTrue(Color.blue(b.getPixel(10, 0)) > Color.blue(b.getPixel(10, 5)));
63 assertTrue(Color.blue(b.getPixel(10, 5)) > Color.blue(b.getPixel(10, 10)));
72 lg = new LinearGradient(0, 0, 0, 40, Color.RED, Color.BLUE, TileMode.CLAMP);
77 // RED -> BLUE, R sub-value decreasing while B sub-value increasing
80 assertTrue(Color.blue(b.getPixel(10, 0)) < Color.blue(b.getPixel(10, 15)))
    [all...]
  /external/libpng/contrib/gregbook/
readpng.c 154 int readpng_get_bgcolor(uch *red, uch *green, uch *blue)
173 * and blue values, regardless of color_type: */
184 *blue = pBackground->blue >> 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;
195 *blue = (uch)pBackground->blue;
rpng2-x.c 212 { 0, 0, 255}, /* 6: blue */
213 { 0, 0, 120}, /* 7: medium blue */
221 { 85, 125, 200}, /* 15: ice blue */
251 {0+8, 2,0, 1,15}, /* checkered: tan/black vs. white/ice blue */
254 {0+8, 4,5, 0,6}, /* checkered: gold/yellow vs. black/blue */
255 {0, 7,0, 8,9}, /* checkered: deep blue/black vs. magenta */
258 {1, 7,0, 8,0}, /* diamonds: deep blue/black vs. magenta */
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...]
  /external/webkit/WebCore/css/
RGBColor.idl 27 readonly attribute CSSPrimitiveValue blue;
RGBColor.h 42 PassRefPtr<CSSPrimitiveValue> blue();
  /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/libpng/
pngrtran.c 501 int b = (palette[i].blue >> (8 - PNG_DITHER_BLUE_BITS));
805 png_ptr->background.red == png_ptr->background.blue)
823 = png_ptr->background.blue = png_ptr->background.gray;
828 = png_ptr->trans_values.blue = png_ptr->trans_values.gray;
835 = png_ptr->background.blue = png_ptr->background.gray;
840 = png_ptr->trans_values.blue = png_ptr->trans_values.gray;
847 = png_ptr->background.blue = png_ptr->background.gray;
852 = png_ptr->trans_values.blue = png_ptr->trans_values.gray;
860 = png_ptr->background.blue = png_ptr->background.gray;
870 png_ptr->background.blue
2351 png_byte blue = png_ptr->gamma_to_1[*(sp++)]; local
2371 png_byte blue = *(sp++); local
2393 png_uint_16 red, green, blue, w; local
2428 png_uint_16 red, green, blue, gray16; local
2456 png_byte blue = png_ptr->gamma_to_1[*(sp++)]; local
2473 png_byte blue = *(sp++); local
2491 png_uint_16 red, green, blue, w; local
2528 png_uint_16 red, green, blue, gray16; local
3984 png_byte blue = trans_value->blue & 0xff; local
4447 png_uint_32 blue = (png_uint_32)((s2 + s1 + 65536L) & 0xffffL); local
    [all...]
  /external/qemu/distrib/libpng-1.2.19/
pngrtran.c 477 int b = (palette[i].blue >> (8 - PNG_DITHER_BLUE_BITS));
758 png_ptr->background.red == png_ptr->background.blue)
776 = png_ptr->background.blue = png_ptr->background.gray;
781 = png_ptr->trans_values.blue = png_ptr->trans_values.gray;
787 = png_ptr->background.blue = png_ptr->background.gray;
792 = png_ptr->trans_values.blue = png_ptr->trans_values.gray;
798 = png_ptr->background.blue = png_ptr->background.gray;
803 = png_ptr->trans_values.blue = png_ptr->trans_values.gray;
809 = png_ptr->background.blue = png_ptr->background.gray;
819 png_ptr->background.blue
2256 png_byte blue = png_ptr->gamma_to_1[*(sp++)]; local
2276 png_byte blue = *(sp++); local
2298 png_uint_16 red, green, blue, w; local
2332 png_uint_16 red, green, blue, gray16; local
2360 png_byte blue = png_ptr->gamma_to_1[*(sp++)]; local
2377 png_byte blue = *(sp++); local
2395 png_uint_16 red, green, blue, w; local
2431 png_uint_16 red, green, blue, gray16; local
3854 png_byte blue = trans_value->blue & 0xff; local
4274 png_uint_32 blue = (png_uint_32)((s2+s1+65536L) & 0xffffL); local
    [all...]

Completed in 126 milliseconds

1 2 3 4 5 6 7 8 91011