Searched refs:blue (Results 1 - 25 of 35) 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
33 * no contributions from red, green, or blue), and opaque-white would be
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) { argument
93 return (0xFF << 24) | (red << 16) | (green << 8) | blue;
97 * Return a color-int from alpha, red, green, blue component
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/tests/testFramerate/src/com/android/testframerate/
H A DTestFramerateView.java78 float blue = (now_us % 3000000) / 3000000.f;
79 GLES20.glClearColor(red, green, blue, 1.0f);
/frameworks/base/opengl/libagl/
H A Ddxt.cpp54 #define blue(x) ( (x) & 0x1f) macro
237 int b0 = blue(color0);
241 int b1 = blue(color1);
367 int b0 = blue(color0);
371 int b1 = blue(color1);
524 int b0 = blue(color0);
528 int b1 = blue(color1);
H A Dstate.cpp568 void glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) { argument
570 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/graphics/tests/graphicstests/src/android/graphics/
H A DBitmapTest.java221 int b0 = Color.blue(c0);
222 int b1 = Color.blue(c1);
224 assertTrue("blue", Math.abs(bb - b1) <= tolerance);
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A DCarouselView.java402 * @param blue the amount of blue
405 public void setBackgroundColor(float red, float green, float blue, float alpha) { argument
406 mController.setBackgroundColor(red, green, blue, alpha);
H A DCarouselController.java473 * @param blue the amount of blue
476 public void setBackgroundColor(float red, float green, float blue, float alpha) { argument
477 mBackgroundColor = new Float4(red, green, blue, alpha);
/frameworks/base/opengl/java/android/opengl/
H A DGLES10.java313 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
318 float blue,
322 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha )
327 int blue,
355 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha )
360 float blue,
364 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
369 int blue,
373 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
378 boolean blue,
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 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, blue, alph
980 glColor4ub(byte red, byte green, byte blue, byte alpha) argument
[all...]
H A DGLES11Ext.java279 // C function void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha )
284 int blue,
309 // C function void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
314 int blue,
281 glClearColorxOES( int red, int green, int blue, int alpha ) argument
311 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
1235 arg("blue", blue);
1239 mgl.glClearColor(red, green, blue, alpha);
1243 public void glClearColorx(int red, int green, int blue, int alpha) { argument
1247 arg("blue", blue);
1251 mgl.glClearColorx(red, green, blue, alpha);
1291 public void glColor4f(float red, float green, float blue, float alpha) { argument
1295 arg("blue", blu
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/opengl/java/javax/microedition/khronos/opengles/
H A DGL10.java292 float blue,
299 int blue,
322 float blue,
329 int blue,
336 boolean blue,
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/opengl/include/GLES/
H A Dgl.h594 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 Dglext.h530 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 DGLImpl.java126 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
131 float blue,
135 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha )
140 int blue,
168 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha )
173 float blue,
177 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
182 int blue,
186 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
191 boolean blue,
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/opengl/libs/GLES2_dbg/src/
H A Dapi.cpp180 void Debug_glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) argument
186 GLclampf blue; member in struct:__anon1011
190 _c->glBlendColor(red, green, blue, alpha);
196 caller.blue = blue;
201 msg.set_arg2(ToInt(blue));
392 void Debug_glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) argument
398 GLclampf blue; member in struct:__anon1020
402 _c->glClearColor(red, green, blue, alpha);
408 caller.blue
455 Debug_glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) argument
461 GLboolean blue; member in struct:__anon1023
[all...]
/frameworks/base/opengl/libs/
H A Dglesv2dbg_functions.h17 GL_ENTRY(void, glBlendColor, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
30 GL_ENTRY(void, glClearColor, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
31 GL_ENTRY(void, glClearColorx, GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha)
32 GL_ENTRY(void, glClearColorxOES, GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha)
45 GL_ENTRY(void, glColor4f, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
46 GL_ENTRY(void, glColor4ub, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
47 GL_ENTRY(void, glColor4x, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
48 GL_ENTRY(void, glColor4xOES, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
49 GL_ENTRY(void, glColorMask, GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10.cpp194 /* void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */
197 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
201 (GLclampf)blue,
206 /* void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */
209 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
213 (GLclampx)blue,
254 /* void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) */
257 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
261 (GLfloat)blue,
266 /* void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixe
196 android_glClearColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
208 android_glClearColorx__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
256 android_glColor4f__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
268 android_glColor4x__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
280 android_glColorMask__ZZZZ(JNIEnv *_env, jobject _this, jboolean red, jboolean green, jboolean blue, jboolean alpha) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp27 static void Color_RGBToHSV(JNIEnv* env, jobject, int red, int green, int blue, jfloatArray hsvArray) argument
30 SkRGBToHSV(red, green, blue, hsv);
/frameworks/base/services/surfaceflinger/
H A DLayerBase.cpp384 GLclampf green, GLclampf blue,
389 glColor4f(red,green,blue,alpha);
383 clearWithOpenGL(const Region& clip, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) const argument

Completed in 597 milliseconds

12