/cts/tests/tests/graphics/src/android/graphics/cts/ |
ColorMatrixColorFilterTest.java | 68 paint.setColor(Color.GREEN); 70 assertColor(Color.GREEN, bitmap.getPixel(0, 0)); 96 // change array to filter out green 110 assertEquals(Color.green(expected), Color.green(actual), TOLERANCE);
|
LightingColorFilterTest.java | 59 paint.setColorFilter(new LightingColorFilter(Color.BLUE, Color.GREEN)); 68 assertColor(Color.GREEN, bitmap.getPixel(0, 0)); 70 // channels get clipped (no overflow into green or alpha) 95 assertEquals(Color.green(expected), Color.green(actual), TOLERANCE);
|
ColorTest.java | 68 method = "green", 72 assertEquals(0x00, Color.green(Color.RED)); 73 assertEquals(0xff, Color.green(Color.GREEN)); 161 assertEquals(Color.GREEN, Color.parseColor("green"));
|
/external/webkit/WebCore/manual-tests/ |
pointer-events.html | 14 background: green; 37 background: green; 71 background: green; 84 background: green; 100 background: green; 125 background: green; 134 background: green;
|
/external/webkit/WebCore/svg/ |
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/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...] |
/bionic/libc/netbsd/resolv/ |
__dn_comp.c | 4 * written by matthew green, 22/04/97.
|
__res_send.c | 4 * written by matthew green, 22/04/97.
|
/external/qemu/distrib/sdl-1.2.12/src/video/gapi/ |
SDL_gapivideo.h | 93 #define kfDirect555 0x40 // 5 bits each for red, green and blue values in a pixel. 94 #define kfDirect565 0x80 // 5 red bits, 6 green bits and 5 blue bits per pixel 95 #define kfDirect888 0x100 // 8 bits each for red, green and blue values in a pixel. 96 #define kfDirect444 0x200 // 4 red, 4 green, 4 blue
|
/frameworks/base/core/tests/coretests/res/values/ |
colors.xml | 24 <drawable name="green">#ff00ff00</drawable>
|
/hardware/msm7k/libcamera/ |
camera_ifc.h | 88 * MS 5-bit is red, the next 6-bit is green. LS 5-bit is blue. */ 91 * MS 14 bits are zeros, the next 6-bit is red, then 6-bit of green. 95 * 4 bits are red, the next 4 bits are green. The LS 4 bits are blue. */ 98 * First line: first byte is blue, second byte is green. 99 * Second line: first byte is green, second byte is red. */ 102 * First line: first byte is green, second byte is blue. 103 * Second line: first byte is red, second byte is green. */ 106 * First line: first byte is green, second byte is red. 107 * Second line: first byte is blue, second byte is green. */ 110 * First line: first byte is red, second byte is green [all...] |
/development/samples/ApiDemos/res/layout/ |
custom_view_1.xml | 38 android:background="@drawable/green" 41 app:text="Green" app:textColor="#ffffffff" />
|
/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/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());
|
/dalvik/docs/ |
hello-world.html | 18 % <font color="green">echo 'class Foo {'\</font><br> 19 > <font color="green">'public static void main(String[] args) {'\</font><br> 20 > <font color="green">'System.out.println("Hello, world"); }}' > Foo.java</font><br> 21 % <font color="green">javac Foo.java</font><br> 22 % <font color="green">dx --dex --output=foo.jar Foo.class</font><br> 23 % <font color="green">adb push foo.jar /sdcard</font><br> 24 % <font color="green">adb shell dalvikvm -cp /sdcard/foo.jar Foo</font><br> 59 <code>% <font color="green">adb forward tcp:8000 tcp:8000</font></code> 64 <code>% <font color="green">jdb -attach localhost:8000</font></code> 81 <code>% <font color="green">jdb -attach localhost:8700</font></code [all...] |
/external/quake/quake/src/QW/dxsdk/sdk/inc/ |
d3drmdef.h | 116 unsigned char green; /* 0 .. 255 */
member in struct:_D3DRMPALETTEENTRY 139 the red, green and blue parts of a
142 red, green and blue elements in the
145 green and blue, so the masks should
276 D3DVALUE green,
283 D3DVALUE green,
293 * Get the green component of a color.
|
/external/quake/quake/src/WinQuake/dxsdk/SDK/INC/ |
D3DRMDEF.H | 116 unsigned char green; /* 0 .. 255 */
member in struct:_D3DRMPALETTEENTRY 139 the red, green and blue parts of a
142 red, green and blue elements in the
145 green and blue, so the masks should
276 D3DVALUE green,
283 D3DVALUE green,
293 * Get the green component of a color.
|
/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;
|
/external/skia/include/core/ |
SkColor.h | 55 /** return the green byte from a SkColor value */ 73 #define SK_ColorGREEN 0xFF00FF00 //!< green SkColor value 86 @param green green component value [0..255] 90 void SkRGBToHSV(U8CPU red, U8CPU green, U8CPU blue, SkScalar hsv[3]);
|
/external/webkit/WebCore/manual-tests/animation/ |
animateTransform-parser.svg | 16 <line x1="200" y1="200" x2="300" y2="200" stroke="green" stroke-width="20" stroke-linecap="round"> 34 <circle fill="green" cx="0" cy="0" r="20"> 49 <rect fill="green" x="0" y="0" width="30" height="100"> 62 <rect fill="green" x="0" y="0" width="100" height="30"> 78 <rect fill="green" x="0" y="0" width="50" height="100">
|
/external/webkit/WebCore/platform/graphics/ |
Gradient.cpp | 137 *g = m_stops.first().green; 144 *g = m_stops.last().green; 156 *g = lastStop.green + (nextStop.green - lastStop.green) * stopFraction;
|
/frameworks/base/opengl/tools/glgen/specs/gles11/ |
GLES10.spec | 7 void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) 8 void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 13 void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) 14 void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 15 void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
|
/frameworks/base/opengl/tools/glgen/specs/jsr239/ |
glspec-1.0 | 7 void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
8 void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha )
13 void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha )
14 void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
15 void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
|