Searched refs:blue (Results 1 - 25 of 41) 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/native/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/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DDuotoneFilter.java117 Color.blue(mFirstColor)/255f };
120 Color.blue(mSecondColor)/255f };
H A DTintFilter.java128 Color.blue(mTint) / 255f };
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPathDestructionActivity.java76 int blue = MathUtils.random(255);
77 return 0xff000000 | red << 16 | green << 8 | blue;
/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 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/native/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/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardCircleFramedDrawable.java126 Color.blue(mHighlightColor)));
/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/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);
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.h31 void GLTrace_glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
40 void GLTrace_glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
43 void GLTrace_glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
295 void GLTrace_glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
323 void GLTrace_glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
327 void GLTrace_glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
328 void GLTrace_glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
395 void GLTrace_glClearColorxOES(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
398 void GLTrace_glColor4xOES(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
/frameworks/native/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);

Completed in 408 milliseconds

12