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

/frameworks/base/graphics/java/android/graphics/
H A DColor.java24 * Colors are represented as packed ints, made up of 4 bytes: alpha, red,
27 * components are stored as follows (alpha << 24) | (red << 16) |
31 * no contributes from red, gree, blue, and opaque-white would be 0xFFFFFFFF
56 * Return the red component of a color int. This is the same as saying
59 public static int red(int color) { method in class:Color
80 * Return a color-int from red, green, blue components.
85 * @param red Red component [0..255] of the color
89 public static int rgb(int red, int green, int blue) { argument
90 return (0xFF << 24) | (red << 16) | (green << 8) | blue;
94 * Return a color-int from alpha, red, gree
103 argb(int alpha, int red, int green, int blue) argument
146 RGBToHSV(int red, int green, int blue, float hsv[]) argument
196 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/opengl/libagl/
H A Dstate.cpp557 void glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) { argument
559 c->rasterizer.procs.clearColorx(c, red, green, blue, alpha);
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);
/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/core/jni/
H A Dandroid_opengl_GLES11.cpp281 /* void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) */
284 (JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) {
286 (GLubyte)red,
283 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.cpp494 /* void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */
497 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
499 (GLclampx)red,
566 /* void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) */
569 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
571 (GLfixed)red,
496 android_glClearColorxOES__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
568 android_glColor4xOES__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
H A Dcom_google_android_gles_jni_GLImpl.cpp251 /* void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */
254 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
256 (GLclampf)red,
263 /* void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */
266 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
268 (GLclampx)red,
311 /* void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) */
314 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
316 (GLfloat)red,
323 /* void glColor4x ( GLfixed red, GLfixe
253 android_glClearColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
265 android_glClearColorx__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
313 android_glColor4f__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
325 android_glColor4x__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
337 android_glColorMask__ZZZZ(JNIEnv *_env, jobject _this, jboolean red, jboolean green, jboolean blue, jboolean alpha) argument
3752 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 DGLWrapperBase.java96 public void glColor4ub(byte red, byte green, byte blue, byte alpha) { argument
H A DGLES11.java208 // C function void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha )
211 byte red,
210 glColor4ub( byte red, byte green, byte blue, byte alpha ) argument
H A DGLES11Ext.java267 // C function void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha )
270 int red,
297 // C function void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
300 int red,
269 glClearColorxOES( int red, int green, int blue, int alpha ) argument
299 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
[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
2784 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...]
/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.java117 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
120 float red,
126 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha )
129 int red,
159 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha )
162 float red,
168 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
171 int red,
177 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
180 boolean red,
119 glClearColor( float red, float green, float blue, float alpha ) argument
128 glClearColorx( int red, int green, int blue, int alpha ) argument
161 glColor4f( float red, float green, float blue, float alpha ) argument
170 glColor4x( int red, int green, int blue, int alpha ) argument
179 glColorMask( boolean red, boolean green, boolean blue, boolean alpha ) argument
1213 glColor4ub( byte red, byte green, byte blue, byte alpha ) argument
[all...]

Completed in 274 milliseconds