Home
last modified time | relevance | path

Searched full:theme (Results 1 – 25 of 2955) sorted by relevance

12345678910>>...119

/external/pigweed/pw_console/py/pw_console/
Dstyle.py220 theme = _THEME_NAME_MAPPING.get(theme_name, DarkColors())
221 return theme
225 """Return prompt_toolkit styles for the given theme name."""
227 theme = _THEME_NAME_MAPPING.get(theme_name, DarkColors())
231 'default': 'bg:{} {}'.format(theme.default_bg, theme.default_fg),
233 'pane_inactive': 'bg:{} {}'.format(theme.dim_bg, theme.dim_fg),
235 'pane_active': 'bg:{} {}'.format(theme.default_bg, theme.default_fg),
237 'toolbar_active': 'bg:{} {}'.format(theme.active_bg, theme.active_fg),
239 theme.inactive_bg, theme.inactive_fg
243 theme.active_bg, theme.active_fg
[all …]
/external/robolectric/integration_tests/ctesque/src/sharedTest/java/android/content/res/
DThemeTest.java7 import android.content.res.Resources.Theme;
20 * Compatibility test for {@link Resources.Theme}
43 Theme theme = resources.newTheme(); in shouldLookUpStylesFromStyleResId() local
44 theme.applyStyle(R.style.Theme_AnotherTheme, true); in shouldLookUpStylesFromStyleResId()
45 TypedArray a = theme.obtainStyledAttributes(R.style.MyCustomView, R.styleable.CustomView); in shouldLookUpStylesFromStyleResId()
53 Theme theme = resources.newTheme(); in shouldApplyStylesFromResourceReference() local
54 theme.applyStyle(R.style.Theme_AnotherTheme, true); in shouldApplyStylesFromResourceReference()
56 theme.obtainStyledAttributes(null, R.styleable.CustomView, R.attr.animalStyle, 0); in shouldApplyStylesFromResourceReference()
65 Theme theme = resources.newTheme(); in shouldApplyStylesFromAttributeReference() local
66 theme.applyStyle(R.style.Theme_ThirdTheme, true); in shouldApplyStylesFromAttributeReference()
[all …]
/external/wayland/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 …]
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowThemeTest.java8 import android.content.res.Resources.Theme;
99 Resources.Theme theme = resources.newTheme(); in forStylesWithImplicitParents_shouldInheritValuesNotDefinedInChild() local
100 theme.applyStyle(R.style.Theme_Robolectric_EmptyParent, true); in forStylesWithImplicitParents_shouldInheritValuesNotDefinedInChild()
101 assertThat(theme.obtainStyledAttributes(new int[] {R.attr.string1}).hasValue(0)).isFalse(); in forStylesWithImplicitParents_shouldInheritValuesNotDefinedInChild()
106 Resources.Theme theme = resources.newTheme(); in shouldApplyParentStylesFromAttrs() local
107 theme.applyStyle(R.style.SimpleParent, true); in shouldApplyParentStylesFromAttrs()
108 assertThat(theme.obtainStyledAttributes(new int[] {R.attr.parent_string}).getString(0)) in shouldApplyParentStylesFromAttrs()
114 Resources.Theme theme = resources.newTheme(); in applyStyle_shouldOverrideParentAttrs() local
115 theme.applyStyle(R.style.SimpleChildWithOverride, true); in applyStyle_shouldOverrideParentAttrs()
116 assertThat(theme.obtainStyledAttributes(new int[] {R.attr.parent_string}).getString(0)) in applyStyle_shouldOverrideParentAttrs()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowThemeTest.java8 import android.content.res.Resources.Theme;
82 Resources.Theme theme = resources.newTheme(); in forStylesWithImplicitParents_shouldInheritValuesNotDefinedInChild() local
83 theme.applyStyle(R.style.Theme_Robolectric_EmptyParent, true); in forStylesWithImplicitParents_shouldInheritValuesNotDefinedInChild()
84 assertThat(theme.obtainStyledAttributes(new int[] {R.attr.string1}).hasValue(0)).isFalse(); in forStylesWithImplicitParents_shouldInheritValuesNotDefinedInChild()
88 Resources.Theme theme = resources.newTheme(); in shouldApplyParentStylesFromAttrs() local
89 theme.applyStyle(R.style.SimpleParent, true); in shouldApplyParentStylesFromAttrs()
90 assertThat(theme.obtainStyledAttributes(new int[] {R.attr.parent_string}).getString(0)) in shouldApplyParentStylesFromAttrs()
95 Resources.Theme theme = resources.newTheme(); in applyStyle_shouldOverrideParentAttrs() local
96 theme.applyStyle(R.style.SimpleChildWithOverride, true); in applyStyle_shouldOverrideParentAttrs()
97 assertThat(theme.obtainStyledAttributes(new int[] {R.attr.parent_string}).getString(0)) in applyStyle_shouldOverrideParentAttrs()
[all …]
/external/setupdesign/main/src/com/google/android/setupdesign/util/
DThemeHelper.java41 * variant of the theme used in setup wizard for Nougat MR1.
47 * theme used in setup wizard for Nougat MR1.
53 * variant of the theme used in setup wizard for O DR.
59 * theme used in setup wizard for O DR.
65 * variant of the theme used in setup wizard for P.
71 * theme used in setup wizard for P.
77 * variant of the theme used in setup wizard for T.
83 * theme used in setup wizard for T.
93 * Checks the intent whether the extra indicates that the light theme should be used or not. If
94 * the theme is not specified in the intent, or the theme specified is unknown, the value def will
[all …]
DThemeResolver.java27 * A resolver to resolve the theme from a string or an activity intent, setting options like the
28 * default theme and the oldest supported theme. Apps can share the resolver across the entire
30 * android.app.Application#onCreate()}. If an app needs more granular sharing of the theme default
76 * Returns the style for the theme specified in the intent extra. If the specified string theme is
77 * older than the oldest supported theme, the default will be returned instead. Note that the
78 * default theme is returned without processing -- it may not be a DayNight theme even if {@link
90 * the intent extra {@link WizardManagerHelper#EXTRA_THEME}, the default theme will be returned
91 * instead. Note that the default theme is returned without processing -- it may not be a DayNight
92 * theme even if {@link #useDayNight} is true.
100 * Returns the style for the given string theme. If the specified string theme is older than the
[all …]
/external/chromium-trace/catapult/third_party/polymer/components/google-signin/
Dgoogle-signin-styles.html86 * Dark Theme
88 .theme-dark {
94 .theme-dark.signedIn-true.additionalAuth-false {
99 .theme-dark.signedIn-true.additionalAuth-false:hover,
100 .theme-dark.signedIn-true.additionalAuth-false:focus {
104 :host([noink]) .theme-dark:hover,
105 :host([noink]) .theme-dark:focus {
109 :host([noink]) .theme-dark.signedIn-true.additionalAuth-false:hover,
110 :host([noink]) .theme-dark.signedIn-true.additionalAuth-false:focus {
115 * Light Theme
[all …]
/external/pigweed/pw_console/py/pw_console/plugins/
Dclock_pane.py252 # Date in cyan matching the current Pigweed Console theme.
253 date_with_color = ('class:theme-fg-cyan', date)
255 time_with_color = ('class:theme-fg-magenta', time)
381 fragments.append(HTML('\n\n<u>Current Theme Foreground Colors</u>\n'))
384 ('class:theme-fg-red', 'class:theme-fg-red'),
386 ('class:theme-fg-orange', 'class:theme-fg-orange'),
388 ('class:theme-fg-yellow', 'class:theme-fg-yellow'),
390 ('class:theme-fg-green', 'class:theme-fg-green'),
392 ('class:theme-fg-cyan', 'class:theme-fg-cyan'),
394 ('class:theme-fg-blue', 'class:theme-fg-blue'),
[all …]
/external/pdfium/xfa/fwl/
DBUILD.gn83 "theme/cfwl_barcodetp.cpp",
84 "theme/cfwl_barcodetp.h",
85 "theme/cfwl_carettp.cpp",
86 "theme/cfwl_carettp.h",
87 "theme/cfwl_checkboxtp.cpp",
88 "theme/cfwl_checkboxtp.h",
89 "theme/cfwl_comboboxtp.cpp",
90 "theme/cfwl_comboboxtp.h",
91 "theme/cfwl_datetimepickertp.cpp",
92 "theme/cfwl_datetimepickertp.h",
[all …]
/external/chromium-trace/catapult/third_party/polymer/components/paper-styles/
Ddefault-theme.html22 * color, then switching from a light to a dark theme is just a matter of
25 --primary-text-color: var(--light-theme-text-color);
26 --primary-background-color: var(--light-theme-background-color);
27 --secondary-text-color: var(--light-theme-secondary-color);
28 --disabled-text-color: var(--light-theme-disabled-color);
29 --divider-color: var(--light-theme-divider-color);
45 * Material Design Light background theme
47 --light-theme-background-color: #ffffff;
48 --light-theme-base-color: #000000;
49 --light-theme-text-color: var(--paper-grey-900);
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/docs/_sass/components/
D_search.scss22 color: $text-color-theme-light-d;
25 color: $text-color-theme-dark-d;
62 color: $text-color-theme-light;
63 border-color: $text-color-theme-light;
65 box-shadow: 0 0 0 2px rgba($text-color-theme-light, .4);
69 color: $text-color-theme-dark;
70 border-color: $text-color-theme-dark;
72 box-shadow: 0 0 0 2px rgba($text-color-theme-dark, .4);
79 color: $text-color-theme-light-l;
82 color: $text-color-theme-dark-l;
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/docs/_sass/components/
D_search.scss22 color: $text-color-theme-light-d;
25 color: $text-color-theme-dark-d;
62 color: $text-color-theme-light;
63 border-color: $text-color-theme-light;
65 box-shadow: 0 0 0 2px rgba($text-color-theme-light, .4);
69 color: $text-color-theme-dark;
70 border-color: $text-color-theme-dark;
72 box-shadow: 0 0 0 2px rgba($text-color-theme-dark, .4);
79 color: $text-color-theme-light-l;
82 color: $text-color-theme-dark-l;
[all …]
/external/robolectric/testapp/src/main/res/values/
Dthemes.xml3 <style name="Theme.Robolectric" parent="@android:style/Theme">
6 <item name="string1">string 1 from Theme.Robolectric</item>
7 <item name="string3">string 3 from Theme.Robolectric</item>
10 <style name="Theme.Robolectric.ImplicitChild">
11 <item name="string2">string 2 from Theme.Robolectric.ImplicitChild</item>
12 <item name="string3">string 3 from Theme.Robolectric.ImplicitChild</item>
15 <style name="Theme.Robolectric.EmptyParent" parent=""/>
17 <style name="Theme.AnotherTheme" parent="@style/Theme.Robolectric">
26 <item name="string1">string 1 from Theme.AnotherTheme</item>
27 <item name="string2">string 2 from Theme.AnotherTheme</item>
[all …]
/external/oss-fuzz/docs/
DGemfile.lock67 jekyll-remote-theme (= 0.4.3)
72 jekyll-theme-architect (= 0.2.0)
73 jekyll-theme-cayman (= 0.2.0)
74 jekyll-theme-dinky (= 0.2.0)
75 jekyll-theme-hacker (= 0.2.0)
76 jekyll-theme-leap-day (= 0.2.0)
77 jekyll-theme-merlot (= 0.2.0)
78 jekyll-theme-midnight (= 0.2.0)
79 jekyll-theme-minimal (= 0.2.0)
80 jekyll-theme-modernist (= 0.2.0)
[all …]
/external/robolectric/robolectric/src/test/resources/res/values/
Dthemes.xml3 <style name="Theme.Robolectric" parent="@android:style/Theme">
5 <item name="string1">string 1 from Theme.Robolectric</item>
6 <item name="string2">string 2 from Theme.Robolectric</item>
7 <item name="string3">string 3 from Theme.Robolectric</item>
10 <style name="Theme.Robolectric.ImplicitChild">
11 <item name="string2">string 2 from Theme.Robolectric.ImplicitChild</item>
12 <item name="string3">string 3 from Theme.Robolectric.ImplicitChild</item>
15 <style name="Theme.Robolectric.EmptyParent" parent=""/>
17 <style name="Theme.AnotherTheme" parent="@style/Theme.Robolectric">
26 <item name="string1">string 1 from Theme.AnotherTheme</item>
[all …]
/external/robolectric-shadows/robolectric/src/test/resources/res/values/
Dthemes.xml3 <style name="Theme.Robolectric" parent="@android:style/Theme">
5 <item name="string1">string 1 from Theme.Robolectric</item>
6 <item name="string2">string 2 from Theme.Robolectric</item>
7 <item name="string3">string 3 from Theme.Robolectric</item>
10 <style name="Theme.Robolectric.ImplicitChild">
11 <item name="string2">string 2 from Theme.Robolectric.ImplicitChild</item>
12 <item name="string3">string 3 from Theme.Robolectric.ImplicitChild</item>
15 <style name="Theme.Robolectric.EmptyParent" parent=""/>
17 <style name="Theme.AnotherTheme" parent="@style/Theme.Robolectric">
26 <item name="string1">string 1 from Theme.AnotherTheme</item>
[all …]
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
DFallbackThemeWrapper.java20 import android.content.res.Resources.Theme;
25 * Same as {@link ContextThemeWrapper}, but the base context's theme attributes take precedence over
26 * the wrapper context's. This is used to provide default values for theme attributes referenced in
27 * layouts, to remove the risk of crashing the client because of using the wrong theme.
32 * Creates a new context wrapper with the specified theme.
34 * <p>The specified theme will be applied as fallbacks to the base context's theme. Any attributes
35 * defined in the base context's theme will retain their original values. Otherwise values in
39 * @param themeResId The theme to use as fallback.
47 protected void onApplyThemeResource(Theme theme, int resId, boolean first) { in onApplyThemeResource() argument
48 theme.applyStyle(resId, false /* force */); in onApplyThemeResource()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DStyleResolver.java12 private final Style theme; field in StyleResolver
17 Style theme, ResName myResName, ResTable_config config) { in StyleResolver() argument
20 this.theme = theme; in StyleResolver()
47 if (theme != null) { in getAttrValue()
48 AttributeResource value = theme.getAttrValue(resName); in getAttrValue()
98 .append(" with ").append(theme); in getParent()
110 .append(" with ").append(theme); in getParent()
128 if (!dereferencing && theme != null) { in dereferenceResName()
129 AttributeResource value = theme.getAttrValue(styleRef); in dereferenceResName()
156 return ((theme == null && other.theme == null) || (theme != null && theme.equals(other.theme))) in equals()
[all …]
/external/robolectric/resources/src/main/java/org/robolectric/res/
DStyleResolver.java12 private final Style theme; field in StyleResolver
17 Style theme, ResName myResName, ResTable_config config) { in StyleResolver() argument
20 this.theme = theme; in StyleResolver()
47 if (theme != null) { in getAttrValue()
48 AttributeResource value = theme.getAttrValue(resName); in getAttrValue()
98 .append(" with ").append(theme); in getParent()
110 .append(" with ").append(theme); in getParent()
128 if (!dereferencing && theme != null) { in dereferenceResName()
129 AttributeResource value = theme.getAttrValue(styleRef); in dereferenceResName()
156 return ((theme == null && other.theme == null) || (theme != null && theme.equals(other.theme))) in equals()
[all …]
/external/python/cpython3/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)
117 # just one theme available, can't go on with tests
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')
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/docs/_sass/common/components/
D_button.scss46 .button--theme-light {
47 @include clickable($text-color-theme-dark, $main-color-theme-light);
50 .button--theme-dark {
51 @include clickable($text-color-theme-light, $main-color-theme-dark);
90 .button--outline-theme-light {
91 color: $main-color-theme-light;
92 border: 1px solid $main-color-theme-light;
93 @include clickable($text-color-theme-dark, $main-color-theme-light);
96 .button--outline-theme-dark {
97 color: $main-color-theme-dark;
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/docs/_sass/common/components/
D_button.scss46 .button--theme-light {
47 @include clickable($text-color-theme-dark, $main-color-theme-light);
50 .button--theme-dark {
51 @include clickable($text-color-theme-light, $main-color-theme-dark);
90 .button--outline-theme-light {
91 color: $main-color-theme-light;
92 border: 1px solid $main-color-theme-light;
93 @include clickable($text-color-theme-dark, $main-color-theme-light);
96 .button--outline-theme-dark {
97 color: $main-color-theme-dark;
[all …]
/external/dagger2/javatests/artifacts/hilt-android/simple/app/src/debug/
DAndroidManifest.xml22 android:theme="@style/Theme.AppCompat.Light"
26 android:theme="@style/Theme.AppCompat.Light"
30 android:theme="@style/Theme.AppCompat.Light"
34 android:theme="@style/Theme.AppCompat.Light"
38 android:theme="@style/Theme.AppCompat.Light"
/external/setupdesign/main/src/com/google/android/setupdesign/items/
DButtonItem.java42 private int theme = R.style.SudButtonItem; field in ButtonItem
56 theme = a.getResourceId(R.styleable.SudButtonItem_android_theme, R.style.SudButtonItem); in ButtonItem()
73 * The theme to use for this button. This can be used to create button of a particular style (e.g.
74 * a colored or borderless button). Typically {@code android:buttonStyle} will be set in the theme
77 * @param theme Resource ID of the theme
79 public void setTheme(int theme) { in setTheme() argument
80 this.theme = theme; in setTheme()
84 /** @return Resource ID of the theme used by this button. */
86 return theme; in getTheme()
117 * @param parent The parent of the button, used to retrieve the theme and context for this button.
[all …]

12345678910>>...119