Home
last modified time | relevance | path

Searched refs:blue (Results 1 – 25 of 123) sorted by relevance

12345

/frameworks/base/graphics/java/android/graphics/
DColor.java535 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/services/tests/mockingservicestests/src/com/android/server/display/color/
DDisplayWhiteBalanceTintControllerTest.java109 displayPrimaries.blue = new CieXyz(); in displayWhiteBalance_setupWithSurfaceControl()
110 displayPrimaries.blue.X = 0.180500f; in displayWhiteBalance_setupWithSurfaceControl()
111 displayPrimaries.blue.Y = 0.072200f; in displayWhiteBalance_setupWithSurfaceControl()
112 displayPrimaries.blue.Z = 0.950633f; in displayWhiteBalance_setupWithSurfaceControl()
135 displayPrimaries.blue = new CieXyz(); in displayWhiteBalance_setupWithInvalidSurfaceControlData()
203 displayPrimaries.blue = new CieXyz(); in displayWhiteBalance_validateTransformMatrix()
204 displayPrimaries.blue.X = 0.180500f; in displayWhiteBalance_validateTransformMatrix()
205 displayPrimaries.blue.Y = 0.072200f; in displayWhiteBalance_validateTransformMatrix()
206 displayPrimaries.blue.Z = 0.950633f; in displayWhiteBalance_validateTransformMatrix()
/frameworks/base/core/java/android/hardware/camera2/params/
DTonemapCurve.java104 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()
DRggbChannelVector.java59 final float blue) { in RggbChannelVector() argument
63 mBlue = checkArgumentFinite(blue, "blue"); in RggbChannelVector()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dpixel_format_f32.rsh7 // 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;
Dlayered_filter_f32_helper.rsh97 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;
Dlayered_filter_fast_f32.rscript107 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 …]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DMaterial.java104 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/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DConnectivityControllerTest.java282 final JobStatus blue = createJobStatus(createJob() in testUpdates() local
293 controller.maybeStartTrackingJobLocked(blue, null); in testUpdates()
296 assertFalse(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()
308 assertTrue(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()
320 assertTrue(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()
332 assertTrue(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()
344 assertTrue(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()
354 final JobStatus blue = createJobStatus(createJob() in testRequestStandbyExceptionLocked() local
376 controller.requestStandbyExceptionLocked(blue); in testRequestStandbyExceptionLocked()
424 final JobStatus blue = createJobStatus(createJob() in testEvaluateStateLocked_JobWouldBeReady() local
[all …]
/frameworks/layoutlib/bridge/src/android/graphics/
DColor_Delegate.java30 /*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/
DUtilities.java38 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/
DMarshalQueryableRggbChannelVector.java52 float blue = buffer.getFloat(); in unmarshal() local
54 return new RggbChannelVector(red, gEven, gOdd, blue); in unmarshal()
/frameworks/native/opengl/tests/testViewport/
DREADME7 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/tests/testFramerate/src/com/android/testframerate/
DTestFramerateView.java78 float blue = (now_us % 3000000) / 3000000.f; in onDrawFrame() local
79 GLES20.glClearColor(red, green, blue, 1.0f); in onDrawFrame()
/frameworks/native/opengl/libs/GLES_CM/
Dgl_api.in4 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/
DColorUtils.java57 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/media/mca/filterpacks/java/android/filterpacks/imageproc/
DDuotoneFilter.java114 Color.blue(mFirstColor)/255f }; in updateParameters()
117 Color.blue(mSecondColor)/255f }; in updateParameters()
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES10.spec7 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/services/core/java/com/android/server/display/color/
DDisplayWhiteBalanceTintController.java246 || primaries.blue == null || primaries.white == null) { in getDisplayColorSpaceFromSurfaceControl()
254 primaries.blue.X, primaries.blue.Y, primaries.blue.Z, in getDisplayColorSpaceFromSurfaceControl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationUtils.java59 (int) interpolate(Color.blue(startColor), Color.blue(endColor), amount)); in interpolateColors()
/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.h350 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/opengl/java/javax/microedition/khronos/opengles/
DGL10.java292 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/
DPathDestructionActivity.java80 int blue = r.nextInt(255); in getRandomColor() local
81 return 0xff000000 | red << 16 | green << 8 | blue; in getRandomColor()
/frameworks/native/opengl/tools/glgen/specs/jsr239/
Dglspec-1.07 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/native/libs/ui/include_vndk/ui/
DConfigStoreTypes.h32 CieXyz blue; member

12345