Home
last modified time | relevance | path

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

12345678910>>...80

/third_party/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 …]
/third_party/flutter/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 …]
/third_party/node/deps/npm/node_modules/colors/
Dindex.d.ts6 export interface Color { interface
9 strip: Color;
10 stripColors: Color;
12 black: Color;
13 red: Color;
14 green: Color;
15 yellow: Color;
16 blue: Color;
17 magenta: Color;
18 cyan: Color;
[all …]
/third_party/flutter/flutter/packages/flutter/test/painting/
Dcolors_test.dart23 expect(color.toColor(), const Color(0xb399816b));
34 final List<Color> output = <Color>[];
37 final Color color = hsvColor.toColor();
47 final List<Color> expectedColors = <Color>[
48 const Color(0xffff0000),
49 const Color(0xffff9900),
50 const Color(0xffccff00),
51 const Color(0xff33ff00),
52 const Color(0xff00ff66),
53 const Color(0xff00ffff),
[all …]
Dgradient_test.dart14 colors: <Color>[
15 Color(0x00FFFFFF),
16 Color(0x11777777),
17 Color(0x44444444),
25 colors: <Color>[
26 Color(0x00FFFFFF),
27 Color(0x04777777),
28 Color(0x11444444),
37 colors: <Color>[
38 Color(0x33333333),
[all …]
Dshape_border_test.dart12 final Border b1 = Border.all(color: const Color(0xFF00FF00));
13 final Border b2 = Border.all(color: const Color(0xFF0000FF));
16 'Border.all(BorderSide(Color(0xff00ff00), 1.0, BorderStyle.solid)) + '
17 'Border.all(BorderSide(Color(0xff0000ff), 1.0, BorderStyle.solid))',
21 'Border.all(BorderSide(Color(0xff00ff00), 1.0, BorderStyle.solid)) + '
22 'Border.all(BorderSide(Color(0xff0000ff), 2.0, BorderStyle.solid))',
26 'Border.all(BorderSide(Color(0xff00ff00), 1.0, BorderStyle.solid)) + '
27 'Border.all(BorderSide(Color(0xff0000ff), 2.0, BorderStyle.solid))',
32 'Border.all(BorderSide(Color(0xff00ff00), 3.0, BorderStyle.solid)) + '
33 'Border.all(BorderSide(Color(0xff0000ff), 3.0, BorderStyle.solid))',
[all …]
/third_party/flutter/engine/flutter/testing/dart/
Dcolor_test.dart9 class NotAColor extends Color {
15 const Color foo = Color(0x12345678);
23 const Color c = Color(0x00000000);
26 expect(c.toString(), equals('Color(0x00000000)'));
31 const Color c = Color(0x100 << 24);
41 const Color c = Color(1 << 1000000);
50 expect(const Color(123), equals(const Color(123)));
51 expect(const Color(123), equals(Color(123))); // ignore: prefer_const_constructors
52 expect(const Color(123), isNot(equals(const Color(321))));
53 expect(const Color(123), isNot(equals(const NotAColor(123))));
[all …]
/third_party/skia/third_party/externals/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 …]
/third_party/flutter/engine/flutter/lib/web_ui/test/
Dcolor_test.dart9 class NotAColor extends Color {
15 const Color foo = Color(0x12345678);
23 const Color c = Color(0x00000000);
26 expect(c.toString(), equals('Color(0x00000000)'));
31 const Color c = Color(0x100 << 24);
41 const Color c = Color(1 << 1000000);
50 expect(const Color(123), equals(const Color(123)));
51 expect(const Color(123),
52 equals(Color(123))); // ignore: prefer_const_constructors
53 expect(const Color(123), isNot(equals(const Color(321))));
[all …]
Dcolors_test.dart9 class NotAColor extends Color {
15 const Color foo = Color(0x12345678);
23 const Color c = Color(0x00000000);
26 expect(c.toString(), equals('Color(0x00000000)'));
31 const Color c = Color(0x100 << 24);
41 const Color c = Color(1 << 1000000);
50 expect(const Color(123), equals(const Color(123)));
51 expect(const Color(123),
52 equals(Color(123))); // ignore: prefer_const_constructors
53 expect(const Color(123), isNot(equals(const Color(321))));
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/
DEnumClassBitmasksTests.cpp21 enum class Color : uint32_t { enum
29 struct IsDawnBitmask<Color> {
34 Color test1 = Color::R | Color::G; in TEST()
37 Color test2 = test1 ^ (Color::R | Color::A); in TEST()
40 Color test3 = test2 & Color::A; in TEST()
43 Color test4 = ~test3; in TEST()
48 Color test1 = Color::R; in TEST()
49 test1 |= Color::G; in TEST()
52 Color test2 = test1; in TEST()
53 test2 ^= (Color::R | Color::A); in TEST()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DEnumClassBitmasksTests.cpp21 enum class Color : uint32_t { enum
29 struct IsDawnBitmask<Color> {
34 Color test1 = Color::R | Color::G; in TEST()
37 Color test2 = test1 ^ (Color::R | Color::A); in TEST()
40 Color test3 = test2 & Color::A; in TEST()
43 Color test4 = ~test3; in TEST()
48 Color test1 = Color::R; in TEST()
49 test1 |= Color::G; in TEST()
52 Color test2 = test1; in TEST()
53 test2 ^= (Color::R | Color::A); in TEST()
[all …]
/third_party/typescript/tests/baselines/reference/
DenumMerging.js51 export enum Color { Red, Green, Blue }
54 export enum Color { Red, Green, Blue }
58 export enum Color { Red, Green, Blue }
62 export enum Color { Yellow = 1 }
64 var t = A.Color.Yellow;
65 t = A.Color.Red;
131 var Color;
132 (function (Color) { argument
133 Color[Color["Red"] = 0] = "Red";
134 Color[Color["Green"] = 1] = "Green";
[all …]
DinterfaceAssignmentCompat.types5 export enum Color {
6 >Color : Color
9 >Green : Color.Green
12 >Blue : Color.Blue
15 >Brown : Color.Brown
69 x[0]={ color:Color.Brown };
70 >x[0]={ color:Color.Brown } : { color: Color; }
74 >{ color:Color.Brown } : { color: Color; }
75 >color : Color
76 >Color.Brown : Color.Brown
[all …]
DinstantiatedModule.types137 export enum Color { Blue, Red }
138 >Color : Color
139 >Blue : Color.Blue
140 >Red : Color.Red
151 var a3: typeof M3.Color;
152 >a3 : typeof M3.Color
153 >M3.Color : typeof M3.Color
155 >Color : typeof M3.Color
157 var a3 = m3.Color;
158 >a3 : typeof M3.Color
[all …]
DTypeGuardWithEnumUnion.types2 enum Color { R, G, B }
3 >Color : Color
4 >R : Color.R
5 >G : Color.G
6 >B : Color.B
8 function f1(x: Color | string) {
9 >f1 : (x: Color | string) => void
10 >x : string | Color
15 >x : string | Color
19 >y : Color
[all …]
DerrorForUsingPropertyOfTypeAsType03.types5 enum Color {
6 >Color : Color
9 >Red : Color.Red
12 >Green : Color.Green
15 >Blue : Color.Blue
18 type C1 = Color;
19 >C1 : Color
21 type C2 = typeof Color;
22 >C2 : typeof Color
23 >Color : typeof Color
[all …]
DerrorForUsingPropertyOfTypeAsType03.symbols5 enum Color {
6 >Color : Symbol(Color, Decl(errorForUsingPropertyOfTypeAsType03.ts, 0, 17))
9 >Red : Symbol(Color.Red, Decl(errorForUsingPropertyOfTypeAsType03.ts, 1, 16))
12 >Green : Symbol(Color.Green, Decl(errorForUsingPropertyOfTypeAsType03.ts, 2, 12))
15 >Blue : Symbol(Color.Blue, Decl(errorForUsingPropertyOfTypeAsType03.ts, 3, 14))
18 type C1 = Color;
20 >Color : Symbol(Color, Decl(errorForUsingPropertyOfTypeAsType03.ts, 0, 17))
22 type C2 = typeof Color;
24 >Color : Symbol(Color, Decl(errorForUsingPropertyOfTypeAsType03.ts, 0, 17))
26 let a1: Color.Red.toString;
[all …]
DerrorForUsingPropertyOfTypeAsType03.js3 enum Color {
9 type C1 = Color;
10 type C2 = typeof Color;
12 let a1: Color.Red.toString;
13 let a2: Color.Red["toString"];
14 let a3: Color["Red"]["toString"];
18 let b3: (typeof Color)["Red"]["toString"];
32 var Color;
33 (function (Color) { argument
34 Color[Color["Red"] = 0] = "Red";
[all …]
DenumMerging.types165 export enum Color { Red, Green, Blue }
166 >Color : Color
167 >Red : Color.Red
168 >Green : Color.Green
169 >Blue : Color.Blue
174 export enum Color { Red, Green, Blue }
175 >Color : Color
176 >Red : Color.Red
177 >Green : Color.Green
178 >Blue : Color.Blue
[all …]
DmoduleAndInterfaceSharingName4.symbols5 var x: D3.Color.Color;
8 >Color : Symbol(Color, Decl(moduleAndInterfaceSharingName4.ts, 1, 26))
9 >Color : Symbol(Color.Color, Decl(moduleAndInterfaceSharingName4.ts, 3, 18))
11 module Color {
12 >Color : Symbol(Color, Decl(moduleAndInterfaceSharingName4.ts, 1, 26))
14 export interface Color {
15 >Color : Symbol(Color, Decl(moduleAndInterfaceSharingName4.ts, 3, 18))
17 darker: Color;
18 >darker : Symbol(Color.darker, Decl(moduleAndInterfaceSharingName4.ts, 4, 32))
19 >Color : Symbol(Color, Decl(moduleAndInterfaceSharingName4.ts, 3, 18))
DmergedDeclarations3.js3 export enum Color {
8 export module Color {
12 var p = M.Color.Blue; // ok
45 var Color;
46 (function (Color) { argument
47 Color[Color["Red"] = 0] = "Red";
48 Color[Color["Green"] = 1] = "Green";
49 })(Color = M.Color || (M.Color = {}));
52 var Color;
53 (function (Color) { argument
[all …]
DenumUsedBeforeDeclaration.js2 const v: Color = Color.Green;
4 enum Color { Red, Green, Blue }
10 var v = Color.Green;
12 var Color; variable
13 (function (Color) { argument
14 Color[Color["Red"] = 0] = "Red";
15 Color[Color["Green"] = 1] = "Green";
16 Color[Color["Blue"] = 2] = "Blue";
17 })(Color || (Color = {}));
/third_party/skia/third_party/externals/tint/src/diagnostic/
Dprinter_test.cc41 printer->write("Default", Style{Color::kDefault, false}); in TEST_F()
42 printer->write("Black", Style{Color::kBlack, false}); in TEST_F()
43 printer->write("Red", Style{Color::kRed, false}); in TEST_F()
44 printer->write("Green", Style{Color::kGreen, false}); in TEST_F()
45 printer->write("Yellow", Style{Color::kYellow, false}); in TEST_F()
46 printer->write("Blue", Style{Color::kBlue, false}); in TEST_F()
47 printer->write("Magenta", Style{Color::kMagenta, false}); in TEST_F()
48 printer->write("Cyan", Style{Color::kCyan, false}); in TEST_F()
49 printer->write("White", Style{Color::kWhite, false}); in TEST_F()
55 printer->write("Default", Style{Color::kDefault, true}); in TEST_F()
[all …]
/third_party/mesa3d/src/mesa/main/
Dblend.c175 (blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcRGB) || in update_uses_dual_src()
176 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstRGB) || in update_uses_dual_src()
177 blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcA) || in update_uses_dual_src()
178 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstA)); in update_uses_dual_src()
180 if (((ctx->Color._BlendUsesDualSrc >> buf) & 0x1) != uses_dual_src) { in update_uses_dual_src()
182 ctx->Color._BlendUsesDualSrc |= 1 << buf; in update_uses_dual_src()
184 ctx->Color._BlendUsesDualSrc &= ~(1 << buf); in update_uses_dual_src()
210 if (ctx->Color._BlendFuncPerBuffer) { in skip_blend_state_update()
215 if (ctx->Color.Blend[buf].SrcRGB != sfactorRGB || in skip_blend_state_update()
216 ctx->Color.Blend[buf].DstRGB != dfactorRGB || in skip_blend_state_update()
[all …]

12345678910>>...80