Home
last modified time | relevance | path

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

12

/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DGLColor.java21 public final int red; field in GLColor
26 public GLColor(int red, int green, int blue, int alpha) { in GLColor() argument
27 this.red = red; in GLColor()
33 public GLColor(int red, int green, int blue) { in GLColor() argument
34 this.red = red; in GLColor()
44 return (red == color.red && in equals()
DGLVertex.java66 colorBuffer.put(color.red); in put()
DKube.java35 GLColor red = new GLColor(one, 0, 0); in makeGLWorld() local
104 mCubes[i].setFaceColor(Cube.kBottom, red); in makeGLWorld()
/development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/
DImagePixelization.java169 int pixel = 0, red = 0, green = 0, blue = 0, numPixels = 0; in customImagePixelization() local
181 numPixels = red = green = blue = 0; in customImagePixelization()
189 red += Color.red(pixel); in customImagePixelization()
196 pixel = Color.rgb(red / numPixels, green / numPixels, blue / numPixels); in customImagePixelization()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DReversingAnimation.java109 int red = (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.java133 int red = (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.java137 int red = (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.java148 int red = (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.java113 int red = (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.java150 int red = (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.java159 int red = (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.java177 int red = (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.java101 int red = (int)(Math.random() * 128 + 127); in ColoredView() local
104 int color = 0xff << 24 | (red << 16) | in ColoredView()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DWindowSurface.java245 int red = (int)mColor.x + 128; in run() local
246 if (red > 255) red = 255; in run()
249 int color = 0xff000000 | (red<<16) | blue; in run()
DCompressedTextureActivity.java141 byte red = (byte)(255-2*t); in createImage()
147 image.put(red); in createImage()
DColorPickerDialog.java132 int r = ave(Color.red(c0), Color.red(c1), p); in interpColor()
141 int r = Color.red(color); in rotateColor()
DBitmapPixels.java74 int r = Color.red(c); in premultiplyColor()
/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.h216 struct fb_bitfield red; member
246 __u16 *red; 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/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
142 return (uint16_t)( ((red << 8) & 0xf800) | 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
147 return (uint16_t)( ((red << 8) & 0xf800) | in make565()
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/
DCardView.java92 .getDrawable(R.drawable.red)); in init()
/development/ndk/platforms/android-5/include/GLES2/
Dgl2.h481 GL_APICALL void GL_APIENTRY glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLcl…
490 GL_APICALL void GL_APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLcl…
493 GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GL…

12