/frameworks/base/graphics/java/android/graphics/ |
H A D | Color.java | 28 * green, blue. The values are unpremultiplied, meaning any transparency is 31 * (green << 8) | blue. Each component ranges between 0..255 with 0 34 * no contributions from red, green, or blue), and opaque-white would be 76 * Return the blue component of a color int. This is the same as saying 79 public static int blue(int color) { method in class:Color 84 * Return a color-int from red, green, blue components. 91 * @param blue Blue component [0..255] of the color 93 public static int rgb(int red, int green, int blue) { argument 94 return (0xFF << 24) | (red << 16) | (green << 8) | blue; 98 * Return a color-int from alpha, red, green, blue component 107 argb(int alpha, int red, int green, int blue) argument 319 RGBToHSV(int red, int green, int blue, float hsv[]) argument 369 nativeRGBToHSV(int red, int greed, int blue, float hsv[]) argument [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Description.cpp | 72 void Description::setColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { argument 75 mColor[2] = blue;
|
H A D | Description.h | 66 void setColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
|
H A D | RenderEngine.h | 64 void clearWithColor(float red, float green, float blue, float alpha); 66 float red, float green, float blue, float alpha);
|
H A D | RenderEngine.cpp | 158 float red, float green, float blue, float alpha) { 177 setupFillWithColor(red, green, blue, alpha); 181 void RenderEngine::clearWithColor(float red, float green, float blue, float alpha) { argument 182 glClearColor(red, green, blue, alpha); 157 fillRegionWithColor(const Region& region, uint32_t height, float red, float green, float blue, float alpha) argument
|
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/ |
H A D | TestFramerateView.java | 78 float blue = (now_us % 3000000) / 3000000.f; 79 GLES20.glClearColor(red, green, blue, 1.0f);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | DuotoneFilter.java | 117 Color.blue(mFirstColor)/255f }; 120 Color.blue(mSecondColor)/255f };
|
H A D | TintFilter.java | 128 Color.blue(mTint) / 255f };
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | PathDestructionActivity.java | 76 int blue = MathUtils.random(255); 77 return 0xff000000 | red << 16 | green << 8 | blue;
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
H A D | TextViewWithCircularIndicator.java | 33 * A text view which, when pressed or activated, displays a blue circle around the text. 50 mCircleColor = res.getColor(R.color.blue);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
H A D | RadialSelectorView.java | 35 * View to show what number is selected. This will draw a blue circle over the number, with a blue 36 * line coming from the center of the main circle to the edge of the blue selection. 103 int blue = res.getColor(R.color.blue); 104 mPaint.setColor(blue); 151 color = res.getColor(R.color.blue);
|
H A D | AmPmCirclesView.java | 78 mSelectedColor = res.getColor(R.color.blue); 110 mSelectedColor = res.getColor(R.color.blue); 176 // We'll need to draw either a lighter blue (for selection), a darker blue (for touching)
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.h | 350 void SetClearColor(float red, float green, float blue, float alpha); 429 float blue; 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 | 54 #define blue(x) ( (x) & 0x1f) macro 237 int b0 = blue(color0); 241 int b1 = blue(color1); 367 int b0 = blue(color0); 371 int b1 = blue(color1); 524 int b0 = blue(color0); 528 int b1 = blue(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 )
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
H A D | BitmapTest.java | 221 int b0 = Color.blue(c0); 222 int b1 = Color.blue(c1); 224 assertTrue("blue", Math.abs(bb - b1) <= tolerance);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | BarTransitions.java | 205 (int)(v * Color.blue(targetColor) + Color.blue(mColorStart) * (1 - v)));
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | ErrorCalculator.java | 164 totalError += Math.abs(Color.blue(idealColor) - Color.blue(givenColor));
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
H A D | CarouselView.java | 402 * @param blue the amount of blue 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 ) 318 float blue, 322 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 327 int blue, 355 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) 360 float blue, 364 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 369 int blue, 373 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) 378 boolean blue, 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, green, blue, alph 980 glColor4ub(byte red, byte green, byte blue, byte alpha) argument [all...] |
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL10.java | 292 float blue, 299 int blue, 322 float blue, 329 int blue, 336 boolean blue, 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 D | GLImpl.java | 127 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) 132 float blue, 136 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 141 int blue, 169 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) 174 float blue, 178 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 183 int blue, 187 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) 192 boolean blue, 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...] |