Searched defs:green (Results 1 - 25 of 27) sorted by relevance

12

/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 DRenderEngine.cpp199 float red, float green, float blue, float alpha) {
218 setupFillWithColor(red, green, blue, alpha);
226 void RenderEngine::clearWithColor(float red, float green, float blue, float alpha) { argument
227 glClearColor(red, green, blue, alpha);
198 fillRegionWithColor(const Region& region, uint32_t height, float red, float green, float blue, float alpha) argument
/frameworks/base/core/java/android/hardware/camera2/params/
H A DTonemapCurve.java33 * <p>This defines red, green, and blue curves that the {@link CameraDevice} will
70 * Index of the green color channel curve.
93 * @param green An array of elements whose length is divisible by {@value #POINT_SIZE}
103 public TonemapCurve(float[] red, float[] green, float[] blue) { argument
107 checkNotNull(green, "green must not be null");
111 checkArgumentArrayLengthDivisibleBy(green, POINT_SIZE, "green");
115 checkArgumentArrayLengthNoLessThan(green, MIN_CURVE_LENGTH, "green");
[all...]
/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/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) {
H A Dshader_program.cpp569 clear_color_.green,
602 void ShaderProgram::SetClearColor(float red, float green, float blue, float alpha) { argument
604 clear_color_.green = green;
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp27 static void Color_RGBToHSV(JNIEnv* env, jobject, jint red, jint green, jint blue, jfloatArray hsvArray) argument
30 SkRGBToHSV(red, green, blue, hsv);
/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.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/av/media/libstagefright/omx/
H A DSoftVideoEncoderOMXComponent.cpp445 unsigned green = src[greenOffset]; local
450 ((red * 66 + green * 129 + blue * 25) >> 8) + 16;
456 ((-red * 38 - green * 74 + blue * 112) >> 8) + 128;
459 ((red * 112 - green * 94 - blue * 18) >> 8) + 128;
/frameworks/support/v7/palette/src/android/support/v7/graphics/
H A DPalette.java557 mGreen = Color.green(color);
563 Swatch(int red, int green, int blue, int population) { argument
565 mGreen = green;
567 mRgb = Color.rgb(red, green, blue);
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES11.cpp561 /* void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) */
564 (JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) {
567 (GLubyte)green,
563 android_glColor4ub__BBBB(JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) argument
H A Dandroid_opengl_GLES10.cpp385 /* void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */
388 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
391 (GLclampf)green,
397 /* void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */
400 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
403 (GLclampx)green,
445 /* void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) */
448 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
451 (GLfloat)green,
457 /* void glColor4x ( GLfixed red, GLfixed green, GLfixe
387 android_glClearColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
399 android_glClearColorx__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
447 android_glColor4f__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
459 android_glColor4x__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
471 android_glColorMask__ZZZZ(JNIEnv *_env, jobject _this, jboolean red, jboolean green, jboolean blue, jboolean alpha) argument
[all...]
H A Dandroid_opengl_GLES11Ext.cpp802 /* void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */
805 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
808 (GLclampx)green,
889 /* void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) */
892 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
895 (GLfixed)green,
804 android_glClearColorxOES__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
891 android_glColor4xOES__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
H A Dandroid_opengl_GLES20.cpp419 /* void glBlendColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */
422 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
425 (GLclampf)green,
572 /* void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */
575 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
578 (GLclampf)green,
602 /* void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) */
605 (JNIEnv *_env, jobject _this, jboolean red, jboolean green, jboolean blue, jboolean alpha) {
608 (GLboolean)green,
421 android_glBlendColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
574 android_glClearColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
604 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) {
325 (GLclampf)green,
331 /* void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */
334 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
337 (GLclampx)green,
379 /* void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) */
382 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
385 (GLfloat)green,
391 /* void glColor4x ( GLfixed red, GLfixed green, 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/base/opengl/java/android/opengl/
H A DGLES11.java209 // C function void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha )
213 byte green,
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 )
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 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...]
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 DGLLogWrapper.java1231 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 DGL11.java190 byte green,
188 glColor4ub( byte red, byte green, byte blue, byte alpha ) argument
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/native/services/surfaceflinger/
H A DLayer.cpp680 const Region& /* clip */, float red, float green, float blue,
685 engine.setupFillWithColor(red, green, blue, alpha);
679 clearWithOpenGL(const sp<const DisplayDevice>& hw, const Region& , float red, float green, float blue, float alpha) const 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...]

Completed in 478 milliseconds

12