Home
last modified time | relevance | path

Searched refs:Colors (Results 1 – 25 of 456) sorted by relevance

12345678910>>...19

/third_party/typescript/tests/baselines/reference/
DcommentsEnums.types3 enum Colors {
4 >Colors : Colors
8 >Cornflower : Colors.Cornflower
12 >FancyPink : Colors.FancyPink
15 var x = Colors.Cornflower;
16 >x : Colors
17 >Colors.Cornflower : Colors.Cornflower
18 >Colors : typeof Colors
19 >Cornflower : Colors.Cornflower
21 x = Colors.FancyPink;
[all …]
DcommentsEnums.js3 enum Colors {
9 var x = Colors.Cornflower;
10 x = Colors.FancyPink;
16 var Colors; variable
17 (function (Colors) { argument
19 Colors[Colors["Cornflower"] = 0] = "Cornflower"; /* blue */
21 Colors[Colors["FancyPink"] = 1] = "FancyPink";
22 })(Colors || (Colors = {})); // trailing comment
23 var x = Colors.Cornflower;
24 x = Colors.FancyPink;
[all …]
DcommentsEnums.symbols3 enum Colors {
4 >Colors : Symbol(Colors, Decl(commentsEnums.ts, 0, 0))
8 >Cornflower : Symbol(Colors.Cornflower, Decl(commentsEnums.ts, 1, 13))
12 >FancyPink : Symbol(Colors.FancyPink, Decl(commentsEnums.ts, 3, 26))
15 var x = Colors.Cornflower;
17 >Colors.Cornflower : Symbol(Colors.Cornflower, Decl(commentsEnums.ts, 1, 13))
18 >Colors : Symbol(Colors, Decl(commentsEnums.ts, 0, 0))
19 >Cornflower : Symbol(Colors.Cornflower, Decl(commentsEnums.ts, 1, 13))
21 x = Colors.FancyPink;
23 >Colors.FancyPink : Symbol(Colors.FancyPink, Decl(commentsEnums.ts, 3, 26))
[all …]
DenumPropertyAccess.types2 enum Colors {
3 >Colors : Colors
6 >Red : Colors.Red
9 >Green : Colors.Green
12 var x = Colors.Red; // type of 'x' should be 'Colors'
13 >x : Colors
14 >Colors.Red : Colors.Red
15 >Colors : typeof Colors
16 >Red : Colors.Red
21 >x : Colors.Red
[all …]
DenumPropertyAccess.js2 enum Colors {
7 var x = Colors.Red; // type of 'x' should be 'Colors'
12 function fill<B extends Colors>(f: B) {
18 var Colors;
19 (function (Colors) { argument
20 Colors[Colors["Red"] = 0] = "Red";
21 Colors[Colors["Green"] = 1] = "Green";
22 })(Colors || (Colors = {}));
23 var x = Colors.Red; // type of 'x' should be 'Colors'
DenumPropertyAccess.symbols2 enum Colors {
3 >Colors : Symbol(Colors, Decl(enumPropertyAccess.ts, 0, 0))
6 >Red : Symbol(Colors.Red, Decl(enumPropertyAccess.ts, 0, 13))
9 >Green : Symbol(Colors.Green, Decl(enumPropertyAccess.ts, 1, 8))
12 var x = Colors.Red; // type of 'x' should be 'Colors'
14 >Colors.Red : Symbol(Colors.Red, Decl(enumPropertyAccess.ts, 0, 13))
15 >Colors : Symbol(Colors, Decl(enumPropertyAccess.ts, 0, 0))
16 >Red : Symbol(Colors.Red, Decl(enumPropertyAccess.ts, 0, 13))
28 function fill<B extends Colors>(f: B) {
31 >Colors : Symbol(Colors, Decl(enumPropertyAccess.ts, 0, 0))
DenumPropertyAccess.errors.txt1 …er/enumPropertyAccess.ts(7,11): error TS2339: Property 'Green' does not exist on type 'Colors.Red'.
6 enum Colors {
11 var x = Colors.Red; // type of 'x' should be 'Colors'
14 !!! error TS2339: Property 'Green' does not exist on type 'Colors.Red'.
18 function fill<B extends Colors>(f: B) {
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/
Dcolors_demo.dart21 Palette(name: 'RED', primary: Colors.red, accent: Colors.redAccent, threshold: 300),
22 Palette(name: 'PINK', primary: Colors.pink, accent: Colors.pinkAccent, threshold: 200),
23 Palette(name: 'PURPLE', primary: Colors.purple, accent: Colors.purpleAccent, threshold: 200),
24 …Palette(name: 'DEEP PURPLE', primary: Colors.deepPurple, accent: Colors.deepPurpleAccent, threshol…
25 Palette(name: 'INDIGO', primary: Colors.indigo, accent: Colors.indigoAccent, threshold: 200),
26 Palette(name: 'BLUE', primary: Colors.blue, accent: Colors.blueAccent, threshold: 400),
27 …Palette(name: 'LIGHT BLUE', primary: Colors.lightBlue, accent: Colors.lightBlueAccent, threshold: …
28 Palette(name: 'CYAN', primary: Colors.cyan, accent: Colors.cyanAccent, threshold: 600),
29 Palette(name: 'TEAL', primary: Colors.teal, accent: Colors.tealAccent, threshold: 400),
30 Palette(name: 'GREEN', primary: Colors.green, accent: Colors.greenAccent, threshold: 500),
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dcolors.dart17 /// * [Colors], which defines all of the standard material colors.
68 /// * [Colors], which defines all of the standard material colors.
113 /// Color selection = Colors.green[400]; // Selects a mid-range green.
122 /// color: Colors.blue, // same as Colors.blue[500] or Colors.blue.shade500
129 /// ![](https://flutter.github.io/assets-for-api-docs/assets/material/Colors.pink.png)
130 /// ![](https://flutter.github.io/assets-for-api-docs/assets/material/Colors.pinkAccent.png)
132 /// ![](https://flutter.github.io/assets-for-api-docs/assets/material/Colors.red.png)
133 /// ![](https://flutter.github.io/assets-for-api-docs/assets/material/Colors.redAccent.png)
135 /// ![](https://flutter.github.io/assets-for-api-docs/assets/material/Colors.deepOrange.png)
136 /// ![](https://flutter.github.io/assets-for-api-docs/assets/material/Colors.deepOrangeAccent.png)
[all …]
Dcolor_scheme.dart56 this.surface = Colors.white,
57 this.background = Colors.white,
59 this.onPrimary = Colors.white,
60 this.onSecondary = Colors.black,
61 this.onSurface = Colors.black,
62 this.onBackground = Colors.black,
63 this.onError = Colors.white,
89 this.onPrimary = Colors.black,
90 this.onSecondary = Colors.black,
91 this.onSurface = Colors.white,
[all …]
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/material/
Dicons_demo.dart18 Colors.red,
19 Colors.pink,
20 Colors.purple,
21 Colors.deepPurple,
22 Colors.indigo,
23 Colors.blue,
24 Colors.lightBlue,
25 Colors.cyan,
26 Colors.teal,
27 Colors.green,
[all …]
/third_party/flutter/flutter/packages/flutter/test/material/
Dchip_theme_test.dart58 primarySwatch: Colors.red,
62 expect(chipTheme.backgroundColor, equals(Colors.black.withAlpha(0x1f)));
63 expect(chipTheme.selectedColor, equals(Colors.black.withAlpha(0x3d)));
64 expect(chipTheme.deleteIconColor, equals(Colors.black.withAlpha(0xde)));
70 primarySwatch: Colors.red,
71 backgroundColor: Colors.blue,
116 primarySwatch: Colors.red,
120 backgroundColor: Colors.purple,
121 deleteIconColor: Colors.purple.withAlpha(0x3d),
123 shadowColor: Colors.pink,
[all …]
Dexpand_icon_test.dart34 expect(iconTheme.data.color, equals(Colors.black54));
40 expect(iconTheme.data.color, equals(Colors.black54));
46 expect(iconTheme.data.color, equals(Colors.black54));
61 expect(iconTheme.data.color, equals(Colors.white60));
67 expect(iconTheme.data.color, equals(Colors.white60));
73 expect(iconTheme.data.color, equals(Colors.white60));
85 expect(iconTheme.data.color, equals(Colors.black38));
95 expect(iconTheme.data.color, equals(Colors.white38));
186 color: Colors.indigo,
192 expect(iconTheme.data.color, equals(Colors.indigo));
[all …]
Dtheme_data_test.dart111 expect(ThemeData.estimateBrightnessForColor(Colors.white), equals(Brightness.light));
112 expect(ThemeData.estimateBrightnessForColor(Colors.black), equals(Brightness.dark));
113 expect(ThemeData.estimateBrightnessForColor(Colors.blue), equals(Brightness.dark));
114 expect(ThemeData.estimateBrightnessForColor(Colors.yellow), equals(Brightness.light));
115 expect(ThemeData.estimateBrightnessForColor(Colors.deepOrange), equals(Brightness.dark));
116 expect(ThemeData.estimateBrightnessForColor(Colors.orange), equals(Brightness.light));
117 expect(ThemeData.estimateBrightnessForColor(Colors.lime), equals(Brightness.light));
118 expect(ThemeData.estimateBrightnessForColor(Colors.grey), equals(Brightness.light));
119 expect(ThemeData.estimateBrightnessForColor(Colors.teal), equals(Brightness.dark));
120 expect(ThemeData.estimateBrightnessForColor(Colors.indigo), equals(Brightness.dark));
[all …]
Dapp_bar_theme_test.dart32 expect(widget.color, Colors.blue);
34 expect(iconTheme.data, const IconThemeData(color: Colors.white));
35 expect(actionsIconTheme.data, const IconThemeData(color: Colors.white));
36 expect(actionIconText.text.style.color, Colors.white);
70 const Color color = Colors.orange;
72 const IconThemeData iconThemeData = IconThemeData(color: Colors.green);
73 const IconThemeData actionsIconThemeData = IconThemeData(color: Colors.lightBlue);
74 …tTheme textTheme = TextTheme(title: TextStyle(color: Colors.orange), body1: TextStyle(color: Color…
109 const Color color = Colors.lime;
110 const IconThemeData iconThemeData = IconThemeData(color: Colors.green);
[all …]
Dcolors_test.dart55 test('Colors swatches do not contain duplicates', () {
56 for (MaterialColor color in Colors.primaries)
59 … expect(primaryKeys.map<Color>((int key) => Colors.grey[key]).toSet().length, primaryKeys.length);
61 for (MaterialAccentColor color in Colors.accents)
66 for (MaterialColor color in Colors.primaries) {
73 expect(Colors.grey.value, Colors.grey.shade500.value);
75 expect(Colors.grey[key].alpha, 0xFF);
78 for (MaterialAccentColor color in Colors.accents) {
Dbottom_app_bar_theme_test.dart11 const Color themedColor = Colors.black87;
21 const Color themeColor = Colors.white10;
22 const Color babThemeColor = Colors.black87;
23 const Color babColor = Colors.pink;
36 const Color themeColor = Colors.white10;
37 const Color babThemeColor = Colors.black87;
50 const Color themeColor = Colors.white10;
69 expect(widget.color, Colors.white);
74 color: Colors.white30,
97 expect(widget.color, Colors.white);
Dswitch_list_tile_test.dart27 activeColor: Colors.red[500],
28 activeTrackColor: Colors.green[500],
29 inactiveThumbColor: Colors.yellow[500],
30 inactiveTrackColor: Colors.blue[500],
42 ..rrect(color: Colors.blue[500])
46 ..circle(color: Colors.yellow[500]),
55 ..rrect(color: Colors.green[500])
59 ..circle(color: Colors.red[500]),
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
Draw_ostream.h76 enum class Colors { enum
89 static const Colors BLACK = Colors::BLACK;
90 static const Colors RED = Colors::RED;
91 static const Colors GREEN = Colors::GREEN;
92 static const Colors YELLOW = Colors::YELLOW;
93 static const Colors BLUE = Colors::BLUE;
94 static const Colors MAGENTA = Colors::MAGENTA;
95 static const Colors CYAN = Colors::CYAN;
96 static const Colors WHITE = Colors::WHITE;
97 static const Colors SAVEDCOLOR = Colors::SAVEDCOLOR;
[all …]
/third_party/flutter/flutter/examples/layers/widgets/
Dgestures.dart73 Colors.red,
74 Colors.pink,
75 Colors.purple,
76 Colors.deepPurple,
77 Colors.indigo,
78 Colors.blue,
79 Colors.lightBlue,
80 Colors.cyan,
81 Colors.green,
82 Colors.lightGreen,
[all …]
/third_party/giflib/
Dgifalloc.c58 Object->Colors = (GifColorType *)calloc(ColorCount, sizeof(GifColorType)); in GifMakeMapObject()
59 if (Object->Colors == (GifColorType *) NULL) { in GifMakeMapObject()
69 memcpy((char *)Object->Colors, in GifMakeMapObject()
83 (void)free(Object->Colors); in GifFreeMapObject()
99 Object->Colors[i + j].Red, in DumpColorMap()
100 Object->Colors[i + j].Green, in DumpColorMap()
101 Object->Colors[i + j].Blue); in DumpColorMap()
141 ColorUnion->Colors[i] = ColorIn1->Colors[i]; in GifUnionColorMap()
151 while (ColorIn1->Colors[CrntSlot - 1].Red == 0 in GifUnionColorMap()
152 && ColorIn1->Colors[CrntSlot - 1].Green == 0 in GifUnionColorMap()
[all …]
Dgifclrmp.c281 ColorMap->Colors[i].Red, in ModifyColorMap()
282 ColorMap->Colors[i].Green, in ModifyColorMap()
283 ColorMap->Colors[i].Blue); in ModifyColorMap()
292 ColorMap->Colors[i].Red = Red; in ModifyColorMap()
293 ColorMap->Colors[i].Green = Green; in ModifyColorMap()
294 ColorMap->Colors[i].Blue = Blue; in ModifyColorMap()
303 ColorMap->Colors[i].Red = in ModifyColorMap()
304 ((int) (255 * pow(ColorMap->Colors[i].Red / 255.0, Gamma1))); in ModifyColorMap()
305 ColorMap->Colors[i].Green = in ModifyColorMap()
306 ((int) (255 * pow(ColorMap->Colors[i].Green / 255.0, Gamma1))); in ModifyColorMap()
[all …]
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dshape_decoration_test.dart25 shape: Border.all(width: 1.0, color: Colors.white) +
26 Border.all(width: 1.0, color: Colors.black),
38 ..rect(color: Colors.black)
39 ..rect(color: Colors.white),
48 shape: Border.all(width: 1.0, color: Colors.white) +
49 Border.all(width: 1.0, color: Colors.black),
50 color: Colors.blue,
58 ..path(color: Color(Colors.blue.value))
59 ..rect(color: Colors.black)
60 ..rect(color: Colors.white),
[all …]
Dphysical_model_test.dart14 : super(clipBehavior: clipBehavior, color: Colors.red);
19 …: super(clipBehavior: clipBehavior, color: Colors.red, clipper: const ShapeBorderClipper(shape: Ci…
64 color: Colors.grey,
65 shadowColor: Colors.red,
78 expect(physicalModelLayer.shadowColor, Colors.red);
79 expect(physicalModelLayer.color, Colors.grey);
168 color: Colors.green,
171 color: Colors.red,
196 color: Colors.green,
204 color: Colors.blue,
[all …]
Dclip_test.dart344 color: Colors.white,
354 color: Colors.red,
356 color: Colors.white,
360 color: Colors.black,
398 color: Colors.blue,
411 color: Colors.red,
433 color: Colors.white,
449 color: Colors.red,
451 color: Colors.white,
455 color: Colors.black,
[all …]

12345678910>>...19