Searched defs:red (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DColor.java26 * Colors are represented as packed ints, made up of 4 bytes: alpha, red,
29 * components are stored as follows (alpha << 24) | (red << 16) |
33 * no contributes from red, gree, blue, and opaque-white would be 0xFFFFFFFF
58 * Return the red component of a color int. This is the same as saying
61 public static int red(int color) { method in class:Color
82 * Return a color-int from red, green, blue components.
87 * @param red Red component [0..255] of the color
91 public static int rgb(int red, int green, int blue) { argument
92 return (0xFF << 24) | (red << 16) | (green << 8) | blue;
96 * Return a color-int from alpha, red, gree
105 argb(int alpha, int red, int green, int blue) argument
315 RGBToHSV(int red, int green, int blue, float hsv[]) argument
365 nativeRGBToHSV(int red, int greed, int blue, float hsv[]) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp17 static void Color_RGBToHSV(JNIEnv* env, jobject, int red, int green, int blue, jfloatArray hsvArray) argument
20 SkRGBToHSV(red, green, blue, hsv);
/frameworks/base/awt/java/awt/
H A DColor.java108 * The color red.
110 public static final Color red = new Color(255, 0, 0); field in class:Color
113 * The color red.
115 public static final Color RED = red;
281 * consisting of the alpha component in bits 24-31, the red component in
301 * Instantiates a new color with the specified red, green, blue and alpha
305 * the red component.
322 * Instantiates a new opaque sRGB color with the specified red, green, and
326 * the red component.
343 * the red componen
[all...]
/frameworks/base/libs/surfaceflinger/
H A DLayerBuffer.cpp668 GLclampx red = 0; local
671 mLayer.clearWithOpenGL(clip, red, green, blue, 0);
H A DLayerBase.cpp363 void LayerBase::clearWithOpenGL(const Region& clip, GLclampx red, argument
369 glColor4x(red,green,blue,alpha);
/frameworks/base/opengl/libagl/
H A Ddxt.cpp52 #define red(x) (((x) >> 11) & 0x1f) macro
235 int r0 = red(color0);
239 int r1 = red(color1);
365 int r0 = red(color0);
369 int r1 = red(color1);
522 int r0 = red(color0);
526 int r1 = red(color1);
H A Dstate.cpp603 void glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) { argument
605 c->rasterizer.procs.clearColorx(c, red, green, blue, alpha);
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES11.cpp313 /* void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) */
316 (JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) {
318 (GLubyte)red,
315 android_glColor4ub__BBBB(JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) argument
H A Dandroid_opengl_GLES10.cpp216 /* void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */
219 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
221 (GLclampf)red,
228 /* void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */
231 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
233 (GLclampx)red,
276 /* void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) */
279 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
281 (GLfloat)red,
288 /* void glColor4x ( GLfixed red, GLfixe
218 android_glClearColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
230 android_glClearColorx__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
278 android_glColor4f__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
290 android_glColor4x__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
302 android_glColorMask__ZZZZ(JNIEnv *_env, jobject _this, jboolean red, jboolean green, jboolean blue, jboolean alpha) argument
[all...]
H A Dandroid_opengl_GLES11Ext.cpp515 /* void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */
518 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
520 (GLclampx)red,
587 /* void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) */
590 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
592 (GLfixed)red,
517 android_glClearColorxOES__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
589 android_glColor4xOES__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
H A Dandroid_opengl_GLES20.cpp236 /* void glBlendColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */
239 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
241 (GLclampf)red,
356 /* void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */
359 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
361 (GLclampf)red,
386 /* void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) */
389 (JNIEnv *_env, jobject _this, jboolean red, jboolean green, jboolean blue, jboolean alpha) {
391 (GLboolean)red,
238 android_glBlendColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
358 android_glClearColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
388 android_glColorMask__ZZZZ(JNIEnv *_env, jobject _this, jboolean red, jboolean green, jboolean blue, jboolean alpha) argument
H A Dcom_google_android_gles_jni_GLImpl.cpp342 /* void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */
345 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
347 (GLclampf)red,
354 /* void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */
357 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
359 (GLclampx)red,
402 /* void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) */
405 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
407 (GLfloat)red,
414 /* void glColor4x ( GLfixed red, GLfixe
344 android_glClearColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
356 android_glClearColorx__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
404 android_glColor4f__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
416 android_glColor4x__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
428 android_glColorMask__ZZZZ(JNIEnv *_env, jobject _this, jboolean red, jboolean green, jboolean blue, jboolean alpha) argument
3855 android_glColor4ub__BBBB(JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) argument
[all...]
/frameworks/base/libs/rs/
H A DrsScriptC_Lib.cpp912 float red = 0.0f; local
929 red = z;
934 red = qv;
939 red = pv;
944 red = pv;
949 red = tv;
954 red = z;
960 rgb[0] = red;
/frameworks/base/opengl/java/android/opengl/
H A DGLES11.java209 // C function void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha )
212 byte red,
211 glColor4ub( byte red, byte green, byte blue, byte alpha ) argument
H A DGLES11Ext.java275 // C function void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha )
278 int red,
305 // C function void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
308 int red,
277 glClearColorxOES( int red, int green, int blue, int alpha ) argument
307 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, gree
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 )
316 float red,
322 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha )
325 int red,
355 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha )
358 float red,
364 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
367 int red,
373 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
376 boolean red,
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
1233 arg("red", red);
1239 mgl.glClearColor(red, green, blue, alpha);
1243 public void glClearColorx(int red, int green, int blue, int alpha) { argument
1245 arg("red", red);
1251 mgl.glClearColorx(red, green, blue, alpha);
1291 public void glColor4f(float red, float green, float blue, float alpha) { argument
1293 arg("red", re
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 )
384 float red,
449 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
452 float red,
470 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
473 boolean red,
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.java189 byte red,
188 glColor4ub( byte red, byte green, byte blue, byte alpha ) argument
H A DGL10.java290 float red,
297 int red,
320 float red,
327 int red,
334 boolean red,
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.java126 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
129 float red,
135 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha )
138 int red,
168 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha )
171 float red,
177 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
180 int red,
186 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
189 boolean red,
128 glClearColor( float red, float green, float blue, float alpha ) argument
137 glClearColorx( int red, int green, int blue, int alpha ) argument
170 glColor4f( float red, float green, float blue, float alpha ) argument
179 glColor4x( int red, int green, int blue, int alpha ) argument
188 glColorMask( boolean red, boolean green, boolean blue, boolean alpha ) argument
1222 glColor4ub( byte red, byte green, byte blue, byte alpha ) argument
[all...]

Completed in 640 milliseconds