/frameworks/av/media/libnbaio/ |
H A D | MonoPipeReader.cpp | 60 ssize_t red = availableToRead(); local 61 if (CC_UNLIKELY(red <= 0)) { 65 return red; 67 if (CC_LIKELY((size_t) red > count)) { 68 red = count; 72 if (part1 > (size_t) red) { 73 part1 = red; 78 size_t part2 = red - part1; 83 mPipe->updateFrontAndNRPTS(red + mPipe->mFront, nextReadPTS); 84 mFramesRead += red; [all...] |
H A D | PipeReader.cpp | 74 size_t red = mPipe.mMaxFrames - front; local 75 if (CC_LIKELY(red > count)) { 76 red = count; 79 memcpy(buffer, (char *) mPipe.mBuffer + (front << mBitShift), red << mBitShift); 81 if (CC_UNLIKELY(front + red == mPipe.mMaxFrames)) { 82 if (CC_UNLIKELY((count -= red) > front)) { 86 memcpy((char *) buffer + (red << mBitShift), mPipe.mBuffer, count << mBitShift); 87 red += count; 90 mFront += red; 91 mFramesRead += red; [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Color.java | 26 * 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 contributions from red, green, or blue), and opaque-white would be 59 * Return the red component of a color int. This is the same as saying 62 public static int red(int color) { method in class:Color 83 * Return a color-int from red, green, blue components. 88 * @param red Red component [0..255] of the color 92 public static int rgb(int red, int green, int blue) { argument 93 return (0xFF << 24) | (red << 16) | (green << 8) | blue; 97 * Return a color-int from alpha, red, gree 106 argb(int alpha, int red, int green, int blue) argument 316 RGBToHSV(int red, int green, int blue, float hsv[]) argument 366 nativeRGBToHSV(int red, int greed, int blue, float hsv[]) argument [all...] |
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/ |
H A D | TestFramerateView.java | 76 float red = (now_us % 1000000) / 1000000.f; 79 GLES20.glClearColor(red, green, blue, 1.0f);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | DuotoneFilter.java | 115 float first[] = { Color.red(mFirstColor)/255f, 118 float second[] = { Color.red(mSecondColor)/255f,
|
H A D | TintFilter.java | 126 float tint_color[] = {Color.red(mTint) / 255f,
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | PathDestructionActivity.java | 74 int red = MathUtils.random(255); 77 return 0xff000000 | red << 16 | green << 8 | blue;
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.h | 350 void SetClearColor(float red, float green, float blue, float alpha); 427 float red; member in struct:android::filterfw::ShaderProgram::RGBAColor 432 RGBAColor() : red(0), green(0), blue(0), alpha(1) {
|
/frameworks/native/opengl/libagl/ |
H A D | dxt.cpp | 52 #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/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES10.spec | 7 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 )
|
H A D | GLES11Ext.spec | 15 void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 18 void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
|
H A D | GLES11.spec | 6 void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha )
|
H A D | GLES20.spec | 8 void glBlendColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
17 void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
20 void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
H A D | BitmapTest.java | 211 int r0 = Color.red(c0); 212 int r1 = Color.red(c1); 214 assertTrue("red", Math.abs(rr - r1) <= tolerance);
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
H A D | CarouselView.java | 400 * @param red the amount of red 405 public void setBackgroundColor(float red, float green, float blue, float alpha) { argument 406 mController.setBackgroundColor(red, green, blue, alpha);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES10.java | 313 // 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 D | GLErrorWrapper.java | 106 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 D | GLES11Ext.java | 279 // C function void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 282 int red, 309 // C function void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 312 int red, 281 glClearColorxOES( int red, int green, int blue, int alpha ) argument 311 glColor4xOES( int red, int green, int blue, int alpha ) argument
|
H A D | GLLogWrapper.java | 1231 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...] |
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL10.java | 290 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/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardCircleFramedDrawable.java | 124 Color.red(mHighlightColor),
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | GLImpl.java | 127 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) 130 float red, 136 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 139 int red, 169 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) 172 float red, 178 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 181 int red, 187 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) 190 boolean red, 129 glClearColor( float red, float green, float blue, float alpha ) argument 138 glClearColorx( int red, int green, int blue, int alpha ) argument 171 glColor4f( float red, float green, float blue, float alpha ) argument 180 glColor4x( int red, int green, int blue, int alpha ) argument 189 glColorMask( boolean red, boolean green, boolean blue, boolean alpha ) argument 1223 glColor4ub( byte red, byte green, byte blue, byte alpha ) argument [all...] |
/frameworks/native/opengl/include/GLES/ |
H A D | gl.h | 594 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 alpha);
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_api.h | 31 void GLTrace_glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 40 void GLTrace_glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 43 void GLTrace_glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); 295 void GLTrace_glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 323 void GLTrace_glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 327 void GLTrace_glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); 328 void GLTrace_glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 395 void GLTrace_glClearColorxOES(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 398 void GLTrace_glColor4xOES(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
|
/frameworks/native/opengl/tests/angeles/include/GLES/ |
H A D | gl.h | 479 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);
|