Home
last modified time | relevance | path

Searched refs:theme (Results 1 – 25 of 412) sorted by relevance

12345678910>>...17

/third_party/wayland_standard/cursor/
Dwayland-cursor.c138 struct wl_cursor_theme *theme; member
158 struct wl_cursor_theme *theme = image->theme; in wl_cursor_image_get_buffer() local
162 wl_shm_pool_create_buffer(theme->pool->pool, in wl_cursor_image_get_buffer()
200 struct wl_cursor_theme *theme) in wl_cursor_create_from_data() argument
223 image->theme = theme; in wl_cursor_create_from_data()
232 image->offset = shm_pool_allocate(theme->pool, size); in wl_cursor_create_from_data()
237 memcpy(theme->pool->data + image->offset, in wl_cursor_create_from_data()
255 load_default_theme(struct wl_cursor_theme *theme) in load_default_theme() argument
259 free(theme->name); in load_default_theme()
260 theme->name = strdup("default"); in load_default_theme()
[all …]
/third_party/flutter/flutter/packages/flutter/test/material/
Dtext_theme_test.dart88 final TextTheme theme = typography.black.apply(
97 expect(theme.display4.color, displayColor);
98 expect(theme.display3.color, displayColor);
99 expect(theme.display2.color, displayColor);
100 expect(theme.display1.color, displayColor);
101 expect(theme.caption.color, displayColor);
102 expect(theme.headline.color, bodyColor);
103 expect(theme.title.color, bodyColor);
104 expect(theme.subhead.color, bodyColor);
105 expect(theme.body2.color, bodyColor);
[all …]
Dtheme_test.dart22 testWidgets('PopupMenu inherits app theme', (WidgetTester tester) async {
26 theme: ThemeData(brightness: Brightness.dark),
50 testWidgets('Fallback theme', (WidgetTester tester) async {
81 // Different base theme, different output.
88 testWidgets('PopupMenu inherits shadowed app theme', (WidgetTester tester) async {
93 theme: ThemeData(brightness: Brightness.dark),
120 testWidgets('DropdownMenu inherits shadowed app theme', (WidgetTester tester) async {
124 theme: ThemeData(brightness: Brightness.dark),
155 testWidgets('ModalBottomSheet inherits shadowed app theme', (WidgetTester tester) async {
158 theme: ThemeData(brightness: Brightness.dark),
[all …]
Dbutton_theme_test.dart12 const ButtonThemeData theme = ButtonThemeData();
13 expect(theme.textTheme, ButtonTextTheme.normal);
14 expect(theme.constraints, const BoxConstraints(minWidth: 88.0, minHeight: 36.0));
15 expect(theme.padding, const EdgeInsets.symmetric(horizontal: 16.0));
16 expect(theme.shape, const RoundedRectangleBorder(
19 expect(theme.alignedDropdown, false);
20 expect(theme.layoutBehavior, ButtonBarLayoutBehavior.padded);
24 const ButtonThemeData theme = ButtonThemeData(
32 expect(theme.textTheme, ButtonTextTheme.primary);
33 expect(theme.constraints, const BoxConstraints(minWidth: 100.0, minHeight: 200.0));
[all …]
Dbottom_app_bar_theme_test.dart10 testWidgets('BAB theme overrides color', (WidgetTester tester) async {
12 const BottomAppBarTheme theme = BottomAppBarTheme(color: themedColor);
14 await tester.pumpWidget(_withTheme(theme));
24 const BottomAppBarTheme theme = BottomAppBarTheme(color: babThemeColor);
27 theme: ThemeData(bottomAppBarTheme: theme, bottomAppBarColor: themeColor),
38 const BottomAppBarTheme theme = BottomAppBarTheme(color: babThemeColor);
41 theme: ThemeData(bottomAppBarTheme: theme, bottomAppBarColor: themeColor),
53 theme: ThemeData(bottomAppBarColor: themeColor),
63 theme: ThemeData(),
72 testWidgets('BAB theme customizes shape', (WidgetTester tester) async {
[all …]
Dtheme_data_test.dart25 final ThemeData theme = ThemeData(platform: platform);
27 expect(theme.textTheme, typography.black.apply(decoration: TextDecoration.none),
32 test('Default text theme contrasts with brightness', () {
41 test('Default primary text theme contrasts with primary brightness', () {
50 test('Default accent text theme contrasts with accent brightness', () {
69 test('Default icon theme contrasts with brightness', () {
78 test('Default primary icon theme contrasts with primary brightness', () {
87 test('Default accent icon theme contrasts with accent brightness', () {
142 final ThemeData theme = ThemeData.from(colorScheme: lightColors);
144 expect(theme.brightness, equals(Brightness.light));
[all …]
Ddialog_theme_test.dart9 MaterialApp _appWithAlertDialog(WidgetTester tester, AlertDialog dialog, { ThemeData theme }) {
11 theme: theme,
71 final ThemeData theme = ThemeData(dialogTheme: const DialogTheme(backgroundColor: customColor));
73 await tester.pumpWidget(_appWithAlertDialog(tester, dialog, theme: theme));
87 final ThemeData theme = ThemeData(dialogTheme: const DialogTheme(elevation: customElevation));
90 _appWithAlertDialog(tester, dialog, theme: theme)
106 final ThemeData theme = ThemeData(dialogTheme: const DialogTheme(shape: customBorder));
109 _appWithAlertDialog(tester, dialog, theme: theme)
125 final ThemeData theme = ThemeData(dialogTheme: const DialogTheme(shape: customBorder));
127 await tester.pumpWidget(_appWithAlertDialog(tester, dialog, theme: theme));
[all …]
Dtheme_defaults_test.dart15 testWidgets('theme: ThemeData.light(), enabled: true', (WidgetTester tester) async {
18 theme: ThemeData.light(),
43 testWidgets('theme: ThemeData.light(), enabled: false', (WidgetTester tester) async {
46 theme: ThemeData.light(),
73 testWidgets('theme: ThemeData.light(), enabled: true', (WidgetTester tester) async {
76 theme: ThemeData.light(),
101 testWidgets('theme: ThemeData.light(), enabled: false', (WidgetTester tester) async {
104 theme: ThemeData.light(),
131 …testWidgets('theme: ThemeData.light(), enabled: true, highlightElevation: 2.0', (WidgetTester test…
134 theme: ThemeData.light(),
[all …]
Dtoggle_buttons_test.dart22 final ThemeData theme = ThemeData();
43 theme.colorScheme.onSurface.withOpacity(0.87),
48 expect(textStyleTwo.style.color, theme.colorScheme.primary);
55 final ThemeData theme = ThemeData();
89 theme.colorScheme.onSurface.withOpacity(0.87),
94 expect(textStyleTwo.style.color, theme.colorScheme.primary);
106 theme.colorScheme.onSurface.withOpacity(0.87),
113 theme.colorScheme.onSurface.withOpacity(0.87),
122 final ThemeData theme = ThemeData();
148 theme.colorScheme.onSurface.withOpacity(0.38),
[all …]
Dtoggle_buttons_theme_test.dart41 const ToggleButtonsTheme theme = ToggleButtonsTheme(data: ToggleButtonsThemeData());
42 expect(theme.data.color, null);
43 expect(theme.data.selectedColor, null);
44 expect(theme.data.disabledColor, null);
45 expect(theme.data.fillColor, null);
46 expect(theme.data.focusColor, null);
47 expect(theme.data.highlightColor, null);
48 expect(theme.data.hoverColor, null);
49 expect(theme.data.splashColor, null);
50 expect(theme.data.borderColor, null);
[all …]
/third_party/flutter/flutter/packages/flutter/test/cupertino/
Dtheme_test.dart23 Future<CupertinoThemeData> testTheme(WidgetTester tester, CupertinoThemeData theme) async {
26 data: theme,
33 Future<IconThemeData> testIconTheme(WidgetTester tester, CupertinoThemeData theme) async {
36 data: theme,
49 testWidgets('Default theme has defaults', (WidgetTester tester) async {
50 final CupertinoThemeData theme = await testTheme(tester, const CupertinoThemeData());
52 expect(theme.brightness, Brightness.light);
53 expect(theme.primaryColor, CupertinoColors.activeBlue);
54 expect(theme.textTheme.textStyle.fontSize, 17.0);
58 final CupertinoThemeData theme = await testTheme(tester, const CupertinoThemeData(
[all …]
/third_party/icu/docs/
DGemfile.lock51 jekyll-remote-theme (= 0.4.1)
56 jekyll-theme-architect (= 0.1.1)
57 jekyll-theme-cayman (= 0.1.1)
58 jekyll-theme-dinky (= 0.1.1)
59 jekyll-theme-hacker (= 0.1.1)
60 jekyll-theme-leap-day (= 0.1.1)
61 jekyll-theme-merlot (= 0.1.1)
62 jekyll-theme-midnight (= 0.1.1)
63 jekyll-theme-minimal (= 0.1.1)
64 jekyll-theme-modernist (= 0.1.1)
[all …]
/third_party/node/deps/npm/node_modules/gauge/
Dindex.js50 this._theme = options.theme
51 var theme = this._computeTheme(options.theme)
60 this._gauge = new PlumbingClass(theme, template, this.getWidth())
85 Gauge.prototype._computeTheme = function (theme) { argument
86 if (!theme) theme = {}
87 if (typeof theme === 'string') {
88 theme = this._themes.getTheme(theme)
89 …} else if (theme && (Object.keys(theme).length === 0 || theme.hasUnicode != null || theme.hasColor…
90 var useUnicode = theme.hasUnicode == null ? hasUnicode() : theme.hasUnicode
91 var useColor = theme.hasColor == null ? hasColor : theme.hasColor
[all …]
Dplumbing.js6 var Plumbing = module.exports = function (theme, template, width) {
8 validate('OAN', [theme, template, width])
10 this.theme = theme
16 Plumbing.prototype.setTheme = function (theme) { argument
17 validate('O', [theme])
18 this.theme = theme
40 var values = Object.create(this.theme)
DREADME.md72 * **themes**: A themeset to use when selecting the theme to use. Defaults
74 * **theme**: Select a theme for use, it can be a:
76 * The name of a theme, which will be looked up in the current *themes*
80 a default theme selection.
82 If no theme is selected then a default is picked using a combination of our
154 Change the themeset to select a theme from. The same as the `themes` option
155 used in the constructor. The theme will be reselected from this themeset.
157 #### `gauge.setTheme(theme)`
159 Change the active theme, will be displayed with the next show or pulse. This can be:
162 * The name of a theme, which will be looked up in the current *themes*
[all …]
Dtheme-set.js12 ThemeSetProto.newTheme = function (parent, theme) { argument
13 if (!theme) {
14 theme = parent
17 return objectAssign({}, parent, theme)
24 ThemeSetProto.addTheme = function (name, parent, theme) { argument
25 this.themes[name] = this.newTheme(parent, theme)
28 ThemeSetProto.addToAllThemes = function (theme) { argument
31 objectAssign(themes[name], theme)
33 objectAssign(this.baseTheme, theme)
86 err.theme = name
Dprogress-bar.js7 module.exports = function (theme, width, completed) { argument
8 validate('ONN', [theme, width, completed])
15 {type: 'complete', value: repeat(theme.complete, sofar), length: sofar},
16 {type: 'remaining', value: repeat(theme.remaining, rest), length: rest}
18 return renderTemplate(width, template, theme)
/third_party/flutter/skia/third_party/externals/sdl/src/video/directfb/
DSDL_DirectFB_WM.c90 if (windata->theme.font != NULL) in LoadFont()
96 fdesc.height = windata->theme.font_size; in LoadFont()
98 dfb->CreateFont(devdata->dfb, windata->theme.font, in LoadFont()
119 DFB_Theme *t = &windata->theme; in DirectFB_WM_RedrawLayout()
191 *cw -= windata->theme.left_size + windata->theme.right_size; in DirectFB_WM_GetClientSize()
193 windata->theme.top_size + windata->theme.caption_size + in DirectFB_WM_GetClientSize()
194 windata->theme.bottom_size; in DirectFB_WM_GetClientSize()
204 windata->theme = theme_none; in DirectFB_WM_AdjustWindowLayout()
207 windata->theme = theme_none; in DirectFB_WM_AdjustWindowLayout()
209 windata->theme = theme_none; in DirectFB_WM_AdjustWindowLayout()
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dtheme.dart15 /// The duration over which theme changes animate by default.
18 /// Applies a theme to descendant widgets.
20 /// A theme describes the colors and typographic choices of an application.
22 /// Descendant widgets obtain the current theme's [ThemeData] object using
24 /// the theme later changes, so that the changes can be applied.
31 /// * [ThemeData], which describes the actual configuration of a theme.
33 /// than changing the theme all at once.
35 /// the [MaterialApp.theme] argument.
37 /// Applies the given theme [data] to [child].
52 /// True if this theme was installed by the [MaterialApp].
[all …]
Dapp.dart17 import 'theme.dart';
37 /// Describes which theme will be used by [MaterialApp].
39 /// Use either the light or dark theme based on what the user has selected in
125 /// This example shows how to create a [MaterialApp] that defines a [theme] that
128 /// ![A screenshot of the MaterialApp class with a custom theme](https://flutter.github.io/assets-f…
132 /// theme: ThemeData(
178 this.theme,
253 /// control which theme will be used if a [darkTheme] is provided.
259 /// * [themeMode], which controls which theme to use.
261 /// desired brightness and is used to automatically toggle between [theme]
[all …]
/third_party/node/deps/npm/node_modules/colors/lib/
DextendStringPrototype.js53 function applyTheme(theme) { argument
68 Object.keys(theme).forEach(function(prop) {
74 if (typeof(theme[prop]) === 'string') {
75 colors[prop] = colors[theme[prop]];
82 for (var t = 0; t < theme[prop].length; t++) {
83 ret = colors[theme[prop][t]](ret);
96 colors.setTheme = function(theme) { argument
97 if (typeof theme === 'string') {
107 applyTheme(theme);
/third_party/python/Lib/tkinter/test/test_ttk/
Dtest_style.py111 for theme in self.style.theme_names():
112 if theme != curr_theme:
113 new_theme = theme
114 self.style.theme_use(theme)
131 for theme in self.style.theme_names():
132 self.style.theme_use(theme)
137 with self.subTest(theme=theme, name=name):
139 print('configure', theme, name, default)
140 if (theme in ('vista', 'xpnative')
157 for theme in self.style.theme_names():
[all …]
/third_party/flutter/flutter/examples/flutter_gallery/test/
Daccessibility_test.dart487 final ThemeData theme = themes[themeIndex];
493 await tester.pumpWidget(MaterialApp(theme: theme, home: BackdropDemo()));
501 await tester.pumpWidget(MaterialApp(theme: theme, home: BottomAppBarDemo()));
504 }, skip: theme == ThemeData.light());
509 await tester.pumpWidget(MaterialApp(theme: theme, home: BottomNavigationDemo()));
517 await tester.pumpWidget(MaterialApp(theme: theme, home: ButtonsDemo()));
525 await tester.pumpWidget(MaterialApp(theme: theme, home: CardsDemo()));
533 await tester.pumpWidget(MaterialApp(theme: theme, home: ChipDemo()));
541 await tester.pumpWidget(MaterialApp(theme: theme, home: DataTableDemo()));
549 await tester.pumpWidget(MaterialApp(theme: theme, home: DateAndTimePickerDemo()));
[all …]
/third_party/node/deps/npm/docs/src/components/home/
DTerminal.js9 background-color: ${(props) => props.theme.colors.purpleBlack};
10 border: 2px solid ${(props) => props.theme.colors.purpleBlack};
11 color: ${(props) => props.theme.colors.white};
25 background-color: ${(props) => props.theme.colors.white};
36 @media screen and (min-width: ${(props) => props.theme.breakpoints.TABLET}) {
45 @media screen and (min-width: ${(props) => props.theme.breakpoints.TABLET}) {
65 color: ${(props) => props.theme.colors.red};
87 @media screen and (min-width: ${(props) => props.theme.breakpoints.TABLET}) {
/third_party/typescript/tests/baselines/reference/
DimportUsedInGenericImportResolves.symbols12 export declare const theme: { a: string }
13 >theme : Symbol(theme, Decl(test2.d.ts, 0, 20))
17 export const a: import("./test1").T<typeof import("./test2").theme> = null as any;
20 >theme : Symbol(theme, Decl(test2.d.ts, 0, 20))

12345678910>>...17