Home
last modified time | relevance | path

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

1234567

/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/theme/
DSettingsTonalPalette.kt124 neutral100 = Color(red = 255, green = 255, blue = 255), in tonalPalette()
125 neutral99 = Color(red = 255, green = 251, blue = 254), in tonalPalette()
126 neutral95 = Color(red = 244, green = 239, blue = 244), in tonalPalette()
127 neutral90 = Color(red = 230, green = 225, blue = 229), in tonalPalette()
128 neutral80 = Color(red = 201, green = 197, blue = 202), in tonalPalette()
129 neutral70 = Color(red = 174, green = 170, blue = 174), in tonalPalette()
130 neutral60 = Color(red = 147, green = 144, blue = 148), in tonalPalette()
131 neutral50 = Color(red = 120, green = 117, blue = 121), in tonalPalette()
132 neutral40 = Color(red = 96, green = 93, blue = 98), in tonalPalette()
133 neutral30 = Color(red = 72, green = 70, blue = 73), in tonalPalette()
[all …]
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/theme/
DSettingsColorsTest.kt54 assertThat(ls.background).isEqualTo(Color(red = 244, green = 239, blue = 244)) in testStaticTheme()
55 assertThat(ls.categoryTitle).isEqualTo(Color(red = 103, green = 80, blue = 164)) in testStaticTheme()
56 assertThat(ls.surface).isEqualTo(Color(red = 255, green = 251, blue = 254)) in testStaticTheme()
57 assertThat(ls.surfaceHeader).isEqualTo(Color(red = 230, green = 225, blue = 229)) in testStaticTheme()
58 assertThat(ls.secondaryText).isEqualTo(Color(red = 73, green = 69, blue = 79)) in testStaticTheme()
59 assertThat(ls.primaryContainer).isEqualTo(Color(red = 234, green = 221, blue = 255)) in testStaticTheme()
60 assertThat(ls.onPrimaryContainer).isEqualTo(Color(red = 28, green = 27, blue = 31)) in testStaticTheme()
61 assertThat(ls.spinnerHeaderContainer).isEqualTo(Color(red = 234, green = 221, blue = 255)) in testStaticTheme()
62 assertThat(ls.onSpinnerHeaderContainer).isEqualTo(Color(red = 28, green = 27, blue = 31)) in testStaticTheme()
63 assertThat(ls.spinnerItemContainer).isEqualTo(Color(red = 232, green = 222, blue = 248)) in testStaticTheme()
[all …]
/frameworks/base/graphics/java/android/graphics/
DColor.java534 public float blue() { in blue() method in Color
761 public static float blue(@ColorLong long color) { in blue() method in Color
843 float b = blue(color); in toArgb()
882 return new Color(red(color), green(color), blue(color), alpha(color), colorSpace(color)); in valueOf()
998 public static long pack(float red, float green, float blue) { in pack() argument
999 return pack(red, green, blue, 1.0f, ColorSpace.get(ColorSpace.Named.SRGB)); in pack()
1015 public static long pack(float red, float green, float blue, float alpha) { in pack() argument
1016 return pack(red, green, blue, alpha, ColorSpace.get(ColorSpace.Named.SRGB)); in pack()
1039 public static long pack(float red, float green, float blue, float alpha, in pack() argument
1046 (int) (blue * 255.0f + 0.5f); in pack()
[all …]
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/color/
DDisplayWhiteBalanceTintControllerTest.java186 displayPrimaries.blue = new SurfaceControl.CieXyz(); in displayWhiteBalance_setupWithSurfaceControl()
187 displayPrimaries.blue.X = 0.180500f; in displayWhiteBalance_setupWithSurfaceControl()
188 displayPrimaries.blue.Y = 0.072200f; in displayWhiteBalance_setupWithSurfaceControl()
189 displayPrimaries.blue.Z = 0.950633f; in displayWhiteBalance_setupWithSurfaceControl()
212 displayPrimaries.blue = new SurfaceControl.CieXyz(); in displayWhiteBalance_setupWithInvalidSurfaceControlData()
280 displayPrimaries.blue = new SurfaceControl.CieXyz(); in displayWhiteBalance_getAndSetMatrix_validateTransformMatrix()
281 displayPrimaries.blue.X = 0.180500f; in displayWhiteBalance_getAndSetMatrix_validateTransformMatrix()
282 displayPrimaries.blue.Y = 0.072200f; in displayWhiteBalance_getAndSetMatrix_validateTransformMatrix()
283 displayPrimaries.blue.Z = 0.950633f; in displayWhiteBalance_getAndSetMatrix_validateTransformMatrix()
329 displayPrimaries.blue = new SurfaceControl.CieXyz(); in displayWhiteBalance_targetApplied_validateTransformMatrix()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_GetDisplayNativePrimariesTest.cpp52 primaries.blue.X = startingVal++; in populateDummyDisplayNativePrimaries()
53 primaries.blue.Y = startingVal++; in populateDummyDisplayNativePrimaries()
54 primaries.blue.Z = startingVal++; in populateDummyDisplayNativePrimaries()
69 EXPECT_EQ(primaries.blue.X, startingVal++); in checkDummyDisplayNativePrimaries()
70 EXPECT_EQ(primaries.blue.Y, startingVal++); in checkDummyDisplayNativePrimaries()
71 EXPECT_EQ(primaries.blue.Z, startingVal++); in checkDummyDisplayNativePrimaries()
/frameworks/base/core/java/android/hardware/camera2/params/
DTonemapCurve.java105 public TonemapCurve(float[] red, float[] green, float[] blue) { in TonemapCurve() argument
110 checkNotNull(blue, "blue must not be null"); in TonemapCurve()
114 checkArgumentArrayLengthDivisibleBy(blue, POINT_SIZE, "blue"); in TonemapCurve()
118 checkArgumentArrayLengthNoLessThan(blue, MIN_CURVE_LENGTH, "blue"); in TonemapCurve()
122 checkArrayElementsInRange(blue, LEVEL_BLACK, LEVEL_WHITE, "blue"); in TonemapCurve()
126 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/toolkit/
DLut.cpp42 const uint8_t* green, const uint8_t* blue, const uint8_t* alpha, in LutTask() argument
49 mBlueTable{blue},
69 const uint8_t* red, const uint8_t* green, const uint8_t* blue, in lut() argument
77 LutTask task(input, output, sizeX, sizeY, red, green, blue, alpha, restriction); in lut()
/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/tests/SilkFX/src/com/android/test/silkfx/hdr/
DColorGrid.kt40 val blue = (Color.blue(color) / 255f) * colorspace.getMaxValue(2) in toMaxColor() constant
42 return Color.pack(red, green, blue, alpha, colorspace) in toMaxColor()
/frameworks/base/core/java/com/android/internal/graphics/cam/
DCamUtils.java190 public static int argbFromRgb(int red, int green, int blue) { in argbFromRgb() argument
191 return (255 << 24) | ((red & 255) << 16) | ((green & 255) << 8) | (blue & 255); in argbFromRgb()
240 final float b = linearized(Color.blue(argb)); in yFromInt()
250 final float b = linearized(Color.blue(argb)); in xyzFromInt()
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/common/
DBaseDrawingView.kt36 fun color(red: Float, green: Float, blue: Float, alpha: Float = 1f): Long { in color()
37 return Color.pack(red, green, blue, alpha, scRGB) in color()
/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/base/core/tests/coretests/src/android/graphics/
DPaintNativeInstanceTest.kt58 val blue = LinearGradient(0f, 0f, size, 0f, Color.GREEN, Color.BLUE, in <lambda>() constant
62 val compose = ComposeShader(blue, red, BlendMode.SCREEN) in <lambda>()
66 test(paint, compose, blue, red) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/
DUnfoldBackgroundController.java19 import static android.graphics.Color.blue;
108 (float) blue(colorInt) / 255.0F in getRGBColorFromId()
/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/services/inputflinger/reader/controller/
DPeripheralController.cpp46 static inline int32_t toArgb(int32_t brightness, int32_t red, int32_t green, int32_t blue) { in toArgb() argument
47 return (brightness & 0xff) << 24 | (red & 0xff) << 16 | (green & 0xff) << 8 | (blue & 0xff); in toArgb()
127 int32_t blue = 0; in setLightColor() local
132 blue = ceil(getBlue(color) / ratio); in setLightColor()
136 setRawLightBrightness(rawRgbIds.at(LightColor::BLUE), blue); in setLightColor()
185 int32_t blue = round(blueOr.value() * ratio); in getLightColor() local
187 if (red > MAX_BRIGHTNESS || green > MAX_BRIGHTNESS || blue > MAX_BRIGHTNESS) { in getLightColor()
192 blue = blueOr.value(); in getLightColor()
196 return toArgb(brightness, red, green, blue); in getLightColor()
/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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DMediaNotificationProcessorTest.java85 assertThat((float) Color.blue(expected)).isWithin(COLOR_TOLERANCE).of(Color.blue(actual)); in assertCloseColors()
/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/base/core/java/com/android/internal/graphics/
DColorUtils.java59 int b = compositeComponent(Color.blue(foreground), fgAlpha, in compositeColors()
60 Color.blue(background), bgAlpha, a); in compositeColors()
270 RGBToHSL(Color.red(color), Color.green(color), Color.blue(color), outHsl); in colorToHSL()
388 RGBToLAB(Color.red(color), Color.green(color), Color.blue(color), outLab); in colorToLAB()
431 RGBToXYZ(Color.red(color), Color.green(color), Color.blue(color), outXyz); in colorToXYZ()
625 float b = Color.blue(color1) * inverseRatio + Color.blue(color2) * ratio; in blendARGB()
/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 …]

1234567