Home
last modified time | relevance | path

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

1234

/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/theme/
H A DSettingsTonalPalette.kt132 neutral40 = Color(red = 96, green = 93, blue = 98),
133 neutral30 = Color(red = 72, green = 70, blue = 73),
134 neutral20 = Color(red = 49, green = 48, blue = 51),
135 neutral10 = Color(red = 28, green = 27, blue = 31),
136 neutral0 = Color(red = 0, green = 0, blue = 0),
163 primary30 = Color(red = 79, green = 55, blue = 139),
164 primary20 = Color(red = 56, green = 30, blue = 114),
165 primary10 = Color(red = 33, green = 0, blue = 93),
166 primary0 = Color(red = 33, green = 0, blue = 93),
181 secondary0 = Color(red = 0, green = 0, blue = 0),
[all …]
/aosp14/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/theme/
H A DSettingsColorsTest.kt54 assertThat(ls.background).isEqualTo(Color(red = 244, green = 239, blue = 244))
55 assertThat(ls.categoryTitle).isEqualTo(Color(red = 103, green = 80, blue = 164))
56 assertThat(ls.surface).isEqualTo(Color(red = 255, green = 251, blue = 254))
57 assertThat(ls.surfaceHeader).isEqualTo(Color(red = 230, green = 225, blue = 229))
58 assertThat(ls.secondaryText).isEqualTo(Color(red = 73, green = 69, blue = 79))
60 assertThat(ls.onPrimaryContainer).isEqualTo(Color(red = 28, green = 27, blue = 31))
67 assertThat(ds.background).isEqualTo(Color(red = 28, green = 27, blue = 31))
68 assertThat(ds.categoryTitle).isEqualTo(Color(red = 234, green = 221, blue = 255))
69 assertThat(ds.surface).isEqualTo(Color(red = 49, green = 48, blue = 51))
70 assertThat(ds.surfaceHeader).isEqualTo(Color(red = 72, green = 70, blue = 73))
[all …]
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DColor.java534 public float blue() { in blue() method in Color
843 float b = blue(color); in toArgb()
1046 (int) (blue * 255.0f + 0.5f); in pack()
1062 @HalfFloat short b = Half.toHalf(blue); in pack()
1112 float b = blue(color); in convert()
1169 float b = blue(color); in convert()
1225 double b = eotf.applyAsDouble(blue(color)); in luminance()
1266 public static int blue(int color) { in blue() method in Color
1304 (int) (blue * 255.0f + 0.5f); in rgb()
1341 (int) (blue * 255.0f + 0.5f); in argb()
[all …]
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/color/
H A 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()
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()
330 displayPrimaries.blue.X = 0.180500f; in displayWhiteBalance_targetApplied_validateTransformMatrix()
331 displayPrimaries.blue.Y = 0.072200f; in displayWhiteBalance_targetApplied_validateTransformMatrix()
[all …]
/aosp14/frameworks/base/core/java/android/hardware/camera2/params/
H A 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()
H A DRggbChannelVector.java59 final float blue) { in RggbChannelVector() argument
63 mBlue = checkArgumentFinite(blue, "blue"); in RggbChannelVector()
/aosp14/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/hdr/
H A DColorGrid.kt40 val blue = (Color.blue(color) / 255f) * colorspace.getMaxValue(2) regex
42 return Color.pack(red, green, blue, alpha, colorspace)
/aosp14/frameworks/base/core/java/com/android/internal/graphics/cam/
H A 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()
/aosp14/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/common/
H A DBaseDrawingView.kt36 fun color(red: Float, green: Float, blue: Float, alpha: Float = 1f): Long {
37 return Color.pack(red, green, blue, alpha, scRGB)
/aosp14/frameworks/base/core/tests/coretests/src/android/graphics/
H A DPaintNativeInstanceTest.kt58 val blue = LinearGradient(0f, 0f, size, 0f, Color.GREEN, Color.BLUE, regex
62 val compose = ComposeShader(blue, red, BlendMode.SCREEN)
66 test(paint, compose, blue, red)
/aosp14/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableRggbChannelVector.java52 float blue = buffer.getFloat(); in unmarshal() local
54 return new RggbChannelVector(red, gEven, gOdd, blue); in unmarshal()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/
H A DUnfoldBackgroundController.java19 import static android.graphics.Color.blue;
108 (float) blue(colorInt) / 255.0F in getRGBColorFromId()
/aosp14/frameworks/base/core/java/com/android/internal/graphics/
H A 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()
/aosp14/frameworks/base/tools/aapt2/compile/
H A DPngCrunch.cpp418 slot->blue = color >> 8; in WritePalette()
543 int blue = *row++; in WritePng() local
552 (red != 0 || green != 0 || blue != 0); in WritePng()
553 red = green = blue = 0; in WritePng()
557 const uint32_t color = red << 24 | green << 16 | blue << 8 | alpha; in WritePng()
568 if (red != green || red != blue) { in WritePng()
576 max_gray_deviation = std::max(std::abs(green - blue), max_gray_deviation); in WritePng()
577 max_gray_deviation = std::max(std::abs(blue - red), max_gray_deviation); in WritePng()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DConnectivityControllerTest.java952 final JobStatus blue = createJobStatus(createJob() in testUpdates() local
957 assertFalse(blue.getPreferUnmetered()); in testUpdates()
973 assertFalse(blue.getHasAccessToUnmetered()); in testUpdates()
986 assertFalse(blue.getHasAccessToUnmetered()); in testUpdates()
1000 assertFalse(blue.getHasAccessToUnmetered()); in testUpdates()
1014 assertTrue(blue.getHasAccessToUnmetered()); in testUpdates()
1027 assertTrue(blue.getHasAccessToUnmetered()); in testUpdates()
1060 controller.requestStandbyExceptionLocked(blue); in testRequestStandbyExceptionLocked()
1115 controller.evaluateStateLocked(blue); in testEvaluateStateLocked_JobWouldBeReady()
1148 controller.requestStandbyExceptionLocked(blue); in testEvaluateStateLocked_JobWouldNotBeReady()
[all …]
/aosp14/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DDuotoneFilter.java114 Color.blue(mFirstColor)/255f }; in updateParameters()
117 Color.blue(mSecondColor)/255f }; in updateParameters()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DMediaNotificationProcessorTest.java85 assertThat((float) Color.blue(expected)).isWithin(COLOR_TOLERANCE).of(Color.blue(actual)); in assertCloseColors()
/aosp14/frameworks/base/media/mca/filterfw/native/core/
H A 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()
/aosp14/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A 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
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPathDestructionActivity.java80 int blue = r.nextInt(255); in getRandomColor() local
81 return 0xff000000 | red << 16 | green << 8 | blue; in getRandomColor()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationUtils.java59 (int) interpolate(Color.blue(startColor), Color.blue(endColor), amount)); in interpolateColors()
/aosp14/frameworks/base/core/java/com/android/internal/graphics/palette/
H A DWuQuantizer.java127 int blue = Color.blue(pixel); in constructHistogram() local
131 int iB = (blue >> bitsToRemove) + 1; in constructHistogram()
136 mMomentsB[index] += (blue * count); in constructHistogram()
137 mMoments[index] += (count * ((red * red) + (green * green) + (blue * blue))); in constructHistogram()
/aosp14/frameworks/base/opengl/java/android/opengl/
H A DGLES10.java318 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
/aosp14/frameworks/base/services/core/java/com/android/server/display/color/
H A DDisplayWhiteBalanceTintController.java387 || primaries.blue == null || primaries.white == null) { in getDisplayColorSpaceFromSurfaceControl()
395 primaries.blue.X, primaries.blue.Y, primaries.blue.Z, in getDisplayColorSpaceFromSurfaceControl()
/aosp14/frameworks/base/media/java/android/media/
H A DCea708CaptionRenderer.java500 int blue = data[pos] & 0x03; in parseC1() local
506 blue = data[pos] & 0x03; in parseC1()
511 blue = data[pos] & 0x03; in parseC1()
513 CaptionColor.OPACITY_SOLID, red, green, blue); in parseC1()
545 int blue = data[pos] & 0x03; in parseC1() local
546 CaptionColor fillColor = new CaptionColor(opacity, red, green, blue); in parseC1()
550 blue = data[pos + 1] & 0x03; in parseC1()
552 CaptionColor.OPACITY_SOLID, red, green, blue); in parseC1()
844 public final int blue; field in Cea708CCParser.CaptionColor
846 public CaptionColor(int opacity, int red, int green, int blue) { in CaptionColor() argument
[all …]

1234