Searched defs:blue (Results 1 - 24 of 24) sorted by relevance

/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/media/mca/filterfw/native/core/
H A Dshader_program.h350 void SetClearColor(float red, float green, float blue, float alpha);
429 float blue; member in struct:android::filterfw::ShaderProgram::RGBAColor
432 RGBAColor() : red(0), green(0), blue(0), alpha(1) {
H A Dshader_program.cpp570 clear_color_.blue,
602 void ShaderProgram::SetClearColor(float red, float green, float blue, float alpha) { argument
605 clear_color_.blue = blue;
/frameworks/native/opengl/libagl/
H A Dstate.cpp569 void glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) { argument
571 c->rasterizer.procs.clearColorx(c, red, green, blue, alpha);
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);
/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/native/services/surfaceflinger/
H A DLayerBase.cpp349 GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) const
352 glColor4f(red,green,blue,alpha);
348 clearWithOpenGL(const sp<const DisplayDevice>& hw, const Region& clip, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) const argument
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES11.cpp356 /* void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) */
359 (JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) {
363 (GLubyte)blue,
358 android_glColor4ub__BBBB(JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) argument
H A Dandroid_opengl_GLES10.cpp191 /* void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */
194 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
198 (GLclampf)blue,
203 /* void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */
206 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
210 (GLclampx)blue,
251 /* void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) */
254 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
258 (GLfloat)blue,
263 /* void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixe
193 android_glClearColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
205 android_glClearColorx__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
253 android_glColor4f__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
265 android_glColor4x__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
277 android_glColorMask__ZZZZ(JNIEnv *_env, jobject _this, jboolean red, jboolean green, jboolean blue, jboolean alpha) argument
[all...]
H A Dandroid_opengl_GLES11Ext.cpp597 /* void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */
600 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
604 (GLclampx)blue,
684 /* void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) */
687 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
691 (GLfixed)blue,
599 android_glClearColorxOES__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
686 android_glColor4xOES__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
H A Dandroid_opengl_GLES20.cpp218 /* void glBlendColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */
221 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
225 (GLclampf)blue,
371 /* void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */
374 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
378 (GLclampf)blue,
401 /* void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) */
404 (JNIEnv *_env, jobject _this, jboolean red, jboolean green, jboolean blue, jboolean alpha) {
408 (GLboolean)blue,
220 android_glBlendColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
373 android_glClearColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
403 android_glColorMask__ZZZZ(JNIEnv *_env, jobject _this, jboolean red, jboolean green, jboolean blue, jboolean alpha) argument
H A Dcom_google_android_gles_jni_GLImpl.cpp319 /* void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */
322 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
326 (GLclampf)blue,
331 /* void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */
334 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
338 (GLclampx)blue,
379 /* void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) */
382 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
386 (GLfloat)blue,
391 /* void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixe
321 android_glClearColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
333 android_glClearColorx__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
381 android_glColor4f__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
393 android_glColor4x__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
405 android_glColorMask__ZZZZ(JNIEnv *_env, jobject _this, jboolean red, jboolean green, jboolean blue, jboolean alpha) argument
4344 android_glColor4ub__BBBB(JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) argument
[all...]
/frameworks/ex/carousel/java/com/android/ex/carousel/
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);
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);
/frameworks/base/opengl/java/android/opengl/
H A DGLES11.java209 // C function void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha )
214 byte blue,
211 glColor4ub( byte red, byte green, byte blue, byte alpha ) argument
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 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 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 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...]
H A DGLES20.java381 // C function void glBlendColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
386 float blue,
449 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
454 float blue,
470 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
475 boolean blue,
383 glBlendColor( float red, float green, float blue, float alpha ) argument
451 glClearColor( float red, float green, float blue, float alpha ) argument
472 glColorMask( boolean red, boolean green, boolean blue, boolean alpha ) argument
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11.java191 byte blue,
188 glColor4ub( byte red, byte green, byte blue, byte alpha ) argument
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/java/com/google/android/gles_jni/
H A DGLImpl.java127 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
132 float blue,
136 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha )
141 int blue,
169 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha )
174 float blue,
178 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
183 int blue,
187 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
192 boolean blue,
129 glClearColor( float red, float green, float blue, float alpha ) argument
138 glClearColorx( int red, int green, int blue, int alpha ) argument
171 glColor4f( float red, float green, float blue, float alpha ) argument
180 glColor4x( int red, int green, int blue, int alpha ) argument
189 glColorMask( boolean red, boolean green, boolean blue, boolean alpha ) argument
1223 glColor4ub( byte red, byte green, byte blue, byte alpha ) argument
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.cpp272 void GLTrace_glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { argument
290 // copy argument blue
294 arg_blue->add_floatvalue(blue);
305 glContext->hooks->gl.glBlendColor(red, green, blue, alpha);
618 void GLTrace_glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { argument
636 // copy argument blue
640 arg_blue->add_floatvalue(blue);
651 glContext->hooks->gl.glClearColor(red, green, blue, alpha);
720 void GLTrace_glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) { argument
738 // copy argument blue
11235 GLTrace_glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) argument
12343 GLTrace_glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) argument
12480 GLTrace_glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) argument
12526 GLTrace_glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) argument
14942 GLTrace_glClearColorxOES(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) argument
15051 GLTrace_glColor4xOES(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) argument
[all...]

Completed in 404 milliseconds