/frameworks/base/graphics/java/android/graphics/ |
D | Color.java | 85 public static int blue(int color) { in blue() method in Color 100 public static int rgb(int red, int green, int blue) { in rgb() argument 101 return (0xFF << 24) | (red << 16) | (green << 8) | blue; in rgb() 115 public static int argb(int alpha, int red, int green, int blue) { in argb() argument 116 return (alpha << 24) | (red << 16) | (green << 8) | blue; in argb() 275 float blue = 0.0f; in HSBtoColor() local 288 blue = pv; in HSBtoColor() 293 blue = pv; in HSBtoColor() 298 blue = tv; in HSBtoColor() 303 blue = b; in HSBtoColor() [all …]
|
/frameworks/base/tools/aapt2/ |
D | process.dot | 32 package_default [shape=box,label="Assemble",color=blue]; 38 package_fr [shape=box,label="Assemble",color=blue]; 46 align_tables [shape=box,label="Align",color=blue]; 52 link_tables [shape=box,label="Link",color=blue]; 59 compile_values [shape=box,label="Collect",color=blue]; 65 collect_xml [shape=box,label="Collect",color=blue]; 70 link_fr_tables [shape=box,label="Link",color=blue]; 77 compile_values_fr [shape=box,label="Collect",color=blue]; 82 collect_xml_fr [shape=box,label="Collect",color=blue]; 85 compile_res_layout_main_xml [shape=box,label="Compile",color=blue]; [all …]
|
/frameworks/support/v4/java/android/support/v4/graphics/ |
D | ColorUtils.java | 43 int b = compositeComponent(Color.blue(foreground), fgAlpha, in compositeColors() 44 Color.blue(background), bgAlpha, a); in compositeColors() 70 double blue = Color.blue(color) / 255d; in calculateLuminance() 71 blue = blue < 0.03928 ? blue / 12.92 : Math.pow((blue + 0.055) / 1.055, 2.4); in calculateLuminance() 73 return (0.2126 * red) + (0.7152 * green) + (0.0722 * blue); in calculateLuminance() 210 RGBToHSL(Color.red(color), Color.green(color), Color.blue(color), hsl);
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | TonemapCurve.java | 103 public TonemapCurve(float[] red, float[] green, float[] blue) { in TonemapCurve() argument 108 checkNotNull(blue, "blue must not be null"); in TonemapCurve() 112 checkArgumentArrayLengthDivisibleBy(blue, POINT_SIZE, "blue"); in TonemapCurve() 116 checkArgumentArrayLengthNoLessThan(blue, MIN_CURVE_LENGTH, "blue"); in TonemapCurve() 120 checkArrayElementsInRange(blue, LEVEL_BLACK, LEVEL_WHITE, "blue"); in TonemapCurve() 124 mBlue = Arrays.copyOf(blue, blue.length); in TonemapCurve()
|
D | RggbChannelVector.java | 59 final float blue) { in RggbChannelVector() argument 63 mBlue = checkArgumentFinite(blue, "blue"); in RggbChannelVector()
|
D | LensShadingMap.java | 170 final float blue = in getGainFactorVector() local 173 return new RggbChannelVector(red, greenEven, greenOdd, blue); in getGainFactorVector()
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Material.java | 104 int[] blue = new int[means.length - 1]; in setup() local 114 blue[i] = (rgb >> 0) & 0xff; in setup() 131 mMaterialProp[i].mBlue = blue[i]; in setup() 245 int blue = m[0].mBlue; in buildMaterialProp() local 251 mColor[p + BLUE] = (byte) blue; in buildMaterialProp() 268 int blue = (int) (m[k].mBlue * t1 + m[k + 1].mBlue * t2); in buildMaterialProp() local 277 mColor[p + BLUE] = (byte) blue; in buildMaterialProp() 289 int blue = mp.mBlue; in buildMaterialProp() local 294 mColor[p + BLUE] = (byte) blue; in buildMaterialProp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
D | Utilities.java | 122 float bgB = Color.blue(bg) / 255f; in computeContrastBetweenColors() 130 float fgB = Color.blue(fg) / 255f; in computeContrastBetweenColors() 146 (int) (overlayAlpha * Color.blue(baseColor) + in getColorWithOverlay() 147 (1f - overlayAlpha) * Color.blue(overlayColor))); in getColorWithOverlay()
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | Description.cpp | 72 void Description::setColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { in setColor() argument 75 mColor[2] = blue; in setColor()
|
D | RenderEngine.h | 71 void clearWithColor(float red, float green, float blue, float alpha); 73 float red, float green, float blue, float alpha);
|
/frameworks/native/opengl/libagl/ |
D | dxt.cpp | 54 #define blue(x) ( (x) & 0x1f) macro 237 int b0 = blue(color0); in decodeDXT1() 241 int b1 = blue(color1); in decodeDXT1() 367 int b0 = blue(color0); in decodeDXT3() 371 int b1 = blue(color1); in decodeDXT3() 524 int b0 = blue(color0); in decodeDXT5() 528 int b1 = blue(color1); in decodeDXT5()
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableRggbChannelVector.java | 52 float blue = buffer.getFloat(); in unmarshal() local 54 return new RggbChannelVector(red, gEven, gOdd, blue); in unmarshal()
|
/frameworks/native/opengl/tests/testViewport/ |
D | README | 7 The program clears the screen to blue, then draws a full screen white quad that 18 Actual: screen is blue with offset white rectangle.
|
/frameworks/native/opengl/libs/GLES_CM/ |
D | gl_api.in | 4 void API_ENTRY(glClearColor)(GLfloat red, GLfloat green, GLfloat blue, GLfloat 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)(GLfixed red, GLfixed green, GLfixed blue, GLfixed 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 …]
|
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/ |
D | TestFramerateView.java | 78 float blue = (now_us % 3000000) / 3000000.f; in onDrawFrame() local 79 GLES20.glClearColor(red, green, blue, 1.0f); in onDrawFrame()
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
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 )
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | DuotoneFilter.java | 114 Color.blue(mFirstColor)/255f }; in updateParameters() 117 Color.blue(mSecondColor)/255f }; in updateParameters()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | shader_program.h | 350 void SetClearColor(float red, float green, float blue, float alpha); 429 float blue; member 432 RGBAColor() : red(0), green(0), blue(0), alpha(1) { in RGBAColor()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | RadialSelectorView.java | 103 int blue = res.getColor(R.color.blue); in initialize() local 104 mPaint.setColor(blue); in initialize() 151 color = res.getColor(R.color.blue); in setTheme()
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
D | GL10.java | 292 float blue, in glClearColor() argument 299 int blue, in glClearColorx() argument 322 float blue, in glColor4f() argument 329 int blue, in glColor4x() argument 336 boolean blue, in glColorMask() argument
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PathDestructionActivity.java | 76 int blue = MathUtils.random(255); in getRandomColor() local 77 return 0xff000000 | red << 16 | green << 8 | blue; in getRandomColor()
|
/frameworks/native/opengl/tools/glgen/specs/jsr239/ |
D | glspec-1.0 | 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 )
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLES10.java | 318 float blue, in glClearColor() argument 327 int blue, in glClearColorx() argument 360 float blue, in glColor4f() argument 369 int blue, in glColor4x() argument 378 boolean blue, in glColorMask() argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/ |
D | ColorOverlayDimmer.java | 75 dimColor = Color.rgb(Color.red(dimColor), Color.green(dimColor), Color.blue(dimColor)); in ColorOverlayDimmer() 136 (int)(Color.blue(color) * f)); in applyToColor()
|
/frameworks/support/v4/tests/java/android/support/v4/graphics/ |
D | ColorUtilsTest.java | 111 Color.blue(expectedRgb), Color.blue(actualRgb), ALLOWED_OFFSET_RGB_COMPONENT); in testHSLToColor()
|