Home
last modified time | relevance | path

Searched defs:color (Results 1 – 25 of 4447) sorted by relevance

12345678910>>...178

/aosp_15_r20/development/tools/winscope/src/trace/
H A Dtrace_info.ts49 color: '#AF5CF7', constant
56 color: '#4ECDE6', constant
63 color: '#8A9CF9', constant
70 color: '#8A9CF9', constant
77 color: '#0D652D', constant
84 color: '#0D652D', constant
91 color: '#FDC274', constant
98 color: '#D01884', constant
105 color: '#34A853', constant
112 color: '#7A86FF', constant
[all …]
/aosp_15_r20/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
H A DFactoryProviderTest.java130 Car create(Color color); in create()
135 private final Color color; field in FactoryProviderTest.Mustang
138 public Mustang(double engineSize, @Assisted Color color) { in Mustang()
147 private final Color color; field in FactoryProviderTest.Camaro
153 @Assisted Color color) { in Camaro()
161 Car create(Color color, boolean convertable); in create()
163 Car createConvertible(Color color); in createConvertible()
193 private Color color; field in FactoryProviderTest.Corvette
197 public Corvette(@Assisted Color color) { in Corvette()
202 public Corvette(@Assisted Color color, @Assisted boolean isConvertable) { in Corvette()
[all …]
H A DFactoryProvider2Test.java108 Car create(Color color); in create()
113 private final Color color; field in FactoryProvider2Test.Mustang
116 public Mustang(double engineSize, @Assisted Color color) { in Mustang()
127 private final Color color; field in FactoryProvider2Test.Camaro
133 @Assisted Color color) { in Camaro()
141 Car create(Color color, boolean convertable); in create()
166 private Color color; field in FactoryProvider2Test.Corvette
170 public Corvette(Color color, boolean isConvertable) { in Corvette()
175 public Corvette(@Assisted Color color, Float maxMph, @Assisted boolean isConvertable) { in Corvette()
199 private final Color color; field in FactoryProvider2Test.Beetle
[all …]
H A DFactoryModuleBuilderTest.java412 Car create(Color color); in create()
416 Mustang create(Color color); in create()
420 Mustang getMustang(Color color); in getMustang()
422 Beetle getBeetle(Color color); in getBeetle()
427 Car getGermanCar(Color color); in getGermanCar()
430 Car getAmericanCar(Color color); in getAmericanCar()
436 private final Color color; field in FactoryModuleBuilderTest.Mustang
439 public Mustang(@Assisted Color color) { in Mustang()
445 private final Color color; field in FactoryModuleBuilderTest.Beetle
448 public Beetle(@Assisted Color color) { in Beetle()
[all …]
/aosp_15_r20/frameworks/base/graphics/java/android/graphics/
H A DColor.java455 float[] color = new float[] { in convert() local
478 float[] color = new float[] { in toArgb() local
705 public static ColorSpace colorSpace(@ColorLong long color) { in colorSpace()
724 public static float red(@ColorLong long color) { in red()
744 public static float green(@ColorLong long color) { in green()
764 public static float blue(@ColorLong long color) { in blue()
781 public static float alpha(@ColorLong long color) { in alpha()
797 public static boolean isSrgb(@ColorLong long color) { in isSrgb()
814 public static boolean isWideGamut(@ColorLong long color) { in isWideGamut()
828 public static boolean isInColorSpace(@ColorLong long color, @NonNull ColorSpace colorSpace) { in isInColorSpace()
[all …]
/aosp_15_r20/external/skia/modules/canvaskit/tests/
H A Dparagraph_test.js69 color: CanvasKit.BLACK, property
83 color: CanvasKit.Color(48, 37, 199), property
284 color: CanvasKit.WHITE, property
287 shadows: [{color: CanvasKit.BLACK, blurRadius: 15}, property
288 {color: CanvasKit.RED, blurRadius: 5, offset: [10, 10]}], property
314 color: CanvasKit.BLACK, property
327 color: CanvasKit.BLACK, property
331 color: CanvasKit.BLACK, property
336 color: CanvasKit.BLACK, property
383 color: CanvasKit.BLACK, property
[all …]
/aosp_15_r20/external/angle/src/libANGLE/
H A Doverlay_widgets.json38 "color": [127, 191, 255, 255], array
47 "color": [255, 0, 0, 255], array
56 "color": [255, 0, 0, 255], array
65 "color": [75, 200, 0, 200], array
70 "color": [75, 200, 0, 255], array
80 "color": [255, 200, 75, 200], array
85 "color": [255, 200, 75, 255], array
96 "color": [75, 200, 0, 200], array
101 "color": [75, 200, 0, 255], array
111 "color": [255, 0, 75, 200], array
[all …]
/aosp_15_r20/external/angle/src/tests/egl_tests/
H A DEGLIOSurfaceClientBufferTest.cpp486 GLColor color(1, 2, 3, 4); in TEST_P() local
500 GLColor color(1, 2, 3, 4); in TEST_P() local
512 GLColor color(3, 2, 1, 4); in TEST_P() local
523 GLColor color(3, 2, 1, 4); in TEST_P() local
538 GLColor color(1, 2, 3, 255); in TEST_P() local
552 GLColor color(1, 2, 3, 255); in TEST_P() local
563 GLColor color(3, 2, 1, 255); in TEST_P() local
574 GLColor color(3, 2, 1, 4); in TEST_P() local
585 std::array<uint8_t, 2> color{1, 2}; in TEST_P() local
596 uint8_t color[2] = {1, 2}; in TEST_P() local
[all …]
/aosp_15_r20/frameworks/base/core/tests/coretests/src/android/colormodel/
H A DCamTest.java47 int color = cam.viewed(Frame.DEFAULT); in camFromIntToInt() local
125 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getRedFromGamutMap() local
133 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getGreenFromGamutMap() local
141 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getBlueFromGamutMap() local
149 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getWhiteFromGamutMap() local
157 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getBlackFromGamutMap() local
165 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getMidgrayFromGamutMap() local
173 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getRandomGreenFromGamutMap() local
179 int color = Cam.getInt(309.0f, 40.0f, 70.0f); in gamutMapArbitraryHCL() local
223 int color = 0xFF000000 | i; in testHctReflexivity() local
/aosp_15_r20/frameworks/base/core/java/android/widget/
H A DCalendarView.java170 public void setSelectedWeekBackgroundColor(@ColorInt int color) { in setSelectedWeekBackgroundColor()
198 public void setFocusedMonthDateColor(@ColorInt int color) { in setFocusedMonthDateColor()
226 public void setUnfocusedMonthDateColor(@ColorInt int color) { in setUnfocusedMonthDateColor()
254 public void setWeekNumberColor(@ColorInt int color) { in setWeekNumberColor()
282 public void setWeekSeparatorLineColor(@ColorInt int color) { in setWeekSeparatorLineColor()
601 void setSelectedWeekBackgroundColor(@ColorInt int color); in setSelectedWeekBackgroundColor()
604 void setFocusedMonthDateColor(@ColorInt int color); in setFocusedMonthDateColor()
607 void setUnfocusedMonthDateColor(@ColorInt int color); in setUnfocusedMonthDateColor()
610 void setWeekNumberColor(@ColorInt int color); in setWeekNumberColor()
613 void setWeekSeparatorLineColor(@ColorInt int color); in setWeekSeparatorLineColor()
[all …]
/aosp_15_r20/frameworks/base/core/java/com/android/internal/util/
H A DContrastColorUtil.java379 public static boolean isColorDark(int color) { in isColorDark()
384 private int processColor(int color) { in processColor()
401 public static int findContrastColor(int color, int other, boolean findFg, double minRatio) { in findContrastColor()
437 public static int findAlphaToMeetContrast(int color, int backgroundColor, double minRatio) { in findAlphaToMeetContrast()
471 public static int findContrastColorAgainstDark(int color, int other, boolean findFg, in findContrastColorAgainstDark()
501 public static int ensureTextContrastOnBlack(int color) { in ensureTextContrastOnBlack()
511 public static int ensureLargeTextContrast(int color, int bg, boolean isBgDarker) { in ensureLargeTextContrast()
523 public static int ensureTextContrast(int color, int bg, boolean isBgDarker) { in ensureTextContrast()
536 public static int ensureContrast(int color, int bg, boolean isBgDarker, double minRatio) { in ensureContrast()
545 public static int ensureTextBackgroundColor(int color, int textColor, int hintColor) { in ensureTextBackgroundColor()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/plotters/src/drawing/backend_impl/
Dmocked.rs138 let color = RGBAColor(color.rgb.0, color.rgb.1, color.rgb.2, color.alpha); in draw_pixel() localVariable
157 let color = style.color(); in draw_line() localVariable
158 let color = RGBAColor(color.rgb.0, color.rgb.1, color.rgb.2, color.alpha); in draw_line() localVariable
178 let color = style.color(); in draw_rect() localVariable
179 let color = RGBAColor(color.rgb.0, color.rgb.1, color.rgb.2, color.alpha); in draw_rect() localVariable
197 let color = style.color(); in draw_path() localVariable
198 let color = RGBAColor(color.rgb.0, color.rgb.1, color.rgb.2, color.alpha); in draw_path() localVariable
218 let color = style.color(); in draw_circle() localVariable
219 let color = RGBAColor(color.rgb.0, color.rgb.1, color.rgb.2, color.alpha); in draw_circle() localVariable
237 let color = style.color(); in fill_polygon() localVariable
[all …]
/aosp_15_r20/external/skia/src/effects/colorfilters/
H A DSkBlendModeColorFilter.cpp30 SkRGBA4f<kDstAT> color = {c.fR, c.fG, c.fB, c.fA}; in map_color() local
35 SkBlendModeColorFilter::SkBlendModeColorFilter(const SkColor4f& color, SkBlendMode mode) in SkBlendModeColorFilter()
38 bool SkBlendModeColorFilter::onAsAColorMode(SkColor* color, SkBlendMode* mode) const { in onAsAColorMode()
67 SkColor color = buffer.readColor(); in CreateProc() local
72 SkColor4f color; in CreateProc() local
81 SkPMColor4f color = map_color(fColor, sk_srgb_singleton(), rec.fDstCS); in appendStages() local
89 sk_sp<SkColorFilter> SkColorFilters::Blend(const SkColor4f& color, in Blend()
129 sk_sp<SkColorFilter> SkColorFilters::Blend(SkColor color, SkBlendMode mode) { in Blend()
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DCaptionUtilsTest.java34 final int color = CaptionUtils.parseColor(0xFFFF00); in parseColor_defaultPackedColor_shouldReturnUnspecified() local
41 final int color = CaptionUtils.parseColor(0x00); in parseColor_unrecognizedColor_shouldReturnTransparent() local
48 final int color = CaptionUtils.parseColor(0xFFFF0000); in parseColor_redColor_shouldReturnRed() local
55 final int color = CaptionUtils.parseOpacity(0xFFFF00); in parseOpacity_defaultPackedColor_shouldReturnUnspecified() local
62 final int color = CaptionUtils.parseOpacity(0x00); in parseOpacity_unrecognizedColor_shouldReturnTransparent() local
69 final int color = CaptionUtils.parseOpacity(0x80FFFFFF); in parseOpacity_halfTransparentValue_shouldReturnHalfTransparent() local
76 final int color = CaptionUtils.mergeColorOpacity(0xFFFF0000, 0x80FFFFFF); in mergeColorOpacity_halfTransparentRedValue_shouldReturnMergeColorOpacityValue() local
/aosp_15_r20/external/skia/gm/
H A Droundrects.cpp175 SkColor color = gen_color(&rand); in onDraw() local
200 SkColor color = gen_color(&rand); in onDraw() local
220 SkColor color = gen_color(&rand); in onDraw() local
239 SkColor color = gen_color(&rand); in onDraw() local
258 SkColor color = gen_color(&rand); in onDraw() local
279 SkColor color = gen_color(&rand); in onDraw() local
314 SkColor color = gen_color(&rand); in onDraw() local
335 const SkColor color = gen_color(&rand); in onDraw() local
358 SkColor color = gen_color(&rand); in onDraw() local
H A Dworkingspace.cpp20 static sk_sp<SkShader> color_shader(SkColor4f color) { in color_shader()
40 static sk_sp<SkShader> raw_shader(SkColor4f color) { in raw_shader()
46 static sk_sp<SkShader> managed_shader(SkColor4f color) { in managed_shader()
58 static sk_sp<SkColorFilter> raw_cf(SkColor4f color) { in raw_cf()
64 static sk_sp<SkColorFilter> managed_cf(SkColor4f color) { in managed_cf()
70 static sk_sp<SkColorFilter> indirect_cf(SkColor4f color) { in indirect_cf()
78 static sk_sp<SkColorFilter> mode_cf(SkColor4f color) { in mode_cf()
/aosp_15_r20/external/mesa3d/src/broadcom/compiler/
H A Dv3d_nir_lower_image_load_store.c70 pack_bits(nir_builder *b, nir_def *color, const unsigned *bits, in pack_bits()
111 pack_11f11f10f(nir_builder *b, nir_def *color) in pack_11f11f10f()
122 pack_r10g10b10a2_uint(nir_builder *b, nir_def *color) in pack_r10g10b10a2_uint()
133 pack_r10g10b10a2_unorm(nir_builder *b, nir_def *color) in pack_r10g10b10a2_unorm()
153 pack_8bit(nir_builder *b, nir_def *color, in pack_8bit()
198 pack_16bit(nir_builder *b, nir_def *color, in pack_16bit()
242 pack_xbit(nir_builder *b, nir_def *color, in pack_xbit()
288 nir_def *color = nir_trim_vector(b, in v3d42_nir_lower_image_store() local
364 nir_def *color = in v3d71_nir_lower_image_store() local
/aosp_15_r20/external/skia/src/shaders/
H A DSkColorShader.cpp41 SkColor4Shader::SkColor4Shader(const SkColor4f& color, sk_sp<SkColorSpace> space) in SkColor4Shader()
47 SkColor4f color; in CreateProc() local
69 SkColor4f color = SkColor4f::FromColor(fColor); in appendStages() local
77 SkColor4f color = fColor; in appendStages() local
85 SkColor4f color = fColor; in onAsLuminanceColor() local
103 sk_sp<SkShader> Color(SkColor color) { return sk_make_sp<SkColorShader>(color); } in Color()
105 sk_sp<SkShader> Color(const SkColor4f& color, sk_sp<SkColorSpace> space) { in Color()
/aosp_15_r20/external/igt-gpu-tools/lib/
H A Digt_draw.c254 static void set_pixel(void *_ptr, int index, uint32_t color, int bpp) in set_pixel()
297 struct rect *rect, uint32_t color, int bpp) in draw_rect_ptr_linear()
309 int swizzle, struct rect *rect, uint32_t color, in draw_rect_ptr_tiled()
334 uint32_t color) in draw_rect_mmap_cpu()
369 uint32_t color) in draw_rect_mmap_gtt()
385 uint32_t color) in draw_rect_mmap_wc()
419 struct rect *rect, uint32_t color) in draw_rect_pwrite_untiled()
436 uint32_t color, uint32_t swizzle) in draw_rect_pwrite_tiled()
496 struct rect *rect, uint32_t color) in draw_rect_pwrite()
518 uint32_t color) in draw_rect_blt()
[all …]
/aosp_15_r20/frameworks/native/services/inputflinger/reader/controller/
H A DPeripheralController.cpp30 static inline int32_t getAlpha(int32_t color) { in getAlpha()
34 static inline int32_t getRed(int32_t color) { in getRed()
38 static inline int32_t getGreen(int32_t color) { in getGreen()
42 static inline int32_t getBlue(int32_t color) { in getBlue()
107 bool PeripheralController::MonoLight::setLightColor(int32_t color) { in setLightColor()
114 bool PeripheralController::RgbLight::setLightColor(int32_t color) { in setLightColor()
140 bool PeripheralController::MultiColorLight::setLightColor(int32_t color) { in setLightColor()
202 int32_t color = toArgb(/*brightness=*/0, intensities.at(LightColor::RED), in getLightColor() local
549 bool PeripheralController::setLightColor(int32_t lightId, int32_t color) { in setLightColor()
568 std::optional<int32_t> color = light->getLightColor(); in getLightColor() local
/aosp_15_r20/frameworks/base/libs/hwui/
H A DCanvasTransform.cpp36 SkColor makeLight(SkColor color) { in makeLight()
47 SkColor makeDark(SkColor color) { in makeDark()
58 SkColor transformColor(ColorTransform transform, SkColor color) { in transformColor()
69 SkColor transformColorInverse(ColorTransform transform, SkColor color) { in transformColorInverse()
120 SkColor color; in applyColorTransform() local
129 static BitmapPalette paletteForColorHSV(SkColor color) { in paletteForColorHSV()
140 SkColor4f color = palette == BitmapPalette::Light ? SkColors::kWhite : SkColors::kBlack; in filterPalette() local
/aosp_15_r20/frameworks/base/core/java/com/android/internal/graphics/palette/
H A DColorCutQuantizer.java264 final int color = colors[i]; in fitBox() local
388 final int color = colors[i]; in getAverageColor() local
420 final int color = a[i]; in modifySignificantOctet() local
429 final int color = a[i]; in modifySignificantOctet() local
451 private static int quantizeFromRgb888(int color) { in quantizeFromRgb888()
467 private static int approximateToRgb888(int color) { in approximateToRgb888()
475 static int quantizedRed(int color) { in quantizedRed()
482 static int quantizedGreen(int color) { in quantizedGreen()
489 static int quantizedBlue(int color) { in quantizedBlue()
/aosp_15_r20/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DManagedProvisioningSharedPreferences.java101 public void writeNavigationBarColor(int color) { in writeNavigationBarColor()
117 public void writeNavigationBarDividerColor(int color) { in writeNavigationBarDividerColor()
133 public void writeTextPrimaryColor(int color) { in writeTextPrimaryColor()
149 public void writeTextSecondaryColor(int color) { in writeTextSecondaryColor()
165 public void writeBackgroundColor(int color) { in writeBackgroundColor()
181 public void writeAccentColor(int color) { in writeAccentColor()
197 public void writeNotificationBackgroundColor(int color) { in writeNotificationBackgroundColor()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_clear.c57 const union pipe_color_union *color, in clear_buffers_with_quad()
97 ints_fit_in_floats(const union pipe_color_union *color) in ints_fit_in_floats()
110 const union pipe_color_union *color, in try_clear()
235 const union pipe_color_union *color, in svga_clear()
289 union pipe_color_union color; in svga_clear_texture() local
456 const union pipe_color_union *color) in svga_try_clear_render_target()
482 const union pipe_color_union *color, in svga_blitter_clear_render_target()
510 const union pipe_color_union *color, in svga_clear_render_target()
/aosp_15_r20/external/angle/src/tests/gl_tests/
H A DMemoryBarrierTest.cpp386 void MemoryBarrierTestBase::createFramebuffer(GLuint color, GLuint fbo, GLColor initialColor) in createFramebuffer()
774 GLTexture color; in vertexAttribArrayBitBufferWriteThenVertexRead() local
836 GLTexture color; in vertexAttribArrayBitVertexReadThenBufferWrite() local
926 GLTexture color; in elementArrayBitBufferWriteThenIndexRead() local
988 GLTexture color; in elementArrayBitIndexReadThenBufferWrite() local
1081 GLTexture color; in uniformBitBufferWriteThenUBORead() local
1136 GLTexture color; in uniformBitUBOReadThenBufferWrite() local
1222 GLTexture color; in commandBitBufferWriteThenIndirectRead() local
1286 GLTexture color; in commandBitIndirectReadThenBufferWrite() local
1346 GLTexture color; in pixelBufferBitBufferWriteThenPack() local
[all …]

12345678910>>...178