Home
last modified time | relevance | path

Searched refs:backgroundColor (Results 1 – 25 of 147) sorted by relevance

123456

/third_party/weex-loader/deps/weex-styler/test/
Dvalidate.js144 backgroundColor: '#ff0000' property
148 backgroundColor: '#f00' property
152 backgroundColor: 'lightpink' property
156 backgroundColor: 'rgba(234, 45, 99, .4)' property
160 backgroundColor: 'asdf' property
164 backgroundColor: 'rgba(234,45,99,1.3)' property
173 backgroundColor: '#ff0000' property
177 backgroundColor: '#ff0000' property
181 backgroundColor: '#FFB6C1' property
185 backgroundColor: 'rgba(234,45,99,0.4)' property
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dbottom_sheet_theme.dart30 this.backgroundColor,
35 /// Default value for [BottomSheet.backgroundColor].
38 final Color backgroundColor;
56 Color backgroundColor,
61 backgroundColor: backgroundColor ?? this.backgroundColor,
77 backgroundColor: Color.lerp(a?.backgroundColor, b?.backgroundColor, t),
86 backgroundColor,
99 return typedOther.backgroundColor == backgroundColor
107 properties.add(ColorProperty('backgroundColor', backgroundColor, defaultValue: null));
Ddialog_theme.dart33 this.backgroundColor,
40 /// Default value for [Dialog.backgroundColor].
44 final Color backgroundColor;
67 Color backgroundColor,
74 backgroundColor: backgroundColor ?? this.backgroundColor,
95 backgroundColor: Color.lerp(a?.backgroundColor, b?.backgroundColor, t),
113 return typedOther.backgroundColor == backgroundColor
123 properties.add(ColorProperty('backgroundColor', backgroundColor));
Dbanner_theme.dart31 this.backgroundColor,
38 final Color backgroundColor;
53 Color backgroundColor,
59 backgroundColor: backgroundColor ?? this.backgroundColor,
74 backgroundColor: Color.lerp(a?.backgroundColor, b?.backgroundColor, t),
84 backgroundColor,
98 return typedOther.backgroundColor == backgroundColor
107 properties.add(ColorProperty('backgroundColor', backgroundColor, defaultValue: null));
Dsnack_bar_theme.dart55 this.backgroundColor,
64 /// Default value for [SnackBar.backgroundColor].
67 final Color backgroundColor;
108 Color backgroundColor,
117 backgroundColor: backgroundColor ?? this.backgroundColor,
135 backgroundColor: Color.lerp(a?.backgroundColor, b?.backgroundColor, t),
148 backgroundColor,
165 return typedOther.backgroundColor == backgroundColor
177 properties.add(ColorProperty('backgroundColor', backgroundColor, defaultValue: null));
Dfloating_action_button_theme.dart34 this.backgroundColor,
52 final Color backgroundColor;
95 Color backgroundColor,
108 backgroundColor: backgroundColor ?? this.backgroundColor,
132 backgroundColor: Color.lerp(a?.backgroundColor, b?.backgroundColor, t),
149 backgroundColor,
170 && otherData.backgroundColor == backgroundColor
188 …properties.add(ColorProperty('backgroundColor', backgroundColor, defaultValue: defaultData.backgro…
Dprogress_indicator.dart45 this.backgroundColor,
62 /// The current theme's [ThemeData.backgroundColor] by default.
63 final Color backgroundColor;
95 …olor _getBackgroundColor(BuildContext context) => backgroundColor ?? Theme.of(context).backgroundC…
122 this.backgroundColor,
129 final Color backgroundColor;
161 ..color = backgroundColor
199 return oldPainter.backgroundColor != backgroundColor
237 Color backgroundColor,
244 backgroundColor: backgroundColor,
[all …]
Dchip_theme.dart72 /// data: ChipTheme.of(context).copyWith(backgroundColor: Colors.red),
131 /// data: ChipTheme.of(context).copyWith(backgroundColor: Colors.lightBlue),
173 @required this.backgroundColor,
188 }) : assert(backgroundColor != null),
245 final Color backgroundColor = primaryColor.withAlpha(backgroundAlpha);
256 backgroundColor: backgroundColor,
273 final Color backgroundColor;
370 Color backgroundColor,
387 backgroundColor: backgroundColor ?? this.backgroundColor,
415 backgroundColor: Color.lerp(a?.backgroundColor, b?.backgroundColor, t),
[all …]
Dbanner.dart29 /// [backgroundColor] can be provided to customize the banner.
43 this.backgroundColor,
79 /// If `null`, [MaterialBannerThemeData.backgroundColor] is used. If that is
81 final Color backgroundColor;
128 final Color backgroundColor = this.backgroundColor
129 ?? bannerTheme.backgroundColor
136 color: backgroundColor,
Dbottom_sheet.dart60 this.backgroundColor,
102 final Color backgroundColor;
185 final Color color = widget.backgroundColor ?? bottomSheetTheme.backgroundColor;
247 this.backgroundColor,
256 final Color backgroundColor;
306 backgroundColor: widget.backgroundColor,
323 this.backgroundColor,
334 final Color backgroundColor;
369 backgroundColor: backgroundColor,
423 Color backgroundColor,
[all …]
/third_party/flutter/flutter/packages/flutter/test/cupertino/
Dpicker_test.dart98 const Color backgroundColor = Color.fromRGBO(255, 0, 0, 1.0);
108 backgroundColor: backgroundColor,
128 backgroundColor,
129 backgroundColor.withAlpha(0xF2),
130 backgroundColor.withAlpha(0xDD),
131 backgroundColor.withAlpha(0x00),
132 backgroundColor.withAlpha(0x00),
133 backgroundColor.withAlpha(0xDD),
134 backgroundColor.withAlpha(0xF2),
135 backgroundColor,
[all …]
/third_party/flutter/flutter/packages/flutter/test/material/
Dcircle_avatar_test.dart15 final Color backgroundColor = Colors.blue.shade900;
19 backgroundColor: backgroundColor,
30 expect(decoration.color, equals(backgroundColor));
37 final Color backgroundColor = Colors.blue.shade100;
41 backgroundColor: backgroundColor,
52 expect(decoration.color, equals(backgroundColor));
192 final Color backgroundColor = Colors.blue.shade900;
197 backgroundColor: backgroundColor,
209 expect(decoration.color, equals(backgroundColor));
216 final Color backgroundColor = Colors.blue.shade900;
[all …]
Dbottom_sheet_theme_test.dart17 expect(bottomSheetTheme.backgroundColor, null);
37 backgroundColor: const Color(0xFFFFFFFF),
48 'backgroundColor: Color(0xffffffff)',
98 expect(material.color, bottomSheetTheme.backgroundColor);
104 const Color backgroundColor = Colors.purple;
114 backgroundColor: backgroundColor,
131 expect(material.color, backgroundColor);
139 backgroundColor: Colors.orange,
Dfloating_action_button_theme_test.dart38 const Color backgroundColor = Color(0xBEEFBEEF);
49 backgroundColor: backgroundColor,
66 expect(_getRawMaterialButton(tester).fillColor, backgroundColor);
76 const Color backgroundColor = Color(0x00000001);
87 backgroundColor: Color(0x00000004),
100 backgroundColor: backgroundColor,
111 expect(_getRawMaterialButton(tester).fillColor, backgroundColor);
168 backgroundColor: Color(0xCAFECAFE),
183 'backgroundColor: Color(0xcafecafe)',
Dbanner_theme_test.dart17 expect(bannerTheme.backgroundColor, null);
36 backgroundColor: Color(0xFFFFFFFF),
46 'backgroundColor: Color(0xffffffff)',
94 expect(container.decoration, BoxDecoration(color: bannerTheme.backgroundColor));
107 const Color backgroundColor = Colors.purple;
115 backgroundColor: backgroundColor,
133 expect(container.decoration, const BoxDecoration(color: backgroundColor));
169 backgroundColor: Colors.orange,
/third_party/node/deps/npm/node_modules/boxen/
Dindex.js74 if (opts.backgroundColor) {
75 opts.backgroundColor = getBackgroundColorName(opts.backgroundColor);
82 if (opts.backgroundColor && !chalk[opts.backgroundColor]) {
83 throw new Error(`${opts.backgroundColor} is not a valid backgroundColor`);
95 const colorizeContent = x => opts.backgroundColor ? chalk[opts.backgroundColor](x) : x;
/third_party/flutter/flutter/examples/layers/rendering/src/
Dsolid_color_box.dart9 RenderSolidColorBox(this.backgroundColor, { this.desiredSize = Size.infinite })
10 : super(decoration: BoxDecoration(color: backgroundColor));
13 final Color backgroundColor;
45 decoration = BoxDecoration(color: backgroundColor);
/third_party/flutter/flutter/packages/flutter/test/painting/
Dtext_style_test.dart304 test('backgroundColor', () {
306 expect(s1.backgroundColor, isNull);
309 const TextStyle s2 = TextStyle(backgroundColor: Color(0xFF00FF00));
310 expect(s2.backgroundColor, const Color(0xFF00FF00));
311 expect(s2.toString(), 'TextStyle(inherit: true, backgroundColor: Color(0xff00ff00))');
317 test('TextStyle background and backgroundColor combos', () {
320 const TextStyle redTextStyle = TextStyle(backgroundColor: red);
321 const TextStyle blueTextStyle = TextStyle(backgroundColor: blue);
327 expect(redBlueBothForegroundMerged.backgroundColor, blue);
331 expect(redBlueBothPaintMerged.backgroundColor, null);
[all …]
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/util/
DSkottieView.java131 int backgroundColor = a.getColor(R.styleable.SkottieView_background_color, -1); in SkottieView() local
132 if (backgroundColor == -1) { in SkottieView()
136 if (android.graphics.Color.alpha(backgroundColor) != 255) { in SkottieView()
141 Color c = new Color(backgroundColor); in SkottieView()
142 setSource(src, context, new Color(backgroundColor)); in SkottieView()
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/
Dbottom_tab_bar.dart31 /// If the given [backgroundColor]'s opacity is not 1.0 (which is the case by
53 this.backgroundColor,
98 final Color backgroundColor;
132 final Color backgroundColor =
133 this.backgroundColor ?? CupertinoTheme.of(context).barBackgroundColor;
134 return backgroundColor.alpha == 0xFF;
144 color: backgroundColor ?? CupertinoTheme.of(context).barBackgroundColor,
249 Color backgroundColor,
260 backgroundColor: backgroundColor ?? this.backgroundColor,
Dpicker.dart48 /// The [backgroundColor] defaults to light gray. It can be set to null to
64 this.backgroundColor = _kDefaultBackground,
101 /// The [backgroundColor] defaults to light gray. It can be set to null to
107 this.backgroundColor = _kDefaultBackground,
146 final Color backgroundColor;
232 /// Makes the fade to [CupertinoPicker.backgroundColor] edge gradients.
238 if (widget.backgroundColor != null && widget.backgroundColor.alpha < 255)
241 final Color widgetBackgroundColor = widget.backgroundColor ?? const Color(0xFFFFFFFF);
272 final Color foreground = widget.backgroundColor?.withAlpha(
273 (widget.backgroundColor.alpha * _kForegroundScreenOpacityFraction).toInt()
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dtext_style.dart18 const String _kColorBackgroundWarning = 'Cannot provide both a backgroundColor and a background\n'
19 … 'The backgroundColor argument is just a shorthand for "background: new Paint()..color = color".';
71 /// If [backgroundColor] is specified, [background] must be null and vice versa.
72 /// The [backgroundColor] is treated as a shorthand for
73 /// `background: Paint()..color = backgroundColor`.
402 this.backgroundColor,
428 assert(backgroundColor == null || background == null, _kColorBackgroundWarning);
452 /// [backgroundColor] property is shorthand for
453 /// `background: Paint()..color = backgroundColor`.
455 /// In [merge], [apply], and [lerp], conflicts between [backgroundColor] and [background]
[all …]
/third_party/typescript/tests/dets/cases/
DdynamicallyBuildUIElements.ets176 }.backgroundColor(Color.Yellow)
188 .backgroundColor(Color.Pink)
197 .backgroundColor(Color.Yellow)
221 .backgroundColor(Color.Green)
230 .backgroundColor(Color.Red)
240 .backgroundColor(Color.Blue)
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-demos/mount-origin/
Dtest.js211 document.getElementById("wsdi_statustd").style.backgroundColor =
223 document.getElementById("wsdi_statustd").style.backgroundColor =
242 document.getElementById("s_statustd").style.backgroundColor =
283 document.getElementById("s_statustd").style.backgroundColor =
318 document.getElementById("ot_statustd").style.backgroundColor =
330 document.getElementById("ot_statustd").style.backgroundColor =
421 document.getElementById("wslm_statustd").style.backgroundColor =
453 document.getElementById("wslm_statustd").style.backgroundColor =
/third_party/libwebsockets/test-apps/
Dtest.js211 document.getElementById("wsdi_statustd").style.backgroundColor =
223 document.getElementById("wsdi_statustd").style.backgroundColor =
242 document.getElementById("s_statustd").style.backgroundColor =
283 document.getElementById("s_statustd").style.backgroundColor =
318 document.getElementById("ot_statustd").style.backgroundColor =
330 document.getElementById("ot_statustd").style.backgroundColor =
421 document.getElementById("wslm_statustd").style.backgroundColor =
453 document.getElementById("wslm_statustd").style.backgroundColor =

123456