Home
last modified time | relevance | path

Searched refs:red (Results 1 – 25 of 180) sorted by relevance

12345678

/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/graphics/java/android/graphics/
DColor.java503 public float red() { in red() method in Color
724 public static float red(@ColorLong long color) { in red() method in Color
844 float r = red(color); in toArgb()
885 return new Color(red(color), green(color), blue(color), alpha(color), colorSpace(color)); in valueOf()
1001 public static long pack(float red, float green, float blue) { in pack() argument
1002 return pack(red, green, blue, 1.0f, ColorSpace.get(ColorSpace.Named.SRGB)); in pack()
1018 public static long pack(float red, float green, float blue, float alpha) { in pack() argument
1019 return pack(red, green, blue, alpha, ColorSpace.get(ColorSpace.Named.SRGB)); in pack()
1042 public static long pack(float red, float green, float blue, float alpha, in pack() argument
1047 ((int) (red * 255.0f + 0.5f) << 16) | in pack()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_GetDisplayNativePrimariesTest.cpp46 primaries.red.X = startingVal++; in populateDummyDisplayNativePrimaries()
47 primaries.red.Y = startingVal++; in populateDummyDisplayNativePrimaries()
48 primaries.red.Z = startingVal++; in populateDummyDisplayNativePrimaries()
63 EXPECT_EQ(primaries.red.X, startingVal++); in checkDummyDisplayNativePrimaries()
64 EXPECT_EQ(primaries.red.Y, startingVal++); in checkDummyDisplayNativePrimaries()
65 EXPECT_EQ(primaries.red.Z, startingVal++); in checkDummyDisplayNativePrimaries()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/color/
DDisplayWhiteBalanceTintControllerTest.java185 displayPrimaries.red = new SurfaceControl.CieXyz(); in displayWhiteBalance_setupWithSurfaceControl()
186 displayPrimaries.red.X = 0.412315f; in displayWhiteBalance_setupWithSurfaceControl()
187 displayPrimaries.red.Y = 0.212600f; in displayWhiteBalance_setupWithSurfaceControl()
188 displayPrimaries.red.Z = 0.019327f; in displayWhiteBalance_setupWithSurfaceControl()
217 displayPrimaries.red = new SurfaceControl.CieXyz(); in displayWhiteBalance_setupWithInvalidSurfaceControlData()
279 displayPrimaries.red = new SurfaceControl.CieXyz(); in displayWhiteBalance_getAndSetMatrix_validateTransformMatrix()
280 displayPrimaries.red.X = 0.412315f; in displayWhiteBalance_getAndSetMatrix_validateTransformMatrix()
281 displayPrimaries.red.Y = 0.212600f; in displayWhiteBalance_getAndSetMatrix_validateTransformMatrix()
282 displayPrimaries.red.Z = 0.019327f; in displayWhiteBalance_getAndSetMatrix_validateTransformMatrix()
328 displayPrimaries.red = new SurfaceControl.CieXyz(); in displayWhiteBalance_targetApplied_validateTransformMatrix()
[all …]
/frameworks/base/core/java/android/hardware/camera2/params/
DTonemapCurve.java105 public TonemapCurve(float[] red, float[] green, float[] blue) { in TonemapCurve() argument
108 checkNotNull(red, "red must not be null"); in TonemapCurve()
112 checkArgumentArrayLengthDivisibleBy(red, POINT_SIZE, "red"); in TonemapCurve()
116 checkArgumentArrayLengthNoLessThan(red, MIN_CURVE_LENGTH, "red"); in TonemapCurve()
120 checkArrayElementsInRange(red, LEVEL_BLACK, LEVEL_WHITE, "red"); in TonemapCurve()
124 mRed = Arrays.copyOf(red, red.length); in TonemapCurve()
DRggbChannelVector.java58 public RggbChannelVector(final float red, final float greenEven, final float greenOdd, in RggbChannelVector() argument
60 mRed = checkArgumentFinite(red, "red"); in RggbChannelVector()
/frameworks/rs/toolkit/
DLut.cpp41 LutTask(const uint8_t* input, uint8_t* output, size_t sizeX, size_t sizeY, const uint8_t* red, in LutTask() argument
47 mRedTable{red},
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.
27 float red;
51 float red;
Dlayered_filter_f32_helper.rsh95 result.red += weight * sharp_nbr->red;
107 result.red *= factor;
143 fuzzy.red = result.r * factor;
179 result.red += weight * sharp_nbr->red;
191 result.red *= fac;
201 p->red = 0;
221 p->red = 0;
Dlayered_filter_fast_f32.rscript105 sharp->red = in.r * g_kOneOver255;
109 sharp->red =
110 ApplyLUT_Float(sharp->red, g_camera_response.lut_remove_crf_float);
270 float4 this_value = {weight * sharp->red, weight * sharp->green,
291 float4 this_value = {weight * sharp->red, weight * sharp->green,
386 fuzzy->red += factor * result.red;
432 sharp->red += factor * (fuzzy->red - sharp->red);
436 fuzzy->red = 0;
462 fuzzy->red += sharp->red * capacity;
482 result.r = ApplyLUT_Float(fuzzy->red, g_camera_response.lut_apply_crf_float);
[all …]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DMaterial.java102 int[] red = new int[means.length - 1]; in setup() local
112 red[i] = (rgb >> 16) & 0xff; in setup()
129 mMaterialProp[i].mRed = red[i]; in setup()
243 int red = m[0].mRed; in buildMaterialProp() local
249 mColor[p + RED] = (byte) red; in buildMaterialProp()
266 int red = (int) (m[k].mRed * t1 + m[k + 1].mRed * t2); in buildMaterialProp() local
275 mColor[p + RED] = (byte) red; in buildMaterialProp()
287 int red = mp.mRed; in buildMaterialProp() local
292 mColor[p + RED] = (byte) red; in buildMaterialProp()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/
DColorGrid.kt38 val red = (Color.red(color) / 255f) * colorspace.getMaxValue(0) in toMaxColor() constant
42 return Color.pack(red, green, blue, alpha, colorspace) in toMaxColor()
/frameworks/base/cmds/idmap2/
Dvalgrind.sh27 local red="\e[31m"
39 _log "${red}[ FAILED ]${reset} ${label}"
Dstatic-checks.sh27 local red="\e[31m"
39 _log "${red}[ FAILED ]${reset} ${label}"
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_Color.cpp23 static void Color_RGBToHSV(JNIEnv* env, jobject, jint red, jint green, jint blue, in Color_RGBToHSV() argument
27 SkRGBToHSV(red, green, blue, hsv); in Color_RGBToHSV()
/frameworks/base/ravenwood/services-test/test/com/android/ravenwoodtest/servicestest/
DRavenwoodServicesDependenciesTest.java43 final RedManager red = mRavenwood.getContext().getSystemService( in testDirect() local
45 assertEquals("blue+red", red.getInterfaceDescriptor()); in testDirect()
/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()
238 final float r = linearized(Color.red(argb)); in yFromInt()
248 final float r = linearized(Color.red(argb)); in xyzFromInt()
/frameworks/base/tests/graphics/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/libs/androidfw/
DPngCrunch.cpp405 slot->red = color >> 24; in WritePalette()
526 int red = *row++; in WritePng() local
537 (red != 0 || green != 0 || blue != 0); in WritePng()
538 red = green = blue = 0; in WritePng()
542 const uint32_t color = red << 24 | green << 16 | blue << 8 | alpha; in WritePng()
553 if (red != green || red != blue) { in WritePng()
560 max_gray_deviation = std::max(std::abs(red - green), max_gray_deviation); in WritePng()
562 max_gray_deviation = std::max(std::abs(blue - red), max_gray_deviation); in WritePng()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DConnectivityControllerTest.java1013 final JobStatus red = createJobStatus(createJob() in testUpdates() local
1033 assertTrue(red.canApplyTransportAffinities()); in testUpdates()
1038 controller.maybeStartTrackingJobLocked(red, null); in testUpdates()
1054 assertFalse(red.isConstraintSatisfied(CONSTRAINT_CONNECTIVITY)); in testUpdates()
1058 assertFalse(red.areTransportAffinitiesSatisfied()); in testUpdates()
1071 assertFalse(red.isConstraintSatisfied(CONSTRAINT_CONNECTIVITY)); in testUpdates()
1080 assertFalse(red.areTransportAffinitiesSatisfied()); in testUpdates()
1089 assertFalse(red.areTransportAffinitiesSatisfied()); in testUpdates()
1105 assertFalse(red.isConstraintSatisfied(CONSTRAINT_CONNECTIVITY)); in testUpdates()
1113 assertFalse(red.areTransportAffinitiesSatisfied()); in testUpdates()
[all …]
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableRggbChannelVector.java49 float red = buffer.getFloat(); in unmarshal() local
54 return new RggbChannelVector(red, gEven, gOdd, blue); in unmarshal()
/frameworks/base/core/tests/coretests/src/android/graphics/
DPaintNativeInstanceTest.kt60 val red = LinearGradient(0f, 0f, 0f, size, Color.GREEN, Color.RED, 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.java21 import static android.graphics.Color.red;
106 (float) red(colorInt) / 255.0F, in getRGBColorFromId()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DAnimateSharedAsState.kt228 red = aOklab.red - bOklab.red, in diff()
238 red = aOklab.red + b.red * bWeight, in addWeighted()
255 val red: Float, constant in com.android.compose.animation.scene.ColorDelta
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
DTestFramerateView.java76 float red = (now_us % 1000000) / 1000000.f; in onDrawFrame() local
79 GLES20.glClearColor(red, green, blue, 1.0f); in onDrawFrame()

12345678