/frameworks/base/graphics/java/android/graphics/ |
H A D | Color.java | 27 * 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 67 * Return the green component of a color int. This is the same as saying 70 public static int green(int color) { method in class:Color 83 * Return a color-int from red, green, blue components. 89 * @param green Green 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, blu 106 argb(int alpha, int red, int green, int blue) argument 316 RGBToHSV(int red, int green, int blue, float hsv[]) argument [all...] |
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/ |
H A D | TestFramerateView.java | 77 float green = (now_us % 2000000) / 2000000.f; 79 GLES20.glClearColor(red, green, blue, 1.0f);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | DuotoneFilter.java | 116 Color.green(mFirstColor)/255f, 119 Color.green(mSecondColor)/255f,
|
H A D | TintFilter.java | 127 Color.green(mTint) / 255f,
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | PathDestructionActivity.java | 75 int green = MathUtils.random(255); 77 return 0xff000000 | red << 16 | green << 8 | blue;
|
/frameworks/native/opengl/tests/finish/ |
H A D | finish.cpp | 164 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/media/mca/filterfw/native/core/ |
H A D | shader_program.h | 350 void SetClearColor(float red, float green, float blue, float alpha); 428 float green; member in struct:android::filterfw::ShaderProgram::RGBAColor 432 RGBAColor() : red(0), green(0), blue(0), alpha(1) {
|
/frameworks/native/opengl/libagl/ |
H A D | dxt.cpp | 53 #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);
|
/frameworks/native/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/graphics/tests/graphicstests/src/android/graphics/ |
H A D | BitmapTest.java | 216 int g0 = Color.green(c0); 217 int g1 = Color.green(c1); 219 assertTrue("green", Math.abs(gg - g1) <= tolerance);
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
H A D | CarouselView.java | 401 * @param green the amount of green 405 public void setBackgroundColor(float red, float green, float blue, float alpha) { argument 406 mController.setBackgroundColor(red, green, blue, alpha);
|
H A D | CarouselController.java | 472 * @param green the amount of green 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 D | GLES10.java | 313 // 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 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, green, blu 980 glColor4ub(byte red, byte green, byte blue, byte alpha) argument [all...] |
H A D | GLES11Ext.java | 279 // C function void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 283 int green, 309 // C function void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 313 int green, 281 glClearColorxOES( int red, int green, int blue, int alpha ) argument 311 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 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/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL10.java | 291 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/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardCircleFramedDrawable.java | 125 Color.green(mHighlightColor),
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | GLImpl.java | 127 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) 131 float green, 136 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 140 int green, 169 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) 173 float green, 178 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 182 int green, 187 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) 191 boolean green, 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 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);
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_api.h | 31 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 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);
|