| /external/pigweed/pw_console/py/pw_console/ |
| D | style.py | 220 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/ |
| D | ThemeTest.java | 7 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/ |
| D | wayland-cursor.c | 137 struct wl_cursor_theme *theme; member 157 struct wl_cursor_theme *theme = img->theme; in wl_cursor_image_get_buffer() local 161 wl_shm_pool_create_buffer(theme->pool->pool, in wl_cursor_image_get_buffer() 199 struct wl_cursor_theme *theme) in wl_cursor_create_from_data() argument 222 image->theme = theme; in wl_cursor_create_from_data() 231 image->offset = shm_pool_allocate(theme->pool, size); in wl_cursor_create_from_data() 236 memcpy(theme->pool->data + image->offset, in wl_cursor_create_from_data() 254 load_fallback_theme(struct wl_cursor_theme *theme) in load_fallback_theme() argument 258 theme->cursor_count = ARRAY_LENGTH(cursor_metadata); in load_fallback_theme() 259 theme->cursors = malloc(theme->cursor_count * sizeof(*theme->cursors)); in load_fallback_theme() [all …]
|
| /external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
| D | ShadowThemeTest.java | 8 import android.content.res.Resources.Theme; 97 Resources.Theme theme = resources.newTheme(); in forStylesWithImplicitParents_shouldInheritValuesNotDefinedInChild() local 98 theme.applyStyle(R.style.Theme_Robolectric_EmptyParent, true); in forStylesWithImplicitParents_shouldInheritValuesNotDefinedInChild() 99 assertThat(theme.obtainStyledAttributes(new int[] {R.attr.string1}).hasValue(0)).isFalse(); in forStylesWithImplicitParents_shouldInheritValuesNotDefinedInChild() 104 Resources.Theme theme = resources.newTheme(); in shouldApplyParentStylesFromAttrs() local 105 theme.applyStyle(R.style.SimpleParent, true); in shouldApplyParentStylesFromAttrs() 106 assertThat(theme.obtainStyledAttributes(new int[] {R.attr.parent_string}).getString(0)) in shouldApplyParentStylesFromAttrs() 112 Resources.Theme theme = resources.newTheme(); in applyStyle_shouldOverrideParentAttrs() local 113 theme.applyStyle(R.style.SimpleChildWithOverride, true); in applyStyle_shouldOverrideParentAttrs() 114 assertThat(theme.obtainStyledAttributes(new int[] {R.attr.parent_string}).getString(0)) in applyStyle_shouldOverrideParentAttrs() [all …]
|
| /external/setupdesign/main/src/com/google/android/setupdesign/util/ |
| D | ThemeHelper.java | 41 * 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 …]
|
| D | ThemeResolver.java | 27 * 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/ |
| D | google-signin-styles.html | 86 * 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/ |
| D | clock_pane.py | 254 # Date in cyan matching the current Pigweed Console theme. 255 date_with_color = ('class:theme-fg-cyan', date) 257 time_with_color = ('class:theme-fg-magenta', time) 383 fragments.append(HTML('\n\n<u>Current Theme Foreground Colors</u>\n')) 386 ('class:theme-fg-red', 'class:theme-fg-red'), 388 ('class:theme-fg-orange', 'class:theme-fg-orange'), 390 ('class:theme-fg-yellow', 'class:theme-fg-yellow'), 392 ('class:theme-fg-green', 'class:theme-fg-green'), 394 ('class:theme-fg-cyan', 'class:theme-fg-cyan'), 396 ('class:theme-fg-blue', 'class:theme-fg-blue'), [all …]
|
| /external/pdfium/xfa/fwl/ |
| D | BUILD.gn | 83 "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/accompanist/testharness/src/main/java/com/google/accompanist/testharness/ |
| D | ContextThemeWrapper.java | 31 * A context wrapper that allows you to modify or replace the theme of the wrapped context. 43 private Resources.Theme mTheme; 49 * Creates a new context wrapper with no theme and no base context. 60 * Creates a new context wrapper with the specified theme. 62 * The specified theme will be applied on top of the base context's theme. 63 * Any attributes not explicitly defined in the theme identified by 67 * @param themeResId the resource ID of the theme to be applied on top of 68 * the base context's theme 76 * Creates a new context wrapper with the specified theme. 78 * Unlike {@link #ContextThemeWrapper(Context, int)}, the theme passed to [all …]
|
| /external/accompanist/docs/ |
| D | appcompat-theme.md | 1 # AppCompat Compose Theme Adapter 3 …g.shields.io/maven-central/v/com.google.accompanist/accompanist-appcompat-theme)](https://search.m… 10 Accompanist AppCompat Theme Adapter has moved from the [`appcompat-theme`][appcompatthemelib] artif… 15 1. Change the dependency from `com.google.accompanist:accompanist-appcompat-theme:<version>` to `co… 34 [AppCompat][appcompat] XML themes allow for similar but coarser theming via XML theme attributes, l… 37 <style name="Theme.MyApp" parent="Theme.AppCompat.DayNight"> 43 …llowing your composable [`MaterialTheme`][materialtheme] to be based on the `Activity`'s XML theme: 48 // will now contain copies of the context's theme 56 …[MDC Compose Theme Adapter](https://github.com/material-components/material-components-android-com… 57 instead, as it allows much finer-grained reading of your theme. [all …]
|
| D | themeadapter-appcompat.md | 1 # AppCompat Theme Adapter 9 …Material Theme Builder](https://m3.material.io/theme-builder) tool, or an alternative design tool,… 11 …aterial-theming) to learn more about creating and adding theme to your app using Material Theme Bu… 29 [AppCompat][appcompat] XML themes allow for similar but coarser theming via XML theme attributes, l… 32 <style name="Theme.MyApp" parent="Theme.AppCompat.DayNight"> 38 …llowing your composable [`MaterialTheme`][materialtheme] to be based on the `Activity`'s XML theme: 43 // will now contain copies of the context's theme 51 … [Material Theme Adapter](https://github.com/google/accompanist/tree/main/themeadapter-material) or 52 … [Material 3 Theme Adapter](https://github.com/google/accompanist/tree/main/themeadapter-material3) 53 instead, as they allow much finer-grained reading of your theme. [all …]
|
| D | themeadapter-material3.md | 1 # Material 3 Theme Adapter 6 …onger maintained. We recommend generating a theme with [Material Theme Builder](https://m3.materia… 9 …Material Theme Builder](https://m3.material.io/theme-builder) tool, or an alternative design tool,… 11 …aterial-theming) to learn more about creating and adding theme to your app using Material Theme Bu… 16  30 [Material Components for Android][mdc] themes allow for similar theming for views via XML theme att… 33 <style name="Theme.MyApp" parent="Theme.Material3.DayNight"> 48 …llowing your composable [`MaterialTheme`][materialtheme] to be based on the `Activity`'s XML theme: 54 // will now contain copies of the Context's theme 60 ### Customizing the M3 theme [all …]
|
| D | themeadapter-material.md | 1 # Material Theme Adapter 9 …Material Theme Builder](https://m3.material.io/theme-builder) tool, or an alternative design tool,… 11 …aterial-theming) to learn more about creating and adding theme to your app using Material Theme Bu… 17  31 [Material Components for Android][mdc] themes allow for similar theming for views via XML theme att… 34 <style name="Theme.MyApp" parent="Theme.MaterialComponents.DayNight"> 48 …llowing your composable [`MaterialTheme`][materialtheme] to be based on the `Activity`'s XML theme: 54 // will now contain copies of the Context's theme 61 If you are using an AppCompat (i.e. non-MDC) theme in your app, you should use 62 … [AppCompat Theme Adapter](https://github.com/google/accompanist/tree/main/themeadapter-appcompat) [all …]
|
| /external/accompanist/appcompat-theme/src/main/java/com/google/accompanist/appcompattheme/ |
| D | AppCompatTheme.kt | 38 * This function creates the components of a [MaterialTheme], synthesizing a material theme in <lambda>() 39 * from values in the [context]'s `Theme.AppCompat` theme. in <lambda>() 43 …* [MDC Compose Theme Adapter](https://github.com/material-components/material-components-android-c… in <lambda>() 44 * instead, as it allows much finer-grained reading of your theme. in <lambda>() 46 * Synthesizing a material theme from an `AppCompat` theme is not perfect, since `Theme.AppCompat` in <lambda>() 47 * does not expose the same level of customization as `Theme.MaterialComponents`. in <lambda>() 77 * we read from an AppCompat theme is the default `app:fontFamily` or `android:fontFamily`. in <lambda>() 81 * <style name="Theme.MyApp" parent="Theme.AppCompat"> in <lambda>() 86 * Compose does not currently support downloadable fonts, so any font referenced from the theme in <lambda>() 95 * @param context The context to read the theme from. in <lambda>() [all …]
|
| /external/chromium-trace/catapult/third_party/polymer/components/paper-styles/ |
| D | default-theme.html | 22 * 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/accompanist/themeadapter-material/src/main/java/com/google/accompanist/themeadapter/material/ |
| D | MdcTheme.kt | 52 * theme in the given [context]. in <lambda>() 54 * By default the text colors from any associated `TextAppearance`s from the theme are *not* read. in <lambda>() 60 * of `ShapeAppearance`s from the theme. For example, [Shapes.medium.topStart] will be read from in <lambda>() 64 * @param context The context to read the theme from. in <lambda>() 65 * @param readColors whether the read the MDC color palette from the [context]'s theme. in <lambda>() 67 * @param readTypography whether the read the MDC text appearances from [context]'s theme. in <lambda>() 69 * @param readShapes whether the read the MDC shape appearances from the [context]'s theme. in <lambda>() 72 * theme. Defaults to `false`. in <lambda>() 74 * [context]'s theme, over any specified in the MDC text appearances. Defaults to `false`. in <lambda>() 92 // We try and use the theme key value if available, which should be a perfect key for caching in <lambda>() [all …]
|
| /external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/docs/_sass/components/ |
| D | _search.scss | 22 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_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/docs/_sass/components/ |
| D | _search.scss | 22 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/ |
| D | themes.xml | 3 <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/accompanist/themeadapter-appcompat/src/main/java/com/google/accompanist/themeadapter/appcompat/ |
| D | AppCompatTheme.kt | 40 * This function creates the components of a [MaterialTheme], synthesizing a material theme in <lambda>() 41 * from values in the [context]'s `Theme.AppCompat` theme. in <lambda>() 45 …* [MDC Compose Theme Adapter](https://github.com/material-components/material-components-android-c… in <lambda>() 46 * instead, as it allows much finer-grained reading of your theme. in <lambda>() 48 * Synthesizing a material theme from an `AppCompat` theme is not perfect, since `Theme.AppCompat` in <lambda>() 49 * does not expose the same level of customization as `Theme.MaterialComponents`. in <lambda>() 79 * we read from an AppCompat theme is the default `app:fontFamily` or `android:fontFamily`. in <lambda>() 83 * <style name="Theme.MyApp" parent="Theme.AppCompat"> in <lambda>() 88 * Compose does not currently support downloadable fonts, so any font referenced from the theme in <lambda>() 97 * @param context The context to read the theme from. in <lambda>() [all …]
|
| /external/oss-fuzz/docs/ |
| D | Gemfile.lock | 67 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/accompanist/themeadapter-material3/src/main/java/com/google/accompanist/themeadapter/material3/ |
| D | Mdc3Theme.kt | 50 * theme in the given [context]. in <lambda>() 52 * By default the text colors from any associated `TextAppearance`s from the theme are *not* read. in <lambda>() 57 * @param context The context to read the theme from. in <lambda>() 58 * @param readColorScheme whether the read the MDC color palette from the [context]'s theme. in <lambda>() 60 * @param readTypography whether the read the MDC text appearances from [context]'s theme. in <lambda>() 62 * @param readShapes whether the read the MDC shape appearances from the [context]'s theme. in <lambda>() 65 * theme. Defaults to `false`. in <lambda>() 67 * [context]'s theme, over any specified in the MDC text appearances. Defaults to `false`. in <lambda>() 85 // We try and use the theme key value if available, which should be a perfect key for caching in <lambda>() 86 // and avoid the expensive theme lookups in re-compositions. in <lambda>() [all …]
|
| /external/robolectric/robolectric/src/test/resources/res/values/ |
| D | themes.xml | 3 <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/ |
| D | FallbackThemeWrapper.java | 20 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()
|