/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 | 104 public TonemapCurve(float[] red, float[] green, float[] blue) { in TonemapCurve() argument 109 checkNotNull(blue, "blue must not be null"); in TonemapCurve() 113 checkArgumentArrayLengthDivisibleBy(blue, POINT_SIZE, "blue"); in TonemapCurve() 117 checkArgumentArrayLengthNoLessThan(blue, MIN_CURVE_LENGTH, "blue"); in TonemapCurve() 121 checkArrayElementsInRange(blue, LEVEL_BLACK, LEVEL_WHITE, "blue"); in TonemapCurve() 125 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/base/services/tests/mockingservicestests/src/com/android/server/display/color/ |
D | DisplayWhiteBalanceTintControllerTest.java | 107 displayPrimaries.blue = new CieXyz(); in displayWhiteBalance_setupWithSurfaceControl() 108 displayPrimaries.blue.X = 0.180500f; in displayWhiteBalance_setupWithSurfaceControl() 109 displayPrimaries.blue.Y = 0.072200f; in displayWhiteBalance_setupWithSurfaceControl() 110 displayPrimaries.blue.Z = 0.950633f; in displayWhiteBalance_setupWithSurfaceControl() 133 displayPrimaries.blue = new CieXyz(); in displayWhiteBalance_setupWithInvalidSurfaceControlData()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | ConnectivityControllerTest.java | 231 final JobStatus blue = createJobStatus(createJob() in testUpdates() local 242 controller.maybeStartTrackingJobLocked(blue, null); in testUpdates() 245 assertFalse(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates() 257 assertTrue(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates() 269 assertTrue(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates() 281 assertTrue(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates() 293 assertTrue(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates() 303 final JobStatus blue = createJobStatus(createJob() in testRequestStandbyExceptionLocked() local 325 controller.requestStandbyExceptionLocked(blue); in testRequestStandbyExceptionLocked() 389 final JobStatus blue = createJobStatus(createJob() in testEvaluateStateLocked_JobWouldBeReady() local [all …]
|
/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/layoutlib/bridge/src/android/graphics/ |
D | Color_Delegate.java | 30 /*package*/ static void nativeRGBToHSV(int red, int greed, int blue, float hsv[]) { in nativeRGBToHSV() argument 31 java.awt.Color.RGBtoHSB(red, greed, blue, hsv); in nativeRGBToHSV()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
D | Utilities.java | 38 float bgB = Color.blue(bg) / 255f; in computeContrastBetweenColors() 46 float fgB = Color.blue(fg) / 255f; in computeContrastBetweenColors()
|
/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/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 | 416 slot->blue = color >> 8; in WritePalette() 539 int blue = *row++; in WritePng() local 548 (red != 0 || green != 0 || blue != 0); in WritePng() 549 red = green = blue = 0; in WritePng() 553 const uint32_t color = red << 24 | green << 16 | blue << 8 | alpha; in WritePng() 564 if (red != green || red != blue) { in WritePng() 572 max_gray_deviation = std::max(std::abs(green - blue), max_gray_deviation); in WritePng() 573 max_gray_deviation = std::max(std::abs(blue - red), max_gray_deviation); in WritePng()
|
/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/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/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/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationUtils.java | 59 (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/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/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/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PathDestructionActivity.java | 80 int blue = r.nextInt(255); in getRandomColor() local 81 return 0xff000000 | red << 16 | green << 8 | blue; in getRandomColor()
|
/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/legacy/recents/src/com/android/systemui/recents/utilities/ |
D | Utilities.java | 174 (int) (overlayAlpha * Color.blue(baseColor) + in getColorWithOverlay() 175 (1f - overlayAlpha) * Color.blue(overlayColor))); in getColorWithOverlay() 315 float bgB = Color.blue(bg) / 255f; in computeContrastBetweenColors() 323 float fgB = Color.blue(fg) / 255f; in computeContrastBetweenColors()
|