/frameworks/base/graphics/java/android/graphics/ |
H A D | Color.java | 26 * Colors are represented as packed ints, made up of 4 bytes: alpha, red, 29 * components are stored as follows (alpha << 24) | (red << 16) | 33 * no contributions from red, green, or blue), and opaque-white would be 59 * Return the red component of a color int. This is the same as saying 62 public static int red(int color) { method in class:Color 83 * Return a color-int from red, green, blue components. 88 * @param red Red component [0..255] of the color 92 public static int rgb(int red, int green, int blue) { argument 93 return (0xFF << 24) | (red << 16) | (green << 8) | blue; 97 * Return a color-int from alpha, red, gree 106 argb(int alpha, int red, int green, int blue) argument 316 RGBToHSV(int red, int green, int blue, float hsv[]) argument 366 nativeRGBToHSV(int red, int greed, int blue, float hsv[]) argument [all...] |
/frameworks/base/opengl/libagl/ |
H A D | dxt.cpp | 52 #define red(x) (((x) >> 11) & 0x1f) macro 235 int r0 = red(color0); 239 int r1 = red(color1); 365 int r0 = red(color0); 369 int r1 = red(color1); 522 int r0 = red(color0); 526 int r1 = red(color1);
|
H A D | state.cpp | 565 void glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) { argument 567 c->rasterizer.procs.clearColorx(c, red, green, blue, alpha);
|
/frameworks/base/opengl/tools/glgen/specs/gles11/ |
H A D | 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 )
|
H A D | GLES11Ext.spec | 15 void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 18 void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
|
H A D | GLES11.spec | 6 void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha )
|
H A D | GLES20.spec | 8 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 D | GLErrorWrapper.java | 106 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, gree 980 glColor4ub(byte red, byte green, byte blue, byte alpha) argument [all...] |
H A D | GLES10.java | 313 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) 316 float red, 322 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 325 int red, 355 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) 358 float red, 364 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 367 int red, 373 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) 376 boolean red, 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 D | GLES11Ext.java | 275 // C function void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 278 int red, 305 // C function void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 308 int red, 277 glClearColorxOES( int red, int green, int blue, int alpha ) argument 307 glColor4xOES( int red, int green, int blue, int alpha ) argument
|
H A D | GLLogWrapper.java | 1231 public void glClearColor(float red, float green, float blue, float alpha) { argument 1233 arg("red", red); 1239 mgl.glClearColor(red, green, blue, alpha); 1243 public void glClearColorx(int red, int green, int blue, int alpha) { argument 1245 arg("red", red); 1251 mgl.glClearColorx(red, green, blue, alpha); 1291 public void glColor4f(float red, float green, float blue, float alpha) { argument 1293 arg("red", re 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...] |
H A D | GLES11.java | 209 // C function void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) 212 byte red, 211 glColor4ub( byte red, byte green, byte blue, byte alpha ) argument
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
H A D | BitmapTest.java | 209 int r0 = Color.red(c0); 210 int r1 = Color.red(c1); 212 assertTrue("red", Math.abs(rr - r1) <= tolerance);
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL10.java | 290 float red, 297 int red, 320 float red, 327 int red, 334 boolean red, 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
|
H A D | GL11.java | 189 byte red, 188 glColor4ub( byte red, byte green, byte blue, byte alpha ) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Shader.cpp | 17 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 D | rsScriptC_Lib.cpp | 912 float red = 0.0f; local 929 red = z; 934 red = qv; 939 red = pv; 944 red = pv; 949 red = tv; 954 red = z; 960 rgb[0] = red;
|
/frameworks/base/opengl/include/GLES/ |
H A D | gl.h | 594 GL_API void GL_APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 597 GL_API void GL_APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 641 GL_API void GL_APIENTRY glClearColorx (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 646 GL_API void GL_APIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); 647 GL_API void GL_APIENTRY glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 648 GL_API void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
|
H A D | glext.h | 530 GL_API void GL_APIENTRY glClearColorxOES (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 533 GL_API void GL_APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 570 typedef void (GL_APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 573 typedef void (GL_APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | GLImpl.java | 126 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) 129 float red, 135 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 138 int red, 168 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) 171 float red, 177 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 180 int red, 186 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) 189 boolean red, 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 D | gl.h | 479 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/core/jni/ |
H A D | android_opengl_GLES10.cpp | 216 /* void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */ 219 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) { 221 (GLclampf)red, 228 /* void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */ 231 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) { 233 (GLclampx)red, 276 /* void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) */ 279 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) { 281 (GLfloat)red, 288 /* void glColor4x ( GLfixed red, 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...] |
/frameworks/base/services/surfaceflinger/ |
H A D | LayerBase.cpp | 318 void LayerBase::clearWithOpenGL(const Region& clip, GLclampf red, argument 324 glColor4f(red,green,blue,alpha);
|
H A D | LayerBuffer.cpp | 637 GLclampf red = 0; local 640 mLayer.clearWithOpenGL(clip, red, green, blue, 0);
|
/frameworks/base/opengl/include/GLES2/ |
H A D | gl2.h | 481 GL_APICALL void GL_APIENTRY glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 490 GL_APICALL void GL_APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 493 GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
|