/external/webkit/Source/WebCore/platform/graphics/filters/ |
FEColorMatrix.cpp | 76 inline void matrix(double& red, double& green, double& blue, double& alpha, const Vector<float>& values) 78 double r = values[0] * red + values[1] * green + values[2] * blue + values[3] * alpha + values[4] * 255; 79 double g = values[5] * red + values[6] * green + values[7] * blue + values[8] * alpha + values[9] * 255; 80 double b = values[10] * red + values[11] * green + values[12] * blue + values[13] * alpha + values[14] * 255; 81 double a = values[15] * red + values[16] * green + values[17] * blue + values[18] * alpha + values[19] * 255; 84 green = g; 89 inline void saturate(double& red, double& green, double& blue, const float& s) 91 double r = (0.213 + 0.787 * s) * red + (0.715 - 0.715 * s) * green + (0.072 - 0.072 * s) * blue; 92 double g = (0.213 - 0.213 * s) * red + (0.715 + 0.285 * s) * green + (0.072 - 0.072 * s) * blue; 93 double b = (0.213 - 0.213 * s) * red + (0.715 - 0.715 * s) * green + (0.072 + 0.928 * s) * blue 133 double green = pixelArray->get(pixelByteOffset + 1); local [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
GraphicsContextCGWin.cpp | 168 CGFloat red, green, blue, alpha; local 169 color.getRGBA(red, green, blue, alpha); 170 CGContextSetRGBStrokeColor(context, red, green, blue, alpha);
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
ImageBufferWinCE.cpp | 157 int green = *src++; local 162 *dst++ = static_cast<unsigned char>((green * alpha + 254) / 255); 167 *dst++ = static_cast<unsigned char>(green); 215 int green = *src++; local 220 *dst++ = static_cast<unsigned char>(green * 255 / alpha); 225 *dst++ = static_cast<unsigned char>(green);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
BoxBlurFilter.java | 75 int green = 0; local 80 green += (argb & GREEN_MASK) >> GREEN_MASK_SHIFT; 87 | (KERNEL_NORM[green] << GREEN_MASK_SHIFT) 95 green += ((next & GREEN_MASK) - (prev & GREEN_MASK)) >> GREEN_MASK_SHIFT;
|
/dalvik/tests/044-proxy/src/ |
BasicTest.java | 140 public int green(double howGreen); method in interface:Colors 185 public int green(double howGreen) { method in class:Mix 186 System.out.println("--- green " + howGreen);
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
AnimationLoading.java | 80 addBall(500, 50, Color.GREEN); 138 int green = (int)(100 + Math.random() * 155); local 140 int color = 0xff000000 | red << 16 | green << 8 | blue; 142 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4;
|
AnimationSeeking.java | 94 private static final int GREEN = 0xff80ff80; 134 int green = (int)(100 + Math.random() * 155); local 136 int color = 0xff000000 | red << 16 | green << 8 | blue; 138 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4;
|
CustomEvaluator.java | 149 int green = (int)(Math.random() * 255); local 151 int color = 0xff000000 | red << 16 | green << 8 | blue; 153 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4;
|
ReversingAnimation.java | 110 int green = (int)(Math.random() * 255); local 112 int color = 0xff000000 | red << 16 | green << 8 | blue; 114 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4;
|
AnimationCloning.java | 114 int green = (int)(100 + Math.random() * 155); local 116 int color = 0xff000000 | red << 16 | green << 8 | blue; 118 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4;
|
BouncingBalls.java | 58 private static final int GREEN = 0xff80ff80; 160 int green = (int)(Math.random() * 255); local 162 int color = 0xff000000 | red << 16 | green << 8 | blue; 164 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4;
|
MultiPropertyAnimation.java | 151 int green = (int)(100 + Math.random() * 155); local 153 int color = 0xff000000 | red << 16 | green << 8 | blue; 155 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4;
|
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
SDL_ph_video.h | 66 Uint32 green; member in struct:ColourMasks
|
/external/skia/src/images/ |
SkImageDecoder_libico.cpp | 208 int blue, green, red; local 216 green = readByte(buf, begin + 4*j + 1); 218 colors[j] = SkPackARGB32(0xFF, red & 0xFF, green & 0xFF, blue & 0xFF); 349 int green = readByte(buf, xorOffset + 3*pixelNo + 1); local 354 *address = SkPreMultiplyARGB(alpha, red, green, blue); 363 int green = readByte(buf, xorOffset + 4*pixelNo + 1); local 370 *address = SkPreMultiplyARGB(alpha, red, green, blue);
|
/external/webkit/Source/WebCore/platform/graphics/ |
Gradient.h | 128 float green; member in struct:WebCore::Gradient::ColorStop 132 ColorStop() : stop(0), red(0), green(0), blue(0), alpha(0) { } 133 ColorStop(float s, float r, float g, float b, float a) : stop(s), red(r), green(g), blue(b), alpha(a) { }
|
/external/webkit/Source/WebCore/platform/graphics/gtk/ |
FontGtk.cpp | 302 float red, green, blue, alpha; local 303 context->fillColor().getRGBA(red, green, blue, alpha); 304 cairo_set_source_rgba(cr, red, green, blue, alpha); 312 strokeColor.getRGBA(red, green, blue, alpha); 313 cairo_set_source_rgba(cr, red, green, blue, alpha);
|
/external/webkit/Tools/DumpRenderTree/cg/ |
ImageDiffCG.cpp | 119 float green = (pixel[1] - basePixel[1]) / max<float>(255 - basePixel[1], basePixel[1]); local 122 float distance = sqrtf(red * red + green * green + blue * blue + alpha * alpha) / 2.0f;
|
/external/webkit/Tools/DumpRenderTree/gtk/ |
ImageDiff.cpp | 117 float green = (actualPixel[1] - basePixel[1]) / max<float>(255 - basePixel[1], basePixel[1]); local 120 float distance = sqrtf(red * red + green * green + blue * blue + alpha * alpha) / 2.0f;
|
/external/webkit/Tools/DumpRenderTree/win/ |
ImageDiffCairo.cpp | 125 float green = pixelDifference(baselinePixel[1], actualPixel[1]); local 129 float distance = sqrtf(red * red + green * green + blue * blue + alpha * alpha) / 2.0;
|
/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...] |
/hardware/msm7k/liblights/ |
lights.c | 55 = "/sys/class/leds/green/brightness"; 97 If yes, just support green and amber. */ 203 int alpha, red, green, blue; local 228 green = (colorRGB >> 8) & 0xFF; 233 write_int(GREEN_LED_FILE, green); 240 } else if (green) {
|
/packages/apps/Phone/src/com/android/phone/ |
BitmapUtils.java | 135 int green = 0; local 141 green += weight *((argb & GREEN_MASK) >> GREEN_MASK_SHIFT); 146 | ((green >> 8) << GREEN_MASK_SHIFT)
|
/system/extras/tests/framebuffer/ |
fb_test.c | 196 uint16_t green = 0x07e0; variable 222 loc[i + j*(stride)] = green;
|
/system/media/mca/filterfw/native/core/ |
shader_program.h | 350 void SetClearColor(float red, float green, float blue, float alpha); 428 float green; member in struct:android::filterfw::ShaderProgram::RGBAColor 432 RGBAColor() : red(0), green(0), blue(0), alpha(1) {
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
Kube.java | 36 GLColor green = new GLColor(0, one, 0); local 118 mCubes[i + j].setFaceColor(Cube.kFront, green);
|