Home
last modified time | relevance | path

Searched refs:red (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/base/graphics/java/android/graphics/
DColor.java61 public static int red(int color) { in red() method in Color
91 public static int rgb(int red, int green, int blue) { in rgb() argument
92 return (0xFF << 24) | (red << 16) | (green << 8) | blue; in rgb()
105 public static int argb(int alpha, int red, int green, int blue) { in argb() argument
106 return (alpha << 24) | (red << 16) | (green << 8) | blue; in argb()
257 float red = 0.0f; in HSBtoColor() local
270 red = b; in HSBtoColor()
275 red = qv; in HSBtoColor()
280 red = pv; in HSBtoColor()
285 red = pv; in HSBtoColor()
[all …]
/frameworks/base/awt/java/awt/image/
DDirectColorModel.java235 int red = (rgb >> 16) & 0xff; in getDataElements() local
245 red = to_LINEAR_8RGB_LUT[red] & 0xff; in getDataElements()
249 red = to_LINEAR_16RGB_LUT[red] & 0xffff; in getDataElements()
254 comp[0] = red / fFactor; in getDataElements()
268 comp[0] = red / fFactor; in getDataElements()
289 red = (int)(normComp[0] * normAlpha * maxValues[0] + 0.5f); in getDataElements()
293 red = (int)(normComp[0] * maxValues[0] + 0.5f); in getDataElements()
299 red = (int)(normComp[0] * maxValues[0] + 0.5f); in getDataElements()
304 pxl |= ((red << offsets[0]) & componentMasks[0]) in getDataElements()
DComponentColorModel.java539 int red = (rgb >> 16) & 0xff; in getDataElements() local
548 red = to_LINEAR_8RGB_LUT[red] & 0xff; in getDataElements()
552 red = to_LINEAR_16RGB_LUT[red] & 0xffff; in getDataElements()
557 comp[0] = red / fFactor; in getDataElements()
571 comp[0] = red / fFactor; in getDataElements()
/frameworks/base/opengl/libagl/
Ddxt.cpp52 #define red(x) (((x) >> 11) & 0x1f) macro
235 int r0 = red(color0); in decodeDXT1()
239 int r1 = red(color1); in decodeDXT1()
365 int r0 = red(color0); in decodeDXT3()
369 int r1 = red(color1); in decodeDXT3()
522 int r0 = red(color0); in decodeDXT5()
526 int r1 = red(color1); in decodeDXT5()
/frameworks/base/opengl/tools/glgen/specs/gles11/
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 )
DGLES11Ext.spec15 void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha )
18 void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
/frameworks/base/opengl/libs/GLES_CM/
Dgl_api.in4 void API_ENTRY(glClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) {
5 CALL_GL_API(glClearColor, red, green, blue, alpha);
13 void API_ENTRY(glColor4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) {
14 CALL_GL_API(glColor4f, red, green, blue, alpha);
139 void API_ENTRY(glClearColorx)(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) {
140 CALL_GL_API(glClearColorx, red, green, blue, alpha);
154 void API_ENTRY(glColor4ub)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) {
155 CALL_GL_API(glColor4ub, red, green, blue, alpha);
157 void API_ENTRY(glColor4x)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) {
158 CALL_GL_API(glColor4x, red, green, blue, alpha);
[all …]
Dglext_api.in43 void API_ENTRY(glClearColorxOES)(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) {
44 CALL_GL_API(glClearColorxOES, red, green, blue, alpha);
52 void API_ENTRY(glColor4xOES)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) {
53 CALL_GL_API(glColor4xOES, red, green, blue, alpha);
/frameworks/base/opengl/java/android/opengl/
DGLErrorWrapper.java106 public void glClearColor(float red, float green, float blue, float alpha) { in glClearColor() argument
108 mgl.glClearColor(red, green, blue, alpha); in glClearColor()
112 public void glClearColorx(int red, int green, int blue, int alpha) { in glClearColorx() argument
114 mgl.glClearColorx(red, green, blue, alpha); in glClearColorx()
142 public void glColor4f(float red, float green, float blue, float alpha) { in glColor4f() argument
144 mgl.glColor4f(red, green, blue, alpha); in glColor4f()
148 public void glColor4x(int red, int green, int blue, int alpha) { in glColor4x() argument
150 mgl.glColor4x(red, green, blue, alpha); in glColor4x()
154 public void glColorMask(boolean red, boolean green, boolean blue, in glColorMask() argument
157 mgl.glColorMask(red, green, blue, alpha); in glColorMask()
DGLES10.java316 float red, in glClearColor() argument
325 int red, in glClearColorx() argument
358 float red, in glColor4f() argument
367 int red, in glColor4x() argument
376 boolean red, in glColorMask() argument
DGLLogWrapper.java1231 public void glClearColor(float red, float green, float blue, float alpha) { in glClearColor() argument
1233 arg("red", red); in glClearColor()
1239 mgl.glClearColor(red, green, blue, alpha); in glClearColor()
1243 public void glClearColorx(int red, int green, int blue, int alpha) { in glClearColorx() argument
1245 arg("red", red); in glClearColorx()
1251 mgl.glClearColorx(red, green, blue, alpha); in glClearColorx()
1291 public void glColor4f(float red, float green, float blue, float alpha) { in glColor4f() argument
1293 arg("red", red); in glColor4f()
1299 mgl.glColor4f(red, green, blue, alpha); in glColor4f()
1303 public void glColor4x(int red, int green, int blue, int alpha) { in glColor4x() argument
[all …]
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL10.java290 float red, in glClearColor() argument
297 int red, in glClearColorx() argument
320 float red, in glColor4f() argument
327 int red, in glColor4x() argument
334 boolean red, in glColorMask() argument
/frameworks/base/opengl/tools/glgen/specs/jsr239/
Dglspec-1.07 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 )
/frameworks/base/docs/html/sdk/api_diff/3/
Dstylesheet-jdiff.css39 border: 1px solid red;
44 border: 1px solid red;}
/frameworks/base/docs/html/sdk/api_diff/5/
Dstylesheet-jdiff.css39 border: 1px solid red;
44 border: 1px solid red;}
/frameworks/base/docs/html/sdk/api_diff/4/
Dstylesheet-jdiff.css39 border: 1px solid red;
44 border: 1px solid red;}
/frameworks/base/docs/html/sdk/api_diff/6/
Dstylesheet-jdiff.css39 border: 1px solid red;
44 border: 1px solid red;}
/frameworks/base/opengl/tests/angeles/include/GLES/
Dgl.h479 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);
/frameworks/base/opengl/java/com/google/android/gles_jni/
DGLImpl.java120 float red, in glClearColor() argument
129 int red, in glClearColorx() argument
162 float red, in glColor4f() argument
171 int red, in glColor4x() argument
180 boolean red, in glColorMask() argument
1214 byte red, in glColor4ub() argument
/frameworks/base/libs/rs/
DrsScriptC_Lib.cpp883 float red = 0.0f; in SC_hsbToRgb() local
900 red = z; in SC_hsbToRgb()
905 red = qv; in SC_hsbToRgb()
910 red = pv; in SC_hsbToRgb()
915 red = pv; in SC_hsbToRgb()
920 red = tv; in SC_hsbToRgb()
925 red = z; in SC_hsbToRgb()
931 rgb[0] = red; in SC_hsbToRgb()
/frameworks/base/opengl/include/GLES/
Dgl.h593 GL_API void GL_APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
596 GL_API void GL_APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
640 GL_API void GL_APIENTRY glClearColorx (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
645 GL_API void GL_APIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
646 GL_API void GL_APIENTRY glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
647 GL_API void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alph…
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/graphics/
DBitmapTest.java209 int r0 = Color.red(c0); in testSetPixelsWithNonOpaqueAlpha()
210 int r1 = Color.red(c1); in testSetPixelsWithNonOpaqueAlpha()
/frameworks/base/opengl/libs/GLES2/
Dgl2_api.in22 void API_ENTRY(glBlendColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) {
23 CALL_GL_API(glBlendColor, red, green, blue, alpha);
49 void API_ENTRY(glClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) {
50 CALL_GL_API(glClearColor, red, green, blue, alpha);
58 void API_ENTRY(glColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) {
59 CALL_GL_API(glColorMask, red, green, blue, alpha);
/frameworks/base/awt/javax/imageio/metadata/
DIIOStandardMetadataFormatResources.properties32 PaletteEntry/red=The red value for the palette entry
39 BackgroundColor/red=The red background value
/frameworks/base/opengl/libs/
Dentries.in14 GL_ENTRY(void, glBlendColor, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
27 GL_ENTRY(void, glClearColor, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
28 GL_ENTRY(void, glClearColorx, GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha)
29 GL_ENTRY(void, glClearColorxOES, GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha)
40 GL_ENTRY(void, glColor4f, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
41 GL_ENTRY(void, glColor4ub, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
42 GL_ENTRY(void, glColor4x, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
43 GL_ENTRY(void, glColor4xOES, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
44 GL_ENTRY(void, glColorMask, GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)

123