Home
last modified time | relevance | path

Searched refs:Color (Results 1 – 25 of 1232) sorted by relevance

12345678910>>...50

/external/skia/modules/canvaskit/htmlcanvas/
D_namedcolors.js13 'aliceblue': CanvasKit.Color(240, 248, 255),
14 'antiquewhite': CanvasKit.Color(250, 235, 215),
15 'aqua': CanvasKit.Color(0, 255, 255),
16 'aquamarine': CanvasKit.Color(127, 255, 212),
17 'azure': CanvasKit.Color(240, 255, 255),
18 'beige': CanvasKit.Color(245, 245, 220),
19 'bisque': CanvasKit.Color(255, 228, 196),
20 'black': CanvasKit.Color(0, 0, 0),
21 'blanchedalmond': CanvasKit.Color(255, 235, 205),
22 'blue': CanvasKit.Color(0, 0, 255),
[all …]
/external/skqp/experimental/canvaskit/htmlcanvas/
D_namedcolors.js13 'aliceblue': CanvasKit.Color(240, 248, 255),
14 'antiquewhite': CanvasKit.Color(250, 235, 215),
15 'aqua': CanvasKit.Color(0, 255, 255),
16 'aquamarine': CanvasKit.Color(127, 255, 212),
17 'azure': CanvasKit.Color(240, 255, 255),
18 'beige': CanvasKit.Color(245, 245, 220),
19 'bisque': CanvasKit.Color(255, 228, 196),
20 'black': CanvasKit.Color(0, 0, 0),
21 'blanchedalmond': CanvasKit.Color(255, 235, 205),
22 'blue': CanvasKit.Color(0, 0, 255),
[all …]
/external/scapy/scapy/
Dthemes.py44 Color = ColorTable() variable
114 style_normal = Color.normal
115 style_prompt = Color.blue+Color.bold
116 style_punct = Color.normal
117 style_id = Color.blue+Color.bold
118 style_not_printable = Color.grey
119 style_layer_name = Color.red+Color.bold
120 style_field_name = Color.blue
121 style_field_value = Color.purple
122 style_emph_field_name = Color.blue+Color.uline+Color.bold
[all …]
/external/swiftshader/src/Renderer/
DColor.hpp24 struct Color struct
26 Color();
28 Color(const Color<byte> &c);
29 Color(const Color<short> &c);
30 Color(const Color<float> &c);
32 Color(int c);
33 Color(unsigned short c);
34 Color(unsigned long c);
35 Color(unsigned int c);
37 Color(T r, T g, T b, T a = 1);
[all …]
/external/swiftshader/src/Device/
DColor.hpp24 struct Color struct
26 Color();
28 Color(const Color<byte> &c);
29 Color(const Color<short> &c);
30 Color(const Color<float> &c);
32 Color(int c);
33 Color(unsigned short c);
34 Color(unsigned long c);
35 Color(unsigned int c);
37 Color(T r, T g, T b, T a = 1);
[all …]
/external/ImageMagick/Magick++/lib/Magick++/
DColor.h16 class MagickPPExport Color; variable
20 (const Magick::Color& left_,const Magick::Color& right_);
22 (const Magick::Color& left_,const Magick::Color& right_);
24 (const Magick::Color& left_,const Magick::Color& right_);
26 (const Magick::Color& left_,const Magick::Color& right_);
28 (const Magick::Color& left_,const Magick::Color& right_);
30 (const Magick::Color& left_,const Magick::Color& right_);
34 class MagickPPExport Color
68 Color(void);
71 Color(const Magick::Quantum red_,const Magick::Quantum green_,
[all …]
DMontage.h29 void backgroundColor(const Color &backgroundColor_);
30 Color backgroundColor(void) const;
41 void fillColor(const Color &fill_);
42 Color fillColor(void) const;
69 void strokeColor(const Color &stroke_);
70 Color strokeColor(void) const;
85 void transparentColor(const Color &transparentColor_);
86 Color transparentColor(void) const;
97 Color _backgroundColor;
99 Color _fill;
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DEnumMultisetTest.java76 private enum Color {
90 Multiset<Color> ms = EnumMultiset.create(Color.class);
91 ms.add(Color.RED);
92 ms.add(Color.YELLOW);
93 ms.add(Color.RED);
94 assertEquals(0, ms.count(Color.BLUE));
95 assertEquals(1, ms.count(Color.YELLOW));
96 assertEquals(2, ms.count(Color.RED));
100 Multiset<Color> ms = EnumMultiset.create(asList(Color.RED, Color.YELLOW, Color.RED));
101 assertEquals(0, ms.count(Color.BLUE));
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DEnumMultisetTest.java76 private enum Color {
90 Multiset<Color> ms = EnumMultiset.create(Color.class);
91 ms.add(Color.RED);
92 ms.add(Color.YELLOW);
93 ms.add(Color.RED);
94 assertEquals(0, ms.count(Color.BLUE));
95 assertEquals(1, ms.count(Color.YELLOW));
96 assertEquals(2, ms.count(Color.RED));
100 Multiset<Color> ms = EnumMultiset.create(asList(Color.RED, Color.YELLOW, Color.RED));
101 assertEquals(0, ms.count(Color.BLUE));
[all …]
/external/ImageMagick/Magick++/lib/
DColor.cpp20 MagickPPExport int Magick::operator == (const Magick::Color &left_, in operator ==()
21 const Magick::Color &right_) in operator ==()
36 MagickPPExport int Magick::operator != (const Magick::Color &left_, in operator !=()
37 const Magick::Color &right_) in operator !=()
42 MagickPPExport int Magick::operator > (const Magick::Color &left_, in operator >()
43 const Magick::Color &right_) in operator >()
48 MagickPPExport int Magick::operator < ( const Magick::Color &left_, in operator <()
49 const Magick::Color &right_) in operator <()
64 MagickPPExport int Magick::operator >= (const Magick::Color &left_, in operator >=()
65 const Magick::Color &right_) in operator >=()
[all …]
/external/universal-tween-engine/java/applets/src/aurelienribon/tweenengine/applets/
DTheme.java4 import java.awt.Color;
16 public static final Color MAIN_BACKGROUND = new Color(0x444444);
17 public static final Color MAIN_FOREGROUND = new Color(0xF0F0F0);
18 public static final Color MAIN_ALT_BACKGROUND = new Color(0x707070);
19 public static final Color MAIN_ALT_FOREGROUND = new Color(0xF0F0F0);
21 public static final Color HEADER_BACKGROUND = new Color(0x707070);
22 public static final Color HEADER_FOREGROUND = new Color(0xF0F0F0);
24 public static final Color TEXTAREA_BACKGROUND = new Color(0x333333);
25 public static final Color TEXTAREA_FOREGROUND = new Color(0xF0F0F0);
26 public static final Color TEXTAREA_SELECTED_BACKGROUND = new Color(0x808080);
[all …]
/external/mesa3d/src/mesa/main/
Dblend.c173 ctx->Color.Blend[buf]._UsesDualSrc = in update_uses_dual_src()
174 (blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcRGB) || in update_uses_dual_src()
175 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstRGB) || in update_uses_dual_src()
176 blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcA) || in update_uses_dual_src()
177 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstA)); in update_uses_dual_src()
200 if (ctx->Color._BlendFuncPerBuffer) { in skip_blend_state_update()
205 if (ctx->Color.Blend[buf].SrcRGB != sfactorRGB || in skip_blend_state_update()
206 ctx->Color.Blend[buf].DstRGB != dfactorRGB || in skip_blend_state_update()
207 ctx->Color.Blend[buf].SrcA != sfactorA || in skip_blend_state_update()
208 ctx->Color.Blend[buf].DstA != dfactorA) { in skip_blend_state_update()
[all …]
/external/snakeyaml/src/test/java/examples/collections/
DTypeSafeMap2Test.java34 Map<Developer2, Color> data = new LinkedHashMap<Developer2, Color>(); in testDumpMap()
35 data.put(new Developer2("Andy", "tester"), Color.BLACK); in testDumpMap()
36 data.put(new Developer2("Lisa", "owner"), Color.RED); in testDumpMap()
38 Map<Color, Developer2> developers = new LinkedHashMap<Color, Developer2>(); in testDumpMap()
39 developers.put(Color.WHITE, new Developer2("Fred", "creator")); in testDumpMap()
40 developers.put(Color.BLACK, new Developer2("John", "committer")); in testDumpMap()
51 Map<Developer2, Color> data = new LinkedHashMap<Developer2, Color>(); in testMap2()
52 data.put(new Developer2("Andy", "tester"), Color.BLACK); in testMap2()
53 data.put(new SuperMan("Bill", "cleaner", false), Color.BLACK); in testMap2()
54 data.put(new Developer2("Lisa", "owner"), Color.RED); in testMap2()
[all …]
/external/python/cpython2/Demo/newmetaclasses/
DEnum.py93 class Color(Enum): class
98 print Color.red
100 print repr(Color.red)
101 print Color.red == Color.red
102 print Color.red == Color.blue
103 print Color.red == 1
104 print Color.red == 2
106 class ExtendedColor(Color):
116 print Color.red == ExtendedColor.red
122 class MergedColor(Color, OtherColor):
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowColorTest.java5 import android.graphics.Color;
15 int color = Color.rgb(160, 160, 160); in testRgb()
21 int color = Color.argb(100, 160, 160, 160); in testArgb()
27 assertThat(Color.parseColor("#ffffffff")).isEqualTo(-1); in testParseColor()
28 assertThat(Color.parseColor("#00000000")).isEqualTo(0); in testParseColor()
30 assertThat(Color.parseColor("#ffaabbcc")).isEqualTo(-5588020); in testParseColor()
35 assertThat(Color.parseColor("blue")).isEqualTo(-16776961); in testParseColorWithStringName()
36 assertThat(Color.parseColor("black")).isEqualTo(-16777216); in testParseColorWithStringName()
37 assertThat(Color.parseColor("green")).isEqualTo(-16711936); in testParseColorWithStringName()
43 Color.colorToHSV(Color.BLUE, hsv); in colorToHSVShouldBeCorrectForBlue()
[all …]
DShadowPorterDuffColorFilterTest.java7 import android.graphics.Color;
20 final PorterDuffColorFilter filter = new PorterDuffColorFilter(Color.RED, PorterDuff.Mode.ADD); in constructor_shouldWork()
21 assertThat(filter.getColor()).isEqualTo(Color.RED); in constructor_shouldWork()
28 final PorterDuffColorFilter filter = new PorterDuffColorFilter(Color.RED, PorterDuff.Mode.ADD); in createNativeInstance_shouldWork()
34 PorterDuffColorFilter addFilter = new PorterDuffColorFilter(Color.RED, PorterDuff.Mode.ADD); in hashCode_returnsDifferentValuesForDifferentModes()
35 PorterDuffColorFilter dstFilter = new PorterDuffColorFilter(Color.RED, PorterDuff.Mode.DST); in hashCode_returnsDifferentValuesForDifferentModes()
42 PorterDuffColorFilter blueFilter = new PorterDuffColorFilter(Color.BLUE, PorterDuff.Mode.ADD); in hashCode_returnsDifferentValuesForDifferentColors()
43 PorterDuffColorFilter redFilter = new PorterDuffColorFilter(Color.RED, PorterDuff.Mode.ADD); in hashCode_returnsDifferentValuesForDifferentColors()
50 PorterDuffColorFilter filter1 = new PorterDuffColorFilter(Color.RED, PorterDuff.Mode.ADD); in equals_returnsTrueForEqualObjects()
51 PorterDuffColorFilter filter2 = new PorterDuffColorFilter(Color.RED, PorterDuff.Mode.ADD); in equals_returnsTrueForEqualObjects()
[all …]
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DFactoryProvider2Test.java47 private enum Color { enum in FactoryProvider2Test
70 Mustang blueMustang = (Mustang) carFactory.create(Color.BLUE); in testAssistedFactory()
71 assertEquals(Color.BLUE, blueMustang.color); in testAssistedFactory()
74 Mustang redMustang = (Mustang) carFactory.create(Color.RED); in testAssistedFactory()
75 assertEquals(Color.RED, redMustang.color); in testAssistedFactory()
94 Camaro blueCamaro = (Camaro) carFactory.create(Color.BLUE); in testAssistedFactoryWithAnnotations()
95 assertEquals(Color.BLUE, blueCamaro.color); in testAssistedFactoryWithAnnotations()
99 Camaro redCamaro = (Camaro) carFactory.create(Color.RED); in testAssistedFactoryWithAnnotations()
100 assertEquals(Color.RED, redCamaro.color); in testAssistedFactoryWithAnnotations()
108 Car create(Color color); in create()
[all …]
DFactoryProviderTest.java50 private enum Color { enum in FactoryProviderTest
73 Mustang blueMustang = (Mustang) carFactory.create(Color.BLUE); in testAssistedFactory()
74 assertEquals(Color.BLUE, blueMustang.color); in testAssistedFactory()
77 Mustang redMustang = (Mustang) carFactory.create(Color.RED); in testAssistedFactory()
78 assertEquals(Color.RED, redMustang.color); in testAssistedFactory()
116 Camaro blueCamaro = (Camaro) carFactory.create(Color.BLUE); in testAssistedFactoryWithAnnotations()
117 assertEquals(Color.BLUE, blueCamaro.color); in testAssistedFactoryWithAnnotations()
121 Camaro redCamaro = (Camaro) carFactory.create(Color.RED); in testAssistedFactoryWithAnnotations()
122 assertEquals(Color.RED, redCamaro.color); in testAssistedFactoryWithAnnotations()
130 Car create(Color color); in create()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_blend.c120 _mesa_replicate_colormask(GET_COLORMASK(ctx->Color.ColorMask, 0), in colormask_per_rt()
123 return (ctx->Color.ColorMask & full_mask) != repl_mask0; in colormask_per_rt()
134 GLbitfield blend_enabled = ctx->Color.BlendEnabled & cb_mask; in blend_per_rt()
140 if (ctx->Color._BlendFuncPerBuffer || ctx->Color._BlendEquationPerBuffer) { in blend_per_rt()
213 blend->rt[i].colormask = GET_COLORMASK(ctx->Color.ColorMask, i); in st_update_blend()
215 if (ctx->Color.ColorLogicOpEnabled) { in st_update_blend()
218 blend->logicop_func = ctx->Color._LogicOp; in st_update_blend()
220 else if (ctx->Color.BlendEnabled && in st_update_blend()
221 ctx->Color._AdvancedBlendMode != BLEND_NONE) { in st_update_blend()
222 blend->advanced_blend_func = ctx->Color._AdvancedBlendMode; in st_update_blend()
[all …]
/external/clang/test/Index/
Dcomplete-type-factors.m3 enum Color {
12 int func1(enum Color);
15 enum Priority test1(enum Priority priority, enum Color color, int integer) {
17 enum Color c = color;
20 void (^block)(enum Color, int);
26 + (void)method:(enum Color)color priority:(enum Priority)priority; argument
27 - (void)method:(enum Color)color priority:(enum Priority)priority; argument
36 // CHECK-CC1: EnumConstantDecl:{ResultType enum Color}{TypedText Blue} (32)
37 // CHECK-CC1: ParmDecl:{ResultType enum Color}{TypedText color} (17)
38 // CHECK-CC1: FunctionDecl:{ResultType int}{TypedText func1}{LeftParen (}{Placeholder enum Color}{R…
[all …]
/external/angle/src/common/
DColor.h18 struct Color struct
20 Color();
21 constexpr Color(T r, T g, T b, T a);
26 static Color fromData(const T *data) { return Color(data[0], data[1], data[2], data[3]); } in fromData() argument
42 bool operator==(const Color<T> &a, const Color<T> &b); argument
45 bool operator!=(const Color<T> &a, const Color<T> &b);
47 typedef Color<float> ColorF;
48 typedef Color<int> ColorI;
49 typedef Color<unsigned int> ColorUI;
94 using Color = angle::Color<T>; variable
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_state_raster.c43 PUSH_DATAb(push, ctx->Color.AlphaEnabled); in nv10_emit_alpha_func()
46 PUSH_DATA (push, nvgl_comparison_op(ctx->Color.AlphaFunc)); in nv10_emit_alpha_func()
47 PUSH_DATA (push, FLOAT_TO_UBYTE(ctx->Color.AlphaRef)); in nv10_emit_alpha_func()
56 PUSH_DATA (push, FLOAT_TO_UBYTE(ctx->Color.BlendColor[3]) << 24 | in nv10_emit_blend_color()
57 FLOAT_TO_UBYTE(ctx->Color.BlendColor[0]) << 16 | in nv10_emit_blend_color()
58 FLOAT_TO_UBYTE(ctx->Color.BlendColor[1]) << 8 | in nv10_emit_blend_color()
59 FLOAT_TO_UBYTE(ctx->Color.BlendColor[2]) << 0); in nv10_emit_blend_color()
68 PUSH_DATAb(push, ctx->Color.BlendEnabled); in nv10_emit_blend_equation()
71 PUSH_DATA (push, nvgl_blend_eqn(ctx->Color.Blend[0].EquationRGB)); in nv10_emit_blend_equation()
80 PUSH_DATA (push, nvgl_blend_func(ctx->Color.Blend[0].SrcRGB)); in nv10_emit_blend_func()
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.pp.line.frag.out6 0:4 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp fl…
15 0:126 Color: direct index for structure ( temp 4-component vector of float)
16 0:126 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
30 0:127 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
36 0:129 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
41 …d child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth…
42 0:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float De…
43 0:4 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp …
45 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
46 0:4 Color: direct index for structure ( temp 4-component vector of float)
[all …]
/external/vogar/src/vogar/
DConsole.java62 Color.PASS.setCode(passColor); in setUseColor()
63 Color.SKIP.setCode(skipColor); in setUseColor()
64 Color.FAIL.setCode(failColor); in setUseColor()
65 Color.WARN.setCode(warnColor); in setUseColor()
66 Color.COMMENT.setCode(34); in setUseColor()
114 out.println(colorString("Warning: " + message, Color.WARN)); in warn()
116 out.println(colorString(indent + item, Color.WARN)); in warn()
161 … streamOutput(outcomeName, "\n" + colorString(expectation.getDescription(), Color.COMMENT)); in printResult()
164 … streamOutput(outcomeName, "\n" + colorString("http://b/" + expectation.getBug(), Color.COMMENT)); in printResult()
178 out.println(colorString("OK (" + result + ")", Color.PASS)); in printResult()
[all …]
/external/angle/third_party/glslang/src/Test/baseResults/
Dhlsl.pp.line.frag.out6 0:4 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp fl…
15 0:126 Color: direct index for structure ( temp 4-component vector of float)
16 0:126 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
30 0:127 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
36 0:129 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
41 …d child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth…
42 0:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float De…
43 0:4 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp …
45 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
46 0:4 Color: direct index for structure ( temp 4-component vector of float)
[all …]

12345678910>>...50