Home
last modified time | relevance | path

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

12345678910>>...22

/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-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.java39 * variant of the theme used in setup wizard for Nougat MR1.
45 * theme used in setup wizard for Nougat MR1.
51 * variant of the theme used in setup wizard for O DR.
57 * theme used in setup wizard for O DR.
63 * variant of the theme used in setup wizard for P.
69 * theme used in setup wizard for P.
89 * Checks the intent whether the extra indicates that the light theme should be used or not. If
90 * the theme is not specified in the intent, or the theme specified is unknown, the value def will
93 * @param intent The intent used to start the activity, which the theme extra will be read from.
94 * @param def The default value if the theme is not specified.
[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/pdfium/xfa/fwl/
DBUILD.gn86 "theme/cfwl_barcodetp.cpp",
87 "theme/cfwl_barcodetp.h",
88 "theme/cfwl_carettp.cpp",
89 "theme/cfwl_carettp.h",
90 "theme/cfwl_checkboxtp.cpp",
91 "theme/cfwl_checkboxtp.h",
92 "theme/cfwl_comboboxtp.cpp",
93 "theme/cfwl_comboboxtp.h",
94 "theme/cfwl_datetimepickertp.cpp",
95 "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/oss-fuzz/docs/
DGemfile.lock53 jekyll-remote-theme (= 0.4.2)
58 jekyll-theme-architect (= 0.1.1)
59 jekyll-theme-cayman (= 0.1.1)
60 jekyll-theme-dinky (= 0.1.1)
61 jekyll-theme-hacker (= 0.1.2)
62 jekyll-theme-leap-day (= 0.1.1)
63 jekyll-theme-merlot (= 0.1.1)
64 jekyll-theme-midnight (= 0.1.1)
65 jekyll-theme-minimal (= 0.1.1)
66 jekyll-theme-modernist (= 0.1.1)
[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/pdfium/xfa/fxfa/
Dcxfa_fwltheme.h13 #include "xfa/fwl/theme/cfwl_barcodetp.h"
14 #include "xfa/fwl/theme/cfwl_carettp.h"
15 #include "xfa/fwl/theme/cfwl_checkboxtp.h"
16 #include "xfa/fwl/theme/cfwl_comboboxtp.h"
17 #include "xfa/fwl/theme/cfwl_datetimepickertp.h"
18 #include "xfa/fwl/theme/cfwl_edittp.h"
19 #include "xfa/fwl/theme/cfwl_listboxtp.h"
20 #include "xfa/fwl/theme/cfwl_monthcalendartp.h"
21 #include "xfa/fwl/theme/cfwl_pictureboxtp.h"
22 #include "xfa/fwl/theme/cfwl_pushbuttontp.h"
[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/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 …]
/external/deqp/android/openglcts/
DAndroidManifest.xml10 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
23 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
38 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
53 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
68 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
83 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
98 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
/external/python/cpython3/Lib/idlelib/
Dconfigdialog.py74 # Each theme element key is its display name.
704 concerned. Any theme can be used as the base for a new custom
705 theme, stored in .idlerc/config-highlight.cfg.
707 Function load_theme_cfg() initializes tk variables and theme
709 for the current theme. Radiobuttons builtin_theme_on and
711 current set of colors are from a builtin or custom theme.
716 Function paint_theme_sample() applies the colors from the theme
729 paint_theme_sample() (theme is changed or load_cfg is called), and
733 a custom theme from idleConf.userCfg['highlight'] and changes.
735 get_new_theme_name() and create_new() to save a custom theme
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DAttributeResolution10.java11 import org.robolectric.res.android.CppAssetManager2.Theme;
93 public static boolean ResolveAttrs(Theme theme, int def_style_attr, in ResolveAttrs() argument
98 ALOGI("APPLY STYLE: theme=0x%p defStyleAttr=0x%x defStyleRes=0x%x", theme, in ResolveAttrs()
102 CppAssetManager2 assetmanager = theme.GetAssetManager(); in ResolveAttrs()
112 … if (theme.GetAttribute(def_style_attr, valueRef, def_style_flags).intValue() != kInvalidCookie) { in ResolveAttrs()
148 // style, and finally the theme. in ResolveAttrs()
176theme.ResolveAttributeReference(cookie, valueRef, configRef, type_set_flagsRef, residRef); in ResolveAttrs()
184 // If we still don't have a value for this attribute, try to find it in the theme! in ResolveAttrs()
185 … ApkAssetsCookie new_cookie = theme.GetAttribute(cur_ident, valueRef, type_set_flagsRef); in ResolveAttrs()
188 ALOGI("-> From theme: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs()
[all …]
DAttributeResolution9.java10 import org.robolectric.res.android.CppAssetManager2.Theme;
89 public static boolean ResolveAttrs(Theme theme, int def_style_attr, in ResolveAttrs() argument
94 ALOGI("APPLY STYLE: theme=0x%p defStyleAttr=0x%x defStyleRes=0x%x", theme, in ResolveAttrs()
98 CppAssetManager2 assetmanager = theme.GetAssetManager(); in ResolveAttrs()
108 … if (theme.GetAttribute(def_style_attr, valueRef, def_style_flags).intValue() != kInvalidCookie) { in ResolveAttrs()
144 // style, and finally the theme. in ResolveAttrs()
172theme.ResolveAttributeReference(cookie, valueRef, configRef, type_set_flagsRef, residRef); in ResolveAttrs()
180 // If we still don't have a value for this attribute, try to find it in the theme! in ResolveAttrs()
181 ApkAssetsCookie new_cookie = theme.GetAttribute(cur_ident, valueRef, type_set_flagsRef); in ResolveAttrs()
184 ALOGI("-> From theme: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs()
[all …]
DAttributeResolution.java64 public static boolean ResolveAttrs(ResTableTheme theme, int defStyleAttr, in ResolveAttrs() argument
69 ALOGI("APPLY STYLE: theme=0x%p defStyleAttr=0x%x defStyleRes=0x%x", theme, in ResolveAttrs()
73 final ResTable res = theme.getResTable(); in ResolveAttrs()
83 if (theme.GetAttribute(defStyleAttr, valueRef, defStyleBagTypeSetFlags) >= 0) { in ResolveAttrs()
122 // style, and finally the theme. in ResolveAttrs()
149 int newBlock = theme.resolveAttributeReference(valueRef, block, in ResolveAttrs()
161 // it in the theme! in ResolveAttrs()
162 int newBlock = theme.GetAttribute(curIdent, valueRef, typeSetFlagsRef); in ResolveAttrs()
168 ALOGI("-> From theme: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs()
182 ALOGI("-> Resolved theme: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs()
[all …]
/external/drrickorang/LoopbackApp/app/src/main/
DAndroidManifest.xml43 android:theme="@android:style/Theme.Holo.Light"
58 android:theme="@android:style/Theme.Holo.Light"
71 android:theme="@android:style/Theme.Holo.Light">
81 android:theme="@android:style/Theme.Holo.Light">
91 android:theme="@android:style/Theme.Holo.Light">
/external/python/cpython2/Lib/idlelib/
DconfigDialog.py42 #Theme Elements. Each theme element key is its display name.
197 text=' Highlighting Theme ')
247 frameCustom, text='Save as New Custom Theme',
253 command=self.SetThemeType, text='a Built-in Theme')
256 command=self.SetThemeType, text='a Custom Theme')
262 frameTheme, text='Delete Custom Theme',
535 if idleConf.GetOption('main', 'Theme', 'name') != 'IDLE New':
536 self.AddChangedItem('main', 'Theme', 'name', 'IDLE Classic')
537 self.AddChangedItem('main', 'Theme', 'name2', value)
538 self.new_custom_theme.config(text='New theme, see Help',
[all …]
DconfigHandler.py282 def GetHighlight(self, theme, element, fgBg=None): argument
283 """Return individual theme element highlight color(s).
291 if self.defaultCfg['highlight'].has_section(theme):
292 themeDict = self.GetThemeDict('default', theme)
294 themeDict = self.GetThemeDict('user', theme)
314 type - string, 'default' or 'user' theme type
315 themeName - string, theme name
317 that all theme elements are present in a newly created theme.
324 raise InvalidTheme('Invalid theme type specified')
325 # Provide foreground and background colors for each theme
[all …]
/external/setupcompat/main/java/com/google/android/setupcompat/template/
DFooterButton.java52 private int theme; field in FooterButton
67 theme = a.getResourceId(R.styleable.SucFooterButton_android_theme, /* defValue= */ 0); in FooterButton()
72 * Allows client customize text, click listener and theme for footer button before Button has been
78 * @param theme The theme for button.
84 @StyleRes int theme, in FooterButton() argument
90 this.theme = theme; in FooterButton()
129 /** Returns the theme of this footer button. */
132 return theme; in getTheme()
336 * <p>Allows client customize text, click listener and theme for footer button before Button has
360 private int theme = 0; field in FooterButton.Builder
[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"
/external/dagger2/java/dagger/hilt/android/example/gradle/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"

12345678910>>...22