Searched refs:green (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/
H A DColor.java27 * green, blue. The values are unpremultiplied, meaning any transparency is
30 * (green << 8) | blue. Each component ranges between 0..255 with 0
66 * Return the green component of a color int. This is the same as saying
69 public static int green(int color) { method in class:Color
82 * Return a color-int from red, green, blue components.
88 * @param green Green component [0..255] of the color
91 public static int rgb(int red, int green, int blue) { argument
92 return (0xFF << 24) | (red << 16) | (green << 8) | blue;
96 * Return a color-int from alpha, red, green, blue components.
102 * @param green Gree
105 argb(int alpha, int red, int green, int blue) argument
315 RGBToHSV(int red, int green, int blue, float hsv[]) argument
[all...]
/frameworks/base/awt/java/awt/image/
H A DDirectColorModel.java105 * the bitmask corresponding to the green band.
138 * the bitmask corresponding to the green band.
164 * the bitmask corresponding to the green band.
236 int green = (rgb >> 8) & 0xff;
246 green = to_LINEAR_8RGB_LUT[green] & 0xff;
250 green = to_LINEAR_16RGB_LUT[green] & 0xffff;
255 comp[1] = green / fFactor;
269 comp[1] = green / fFacto
[all...]
H A DComponentColorModel.java540 int green = (rgb >> 8) & 0xff;
549 green = to_LINEAR_8RGB_LUT[green] & 0xff;
553 green = to_LINEAR_16RGB_LUT[green] & 0xffff;
558 comp[1] = green / fFactor;
572 comp[1] = green / fFactor;
H A DIndexColorModel.java242 * arrays of red, green, blue, and alpha values.
252 * the array giving the green components of the entries in the
278 * arrays of red, green, and blue values.
288 * the array giving the green components of the entries in the
313 * arrays of red, green, and blue values.
323 * the array giving the green components of the entries in the
455 int green = (rgb >> 8) & 0xff;
468 int grey = (red * 77 + green * 150 + blue * 29 + 128) >>> 8;
504 buf = ((pix >> 8) & 0xff) - green;
768 * Gets the green componen
[all...]
/frameworks/base/opengl/tests/finish/
H A Dfinish.cpp164 uint16_t green = 0x7E0;
167 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, &green);
212 uint16_t green = 0x7E0;
215 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, &green);
/frameworks/base/opengl/libagl/
H A Ddxt.cpp53 #define green(x) (((x) >> 5) & 0x3f) macro
236 int g0 = green(color0);
240 int g1 = green(color1);
366 int g0 = green(color0);
370 int g1 = green(color1);
523 int g0 = green(color0);
527 int g1 = green(color1);
H A Dstate.cpp603 void glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) { argument
605 c->rasterizer.procs.clearColorx(c, red, green, blue, alpha);
/frameworks/base/opengl/tools/glgen/specs/gles11/
H A DGLES10.spec7 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 )
H A DGLES11Ext.spec15 void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha )
18 void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
H A DGLES11.spec6 void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha )
H A DGLES20.spec8 void glBlendColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
17 void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
20 void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
/frameworks/base/opengl/java/android/opengl/
H A DGLErrorWrapper.java106 public void glClearColor(float red, float green, float blue, float alpha) { argument
108 mgl.glClearColor(red, green, blue, alpha);
112 public void glClearColorx(int red, int green, int blue, int alpha) { argument
114 mgl.glClearColorx(red, green, blue, alpha);
142 public void glColor4f(float red, float green, float blue, float alpha) { argument
144 mgl.glColor4f(red, green, blue, alpha);
148 public void glColor4x(int red, int green, int blue, int alpha) { argument
150 mgl.glColor4x(red, green, blue, alpha);
154 public void glColorMask(boolean red, boolean green, boolean blue, argument
157 mgl.glColorMask(red, green, blu
980 glColor4ub(byte red, byte green, byte blue, byte alpha) argument
[all...]
H A DGLES10.java313 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
317 float green,
322 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha )
326 int green,
355 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha )
359 float green,
364 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
368 int green,
373 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
377 boolean green,
315 glClearColor( float red, float green, float blue, float alpha ) argument
324 glClearColorx( int red, int green, int blue, int alpha ) argument
357 glColor4f( float red, float green, float blue, float alpha ) argument
366 glColor4x( int red, int green, int blue, int alpha ) argument
375 glColorMask( boolean red, boolean green, boolean blue, boolean alpha ) argument
[all...]
H A DGLES11Ext.java275 // C function void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha )
279 int green,
305 // C function void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
309 int green,
277 glClearColorxOES( int red, int green, int blue, int alpha ) argument
307 glColor4xOES( int red, int green, int blue, int alpha ) argument
H A DGLLogWrapper.java1231 public void glClearColor(float red, float green, float blue, float alpha) { argument
1234 arg("green", green);
1239 mgl.glClearColor(red, green, blue, alpha);
1243 public void glClearColorx(int red, int green, int blue, int alpha) { argument
1246 arg("green", green);
1251 mgl.glClearColorx(red, green, blue, alpha);
1291 public void glColor4f(float red, float green, float blue, float alpha) { argument
1294 arg("green", gree
1303 glColor4x(int red, int green, int blue, int alpha) argument
1315 glColorMask(boolean red, boolean green, boolean blue, boolean alpha) argument
2801 glColor4ub(byte red, byte green, byte blue, byte alpha) argument
[all...]
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DBitmapTest.java214 int g0 = Color.green(c0);
215 int g1 = Color.green(c1);
217 assertTrue("green", Math.abs(gg - g1) <= tolerance);
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL10.java291 float green,
298 int green,
321 float green,
328 int green,
335 boolean green,
289 glClearColor( float red, float green, float blue, float alpha ) argument
296 glClearColorx( int red, int green, int blue, int alpha ) argument
319 glColor4f( float red, float green, float blue, float alpha ) argument
326 glColor4x( int red, int green, int blue, int alpha ) argument
333 glColorMask( boolean red, boolean green, boolean blue, boolean alpha ) argument
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp17 static void Color_RGBToHSV(JNIEnv* env, jobject, int red, int green, int blue, jfloatArray hsvArray) argument
20 SkRGBToHSV(red, green, blue, hsv);
/frameworks/base/libs/rs/
H A DrsScriptC_Lib.cpp913 float green = 0.0f; local
930 green = tv;
935 green = z;
940 green = z;
945 green = qv;
950 green = pv;
955 green = pv;
961 rgb[1] = green;
/frameworks/base/opengl/include/GLES/
H A Dgl.h593 GL_API void GL_APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
596 GL_API void GL_APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
640 GL_API void GL_APIENTRY glClearColorx (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
645 GL_API void GL_APIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
646 GL_API void GL_APIENTRY glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
647 GL_API void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
H A Dglext.h336 GL_API void GL_APIENTRY glClearColorxOES (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
339 GL_API void GL_APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
376 typedef void (GL_APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
379 typedef void (GL_APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java126 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
130 float green,
135 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha )
139 int green,
168 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha )
172 float green,
177 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
181 int green,
186 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
190 boolean green,
128 glClearColor( float red, float green, float blue, float alpha ) argument
137 glClearColorx( int red, int green, int blue, int alpha ) argument
170 glColor4f( float red, float green, float blue, float alpha ) argument
179 glColor4x( int red, int green, int blue, int alpha ) argument
188 glColorMask( boolean red, boolean green, boolean blue, boolean alpha ) argument
1222 glColor4ub( byte red, byte green, byte blue, byte alpha ) argument
[all...]
/frameworks/base/opengl/tests/angeles/include/GLES/
H A Dgl.h479 GLAPI void APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
480 GLAPI void APIENTRY glClearColorx (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
485 GLAPI void APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
486 GLAPI void APIENTRY glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
487 GLAPI void APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
/frameworks/base/awt/java/awt/
H A DColor.java148 * The color green.
150 public static final Color green = new Color(0, 255, 0); field in class:Color
153 * The color green.
155 public static final Color GREEN = green;
282 * bits 16-23, the green component in bits 8-15, and the blue component in
301 * Instantiates a new color with the specified red, green, blue and alpha
307 * the green component.
322 * Instantiates a new opaque sRGB color with the specified red, green, and
328 * the green component.
343 * the red component in bits 16-23, the green componen
[all...]
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10.cpp216 /* void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */
219 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
222 (GLclampf)green,
228 /* void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */
231 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
234 (GLclampx)green,
276 /* void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) */
279 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
282 (GLfloat)green,
288 /* void glColor4x ( GLfixed red, GLfixed green, GLfixe
218 android_glClearColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
230 android_glClearColorx__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
278 android_glColor4f__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
290 android_glColor4x__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
302 android_glColorMask__ZZZZ(JNIEnv *_env, jobject _this, jboolean red, jboolean green, jboolean blue, jboolean alpha) argument
[all...]

Completed in 275 milliseconds

12