/frameworks/base/graphics/java/android/graphics/ |
D | Color.java | 535 public float blue() { in blue() method in Color 762 public static float blue(@ColorLong long color) { in blue() method in Color 844 float b = blue(color); in toArgb() 883 return new Color(red(color), green(color), blue(color), alpha(color), colorSpace(color)); in valueOf() 999 public static long pack(float red, float green, float blue) { in pack() argument 1000 return pack(red, green, blue, 1.0f, ColorSpace.get(ColorSpace.Named.SRGB)); in pack() 1016 public static long pack(float red, float green, float blue, float alpha) { in pack() argument 1017 return pack(red, green, blue, alpha, ColorSpace.get(ColorSpace.Named.SRGB)); in pack() 1040 public static long pack(float red, float green, float blue, float alpha, in pack() argument 1047 (int) (blue * 255.0f + 0.5f); in pack() [all …]
|
/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()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | layered_filter_fast_f32.rs | 107 sharp->blue = in.b * g_kOneOver255; 113 sharp->blue = 114 ApplyLUT_Float(sharp->blue, g_camera_response.lut_remove_crf_float); 271 weight * sharp->blue, weight}; 292 weight * sharp->blue, weight}; 388 fuzzy->blue += factor * result.blue; 434 sharp->blue += factor * (fuzzy->blue - sharp->blue); 438 fuzzy->blue = 0; 464 fuzzy->blue += sharp->blue * capacity; 485 result.b = ApplyLUT_Float(fuzzy->blue, g_camera_response.lut_apply_crf_float); [all …]
|
D | pixel_format_f32.rsh | 7 // 1. Initially, it stores the input color (red, green, blue) and the depth 17 // the color (red, green, blue) of FocusPixel is updated and ready to be used in 21 // the color (red, green, blue) of FocusPixel is *not* changed. 29 float blue; 53 float blue;
|
D | layered_filter_f32_helper.rsh | 97 result.blue += weight * sharp_nbr->blue; 109 result.blue *= factor; 145 fuzzy.blue = result.b * factor; 181 result.blue += weight * sharp_nbr->blue; 193 result.blue *= fac; 203 p->blue = 0; 223 p->blue = 0;
|
/frameworks/rs/tests/java_api/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/support/v7/palette/tests/java/android/support/v7/graphics/ |
D | TestUtils.java | 38 assertEquals(Color.blue(expected), Color.blue(actual), 8); in assertCloseColors()
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | Description.cpp | 63 void Description::setColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { in setColor() argument 66 mColor[2] = blue; in setColor()
|
/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/tools/aapt2/compile/ |
D | PngCrunch.cpp | 413 slot->blue = color >> 8; in WritePalette() 535 int blue = *row++; in WritePng() local 544 (red != 0 || green != 0 || blue != 0); in WritePng() 545 red = green = blue = 0; in WritePng() 549 const uint32_t color = red << 24 | green << 16 | blue << 8 | alpha; in WritePng() 560 if (red != green || red != blue) { in WritePng() 568 max_gray_deviation = std::max(std::abs(green - blue), max_gray_deviation); in WritePng() 569 max_gray_deviation = std::max(std::abs(blue - red), max_gray_deviation); in WritePng()
|
/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/support/core-utils/java/android/support/v4/graphics/ |
D | ColorUtils.java | 56 int b = compositeComponent(Color.blue(foreground), fgAlpha, in compositeColors() 57 Color.blue(background), bgAlpha, a); in compositeColors() 221 RGBToHSL(Color.red(color), Color.green(color), Color.blue(color), outHsl); in colorToHSL() 310 RGBToLAB(Color.red(color), Color.green(color), Color.blue(color), outLab); in colorToLAB() 353 RGBToXYZ(Color.red(color), Color.green(color), Color.blue(color), outXyz); in colorToXYZ() 547 float b = Color.blue(color1) * inverseRatio + Color.blue(color2) * ratio; in blendARGB()
|
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationUtils.java | 55 (int) interpolate(Color.blue(startColor), Color.blue(endColor), amount)); in interpolateColors()
|
/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/base/core/java/com/android/internal/graphics/ |
D | ColorUtils.java | 57 int b = compositeComponent(Color.blue(foreground), fgAlpha, in compositeColors() 58 Color.blue(background), bgAlpha, a); in compositeColors() 265 RGBToHSL(Color.red(color), Color.green(color), Color.blue(color), outHsl); in colorToHSL() 354 RGBToLAB(Color.red(color), Color.green(color), Color.blue(color), outLab); in colorToLAB() 397 RGBToXYZ(Color.red(color), Color.green(color), Color.blue(color), outXyz); in colorToXYZ() 591 float b = Color.blue(color1) * inverseRatio + Color.blue(color2) * ratio; in blendARGB()
|
/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/support/core-ui/tests/java/android/support/v4/testutils/ |
D | TestUtils.java | 78 + Color.blue(color) in assertAllPixelsOfColor() 82 + Color.blue(rowPixels[column]) + "]"; in assertAllPixelsOfColor()
|
/frameworks/support/compat/tests/java/android/support/v4/testutils/ |
D | TestUtils.java | 79 + Color.blue(color) in assertAllPixelsOfColor() 83 + Color.blue(rowPixels[column]) + "]"; in assertAllPixelsOfColor()
|
/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/packages/SystemUI/src/com/android/systemui/recents/misc/ |
D | Utilities.java | 177 float bgB = Color.blue(bg) / 255f; in computeContrastBetweenColors() 185 float fgB = Color.blue(fg) / 255f; in computeContrastBetweenColors() 201 (int) (overlayAlpha * Color.blue(baseColor) + in getColorWithOverlay() 202 (1f - overlayAlpha) * Color.blue(overlayColor))); in getColorWithOverlay()
|