Searched refs:theme (Results 1 - 25 of 62) sorted by relevance

123

/external/llvm/docs/_themes/llvm-theme/
H A Dtheme.conf0 [theme]
3 stylesheet = llvm-theme.css
/external/wayland/cursor/
H A Dwayland-cursor.c144 struct wl_cursor_theme *theme; member in struct:cursor_image
164 struct wl_cursor_theme *theme = image->theme; local
168 wl_shm_pool_create_buffer(theme->pool->pool,
206 struct wl_cursor_theme *theme)
229 image->theme = theme;
238 image->offset = shm_pool_allocate(theme->pool, size);
243 memcpy(theme->pool->data + image->offset,
261 load_default_theme(struct wl_cursor_theme *theme) argument
205 wl_cursor_create_from_data(struct cursor_metadata *metadata, struct wl_cursor_theme *theme) argument
287 wl_cursor_create_from_xcursor_images(XcursorImages *images, struct wl_cursor_theme *theme) argument
350 struct wl_cursor_theme *theme = data; local
391 struct wl_cursor_theme *theme; local
430 wl_cursor_theme_destroy(struct wl_cursor_theme *theme) argument
452 wl_cursor_theme_get_cursor(struct wl_cursor_theme *theme, const char *name) argument
[all...]
H A Dwayland-cursor.h57 wl_cursor_theme_destroy(struct wl_cursor_theme *theme);
60 wl_cursor_theme_get_cursor(struct wl_cursor_theme *theme,
H A Dxcursor.h56 XcursorLibraryLoadImages (const char *file, const char *theme, int size);
62 xcursor_load_theme(const char *theme, int size,
H A Dxcursor.c655 _XcursorBuildThemeDir (const char *dir, const char *theme) argument
666 if (!dir || !theme)
675 tcolon = strchr (theme, ':');
677 tcolon = theme + strlen (theme);
679 themelen = tcolon - theme;
707 _XcursorAddPathElt (full, theme, themelen);
791 XcursorScanTheme (const char *theme, const char *name) argument
800 if (!theme || !name)
804 * Scan this theme
842 XcursorLibraryLoadImages(const char *file, const char *theme, int size) argument
929 xcursor_load_theme(const char *theme, int size, void (*load_callback)(XcursorImages *, void *), void *user_data) argument
[all...]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
H A DStyleResolver.java12 private final Style theme; field in class:StyleResolver
17 Style theme, ResName myResName, ResTable_config config) {
20 this.theme = theme;
47 if (theme != null) {
48 AttributeResource value = theme.getAttrValue(resName);
98 .append(" with ").append(theme);
110 .append(" with ").append(theme);
128 if (!dereferencing && theme != null) {
129 AttributeResource value = theme
16 StyleResolver(ResourceTable appResourceTable, ResourceTable systemResourceTable, StyleData styleData, Style theme, ResName myResName, ResTable_config config) argument
[all...]
/external/autotest/client/site_tests/webstore_InstallItem/
H A Dwebstore_InstallItem.py20 if item_type != ItemType.extension and item_type != ItemType.theme:
/external/python/cpython3/Doc/tools/pydoctheme/
H A Dtheme.conf0 [theme]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowThemeTest.java107 assertThat(a.getString(0)).isEqualTo("value from theme");
180 Resources.Theme theme = resources.newTheme();
181 theme.applyStyle(R.style.Theme_Robolectric_ImplicitChild, true);
182 assertThat(theme.obtainStyledAttributes(new int[] {R.attr.string1}).getString(0))
184 assertThat(theme.obtainStyledAttributes(new int[] {R.attr.string3}).getString(0))
189 Resources.Theme theme = resources.newTheme();
190 theme.applyStyle(R.style.Theme_Robolectric_EmptyParent, true);
191 assertThat(theme.obtainStyledAttributes(new int[] {R.attr.string1}).hasValue(0)).isFalse();
195 Resources.Theme theme = resources.newTheme();
196 theme
[all...]
H A DShadowResourcesTest.java611 Resources.Theme theme = resources.newTheme();
612 theme.applyStyle(R.style.MyBlackTheme, false);
614 theme.resolveAttribute(android.R.attr.windowBackground, out, true);
629 Resources.Theme theme = resources.newTheme();
630 theme.applyStyle(R.style.MyBlackTheme, false);
632 theme.resolveAttribute(android.R.attr.windowBackground, out, false);
658 Resources.Theme theme = resources.newTheme();
659 theme.applyStyle(R.style.MyBlackTheme, false);
660 TypedArray arr = theme.obtainStyledAttributes(new int[]{android.R.attr.windowBackground});
674 // resource ID values in the AttributeSet before checking the theme
[all...]
/external/python/cpython3/Lib/idlelib/
H A Dcolorizer.py42 theme = idleConf.CurrentTheme()
43 normal_colors = idleConf.GetHighlight(theme, 'normal')
44 cursor_color = idleConf.GetHighlight(theme, 'cursor', fgBg='fg')
45 select_colors = idleConf.GetHighlight(theme, 'hilite')
83 theme = idleConf.CurrentTheme()
85 "COMMENT": idleConf.GetHighlight(theme, "comment"),
86 "KEYWORD": idleConf.GetHighlight(theme, "keyword"),
87 "BUILTIN": idleConf.GetHighlight(theme, "builtin"),
88 "STRING": idleConf.GetHighlight(theme, "string"),
89 "DEFINITION": idleConf.GetHighlight(theme, "definitio
[all...]
H A Dconfig.py281 def GetHighlight(self, theme, element, fgBg=None):
282 """Return individual theme element highlight color(s).
290 if self.defaultCfg['highlight'].has_section(theme):
291 themeDict = self.GetThemeDict('default', theme)
293 themeDict = self.GetThemeDict('user', theme)
313 type - string, 'default' or 'user' theme type
314 themeName - string, theme name
316 that all theme elements are present in a newly created theme.
323 raise InvalidTheme('Invalid theme typ
[all...]
/external/python/cpython2/Lib/lib-tk/test/test_ttk/
H A Dtest_style.py74 for theme in self.style.theme_names():
75 if theme != curr_theme:
76 new_theme = theme
77 self.style.theme_use(theme)
80 # just one theme available, can't go on with tests
/external/python/cpython3/Lib/tkinter/test/test_ttk/
H A Dtest_style.py74 for theme in self.style.theme_names():
75 if theme != curr_theme:
76 new_theme = theme
77 self.style.theme_use(theme)
80 # just one theme available, can't go on with tests
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowDatePickerDialog.java26 public void __constructor__(Context context, int theme, DatePickerDialog.OnDateSetListener callBack, argument
35 ClassParameter.from(int.class, theme),
43 public void __constructor__(Context context, int theme, DatePickerDialog.OnDateSetListener callBack, argument
53 ClassParameter.from(int.class, theme),
H A DShadowTimePickerDialog.java22 int theme,
32 ClassParameter.from(int.class, theme),
20 __constructor__( Context context, int theme, TimePickerDialog.OnTimeSetListener callBack, int hourOfDay, int minute, boolean is24HourView) argument
H A DShadowResourcesImpl.java174 public Drawable loadDrawable(Resources wrapper, TypedValue value, int id, Resources.Theme theme, boolean useCache) throws Resources.NotFoundException { argument
179 from(Resources.Theme.class, theme),
188 public Drawable loadDrawable(Resources wrapper, TypedValue value, int id, int density, Resources.Theme theme) { argument
194 from(Resources.Theme.class, theme));
/external/python/cpython2/Lib/idlelib/
H A DColorDelegator.py65 theme = idleConf.CurrentTheme()
67 "COMMENT": idleConf.GetHighlight(theme, "comment"),
68 "KEYWORD": idleConf.GetHighlight(theme, "keyword"),
69 "BUILTIN": idleConf.GetHighlight(theme, "builtin"),
70 "STRING": idleConf.GetHighlight(theme, "string"),
71 "DEFINITION": idleConf.GetHighlight(theme, "definition"),
74 "ERROR": idleConf.GetHighlight(theme, "error"),
76 "hit": idleConf.GetHighlight(theme, "hit"),
H A DconfigHandler.py282 def GetHighlight(self, theme, element, fgBg=None):
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 typ
[all...]
/external/pdfium/xfa/fwl/
H A Dcfwl_form.cpp181 IFWL_ThemeProvider* theme = GetAvailableTheme(); local
182 m_fCXBorder = theme ? theme->GetCXBorderSize() : 0.0f;
183 m_fCYBorder = theme ? theme->GetCYBorderSize() : 0.0f;
H A Dcfwl_edit.cpp31 #include "xfa/fwl/theme/cfwl_utils.h"
98 IFWL_ThemeProvider* theme = GetAvailableTheme(); local
99 float scrollbarWidth = theme ? theme->GetScrollBarWidth() : 0.0f;
626 IFWL_ThemeProvider* theme = GetAvailableTheme(); local
630 if (!theme) {
634 m_fFontSize = theme->GetFontSize(&part);
636 RetainPtr<CFGAS_GEFont> pFont = theme->GetFont(&part);
641 m_EdtEngine.SetFontColor(theme->GetTextColor(&part));
643 m_EdtEngine.SetLineSpace(theme
706 IFWL_ThemeProvider* theme = GetAvailableTheme(); local
841 IFWL_ThemeProvider* theme = GetAvailableTheme(); local
914 IFWL_ThemeProvider* theme = GetAvailableTheme(); local
[all...]
H A Dcfwl_datetimepicker.cpp79 IFWL_ThemeProvider* theme = GetAvailableTheme(); local
80 if (!theme)
83 float fBtn = theme->GetScrollBarWidth();
422 IFWL_ThemeProvider* theme = GetAvailableTheme(); local
423 if (!theme)
426 m_fBtn = theme->GetScrollBarWidth();
/external/replicaisland/src/com/replica/replicaisland/
H A DLevelBuilder.java121 int theme) {
124 switch(theme) {
119 addTileMapLayer(GameObject background, int priority, float scrollSpeed, int width, int height, int tileWidth, int tileHeight, TiledWorld world, int theme) argument
/external/toybox/kconfig/lxdialog/
H A Dutil.c155 * Select color theme
157 static int set_theme(const char *theme) argument
160 if (!theme)
162 else if (strcmp(theme, "classic") == 0)
164 else if (strcmp(theme, "bluetitle") == 0)
166 else if (strcmp(theme, "blackbg") == 0)
168 else if (strcmp(theme, "mono") == 0)
222 static void color_setup(const char *theme) argument
224 if (set_theme(theme)) {
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/
H A DActivityController.java301 // Restore theme in case it was set in the test manually.
304 int theme = shadowOf((ContextThemeWrapper) component).callGetThemeResId();
311 if (theme != 0) {
312 recreatedActivity.setTheme(theme);

Completed in 766 milliseconds

123