Searched refs:green (Results 1 - 25 of 53) sorted by relevance

123

/frameworks/base/graphics/java/android/graphics/
H A DColor.java28 * green, blue. The values are unpremultiplied, meaning any transparency is
31 * (green << 8) | blue. Each component ranges between 0..255 with 0
34 * no contributions from red, green, or blue), and opaque-white would be
68 * Return the green component of a color int. This is the same as saying
71 public static int green(int color) { method in class:Color
84 * Return a color-int from red, green, blue components.
90 * @param green Green component [0..255] of the color
93 public static int rgb(int red, int green, int blue) { argument
94 return (0xFF << 24) | (red << 16) | (green << 8) | blue;
98 * Return a color-int from alpha, red, green, blu
107 argb(int alpha, int red, int green, int blue) argument
319 RGBToHSV(int red, int green, int blue, float hsv[]) argument
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DDescription.cpp72 void Description::setColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { argument
74 mColor[1] = green;
H A DDescription.h66 void setColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
H A DRenderEngine.h64 void clearWithColor(float red, float green, float blue, float alpha);
66 float red, float green, float blue, float alpha);
H A DRenderEngine.cpp158 float red, float green, float blue, float alpha) {
177 setupFillWithColor(red, green, blue, alpha);
181 void RenderEngine::clearWithColor(float red, float green, float blue, float alpha) { argument
182 glClearColor(red, green, blue, alpha);
157 fillRegionWithColor(const Region& region, uint32_t height, float red, float green, float blue, float alpha) argument
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
H A DTestFramerateView.java77 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 DDuotoneFilter.java116 Color.green(mFirstColor)/255f,
119 Color.green(mSecondColor)/255f,
H A DTintFilter.java127 Color.green(mTint) / 255f,
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPathDestructionActivity.java75 int green = MathUtils.random(255);
77 return 0xff000000 | red << 16 | green << 8 | blue;
/frameworks/native/opengl/tests/finish/
H A Dfinish.cpp164 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 Dshader_program.h350 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 Ddxt.cpp53 #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 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.java216 int g0 = Color.green(c0);
217 int g1 = Color.green(c1);
219 assertTrue("green", Math.abs(gg - g1) <= tolerance);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DBarTransitions.java204 (int)(v * Color.green(targetColor) + Color.green(mColorStart) * (1 - v)),
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DErrorCalculator.java163 totalError += Math.abs(Color.green(idealColor) - Color.green(givenColor));
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A DCarouselView.java401 * @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);
/frameworks/base/opengl/java/android/opengl/
H A DGLES10.java313 // 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 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, blu
980 glColor4ub(byte red, byte green, byte blue, byte alpha) argument
[all...]
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL10.java291 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/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java127 // 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 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);

Completed in 593 milliseconds

123