Home
last modified time | relevance | path

Searched refs:green (Results 1 – 25 of 30) sorted by relevance

12

/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DGLColor.java22 public final int green; field in GLColor
26 public GLColor(int red, int green, int blue, int alpha) { in GLColor() argument
28 this.green = green; in GLColor()
33 public GLColor(int red, int green, int blue) { in GLColor() argument
35 this.green = green; in GLColor()
45 green == color.green && in equals()
DGLVertex.java67 colorBuffer.put(color.green); in put()
DKube.java36 GLColor green = new GLColor(0, one, 0); in makeGLWorld() local
118 mCubes[i + j].setFaceColor(Cube.kFront, green); in makeGLWorld()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DReversingAnimation.java110 int green = (int)(Math.random() * 255); in createBall() local
112 int color = 0xff000000 | red << 16 | green << 8 | blue; in createBall()
114 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4; in createBall()
DAnimationSeeking.java134 int green = (int)(100 + Math.random() * 155); in addBall() local
136 int color = 0xff000000 | red << 16 | green << 8 | blue; in addBall()
138 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4; in addBall()
DAnimationLoading.java138 int green = (int)(100 + Math.random() * 155); in addBall() local
140 int color = 0xff000000 | red << 16 | green << 8 | blue; in addBall()
142 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4; in addBall()
DCustomEvaluator.java149 int green = (int)(Math.random() * 255); in createBall() local
151 int color = 0xff000000 | red << 16 | green << 8 | blue; in createBall()
153 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4; in createBall()
DAnimationCloning.java114 int green = (int)(100 + Math.random() * 155); in addBall() local
116 int color = 0xff000000 | red << 16 | green << 8 | blue; in addBall()
118 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4; in addBall()
DMultiPropertyAnimation.java151 int green = (int)(100 + Math.random() * 155); in addBall() local
153 int color = 0xff000000 | red << 16 | green << 8 | blue; in addBall()
155 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4; in addBall()
DBouncingBalls.java160 int green = (int)(Math.random() * 255); in addBall() local
162 int color = 0xff000000 | red << 16 | green << 8 | blue; in addBall()
164 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4; in addBall()
DAnimatorEvents.java178 int green = (int)(Math.random() * 255); in createBall() local
180 int color = 0xff000000 | red << 16 | green << 8 | blue; in createBall()
182 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4; in createBall()
/development/samples/devbytes/animation/LayoutTransChanging/src/com/example/android/layouttranschanging/
DLayoutTransChanging.java102 int green = (int)(Math.random() * 128 + 127); in ColoredView() local
105 (green << 8) | blue; in ColoredView()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DCompressedTextureActivity.java142 byte green = (byte)(2*t); in createImage()
148 image.put(green); in createImage()
DColorPickerDialog.java133 int g = ave(Color.green(c0), Color.green(c1), p); in interpColor()
142 int g = Color.green(color); in rotateColor()
DBitmapPixels.java75 int g = Color.green(c); in premultiplyColor()
/development/tools/emulator/opengl/tests/gles_android_wrapper/
Dgles.cpp61 void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) in glClearColor() argument
63 getDispatch()->glClearColor(red, green, blue, alpha); in glClearColor()
76 void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) in glColor4f() argument
78 getDispatch()->glColor4f(red, green, blue, alpha); in glColor4f()
286 void glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) in glClearColorx() argument
288 getDispatch()->glClearColorx(red, green, blue, alpha); in glClearColorx()
311 void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) in glColor4ub() argument
313 getDispatch()->glColor4ub(red, green, blue, alpha); in glColor4ub()
316 void glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) in glColor4x() argument
318 getDispatch()->glColor4x(red, green, blue, alpha); in glColor4x()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixTrackingGL.java105 public void glClearColor(float red, float green, float blue, float alpha) { in glClearColor() argument
106 mgl.glClearColor(red, green, blue, alpha); in glClearColor()
109 public void glClearColorx(int red, int green, int blue, int alpha) { in glClearColorx() argument
110 mgl.glClearColorx(red, green, blue, alpha); in glClearColorx()
129 public void glColor4f(float red, float green, float blue, float alpha) { in glColor4f() argument
130 mgl.glColor4f(red, green, blue, alpha); in glColor4f()
133 public void glColor4x(int red, int green, int blue, int alpha) { in glColor4x() argument
134 mgl.glColor4x(red, green, blue, alpha); in glColor4x()
137 public void glColorMask(boolean red, boolean green, boolean blue, in glColorMask() argument
139 mgl.glColorMask(red, green, blue, alpha); in glColorMask()
[all …]
/development/ndk/platforms/android-3/include/linux/
Dfb.h217 struct fb_bitfield green; member
247 __u16 *green; member
/development/ndk/platforms/android-4/samples/san-angeles/jni/
Dimportgl.h82 FNDEF(void, glClearColorx, (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha));
83 FNDEF(void, glColor4x, (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha));
/development/tools/emulator/opengl/system/GLESv1_enc/
Dgl_entry.cpp10 void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
13 void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
55 void glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
59 void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
60 void glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
61 void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
185 void glClearColorxOES(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
189 void glColor4xOES(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
315 void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) in glClearColor() argument
318 ctx->glClearColor(ctx, red, green, blue, alpha); in glClearColor()
[all …]
Dgl_enc.h25 void glClearColor_enc(void *self , GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
28 void glColor4f_enc(void *self , GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
70 void glClearColorx_enc(void *self , GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
74 void glColor4ub_enc(void *self , GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
75 void glColor4x_enc(void *self , GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
76 void glColorMask_enc(void *self , GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
200 …void glClearColorxOES_enc(void *self , GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha…
204 void glColor4xOES_enc(void *self , GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
/development/ndk/platforms/android-4/include/GLES/
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 alph…
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/
Dplasma.c140 static uint16_t make565(int red, int green, int blue) in make565() argument
143 ((green << 2) & 0x03e0) | in make565()
/development/ndk/platforms/android-9/samples/native-plasma/jni/
Dplasma.c145 static uint16_t make565(int red, int green, int blue) in make565() argument
148 ((green << 2) & 0x03e0) | in make565()
/development/tools/emulator/opengl/system/GLESv2_enc/
Dgl2_entry.cpp16 void glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
25 void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
28 void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
268 void glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) in glBlendColor() argument
271 ctx->glBlendColor(ctx, red, green, blue, alpha); in glBlendColor()
322 void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) in glClearColor() argument
325 ctx->glClearColor(ctx, red, green, blue, alpha); in glClearColor()
340 void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) in glColorMask() argument
343 ctx->glColorMask(ctx, red, green, blue, alpha); in glColorMask()

12