| /third_party/node/deps/npm/node_modules/gauge/lib/ |
| D | index.js | 50 this._theme = options.theme 51 var theme = this._computeTheme(options.theme) 60 this._gauge = new PlumbingClass(theme, template, this.getWidth()) 87 Gauge.prototype._computeTheme = function (theme) { argument 88 if (!theme) { 89 theme = {} 91 if (typeof theme === 'string') { 92 theme = this._themes.getTheme(theme) 94 Object.keys(theme).length === 0 || theme.hasUnicode != null || theme.hasColor != null 96 var useUnicode = theme.hasUnicode == null ? hasUnicode() : theme.hasUnicode [all …]
|
| D | theme-set.js | 9 ThemeSetProto.baseTheme = require('./base-theme.js') 11 ThemeSetProto.newTheme = function (parent, theme) { argument 12 if (!theme) { 13 theme = parent 16 return Object.assign({}, parent, theme) 23 ThemeSetProto.addTheme = function (name, parent, theme) { argument 24 this.themes[name] = this.newTheme(parent, theme) 27 ThemeSetProto.addToAllThemes = function (theme) { argument 30 Object.assign(themes[name], theme) 32 Object.assign(this.baseTheme, theme) [all …]
|
| D | plumbing.js | 6 var Plumbing = module.exports = function (theme, template, width) { 10 validate('OAN', [theme, template, width]) 12 this.theme = theme 18 Plumbing.prototype.setTheme = function (theme) { argument 19 validate('O', [theme]) 20 this.theme = theme 42 var values = Object.create(this.theme)
|
| D | progress-bar.js | 7 module.exports = function (theme, width, completed) { argument 8 validate('ONN', [theme, width, completed]) 21 { type: 'complete', value: repeat(theme.complete, sofar), length: sofar }, 22 { type: 'remaining', value: repeat(theme.remaining, rest), length: rest }, 24 return renderTemplate(width, template, theme)
|
| D | base-theme.js | 6 activityIndicator: function (values, theme, width) { argument 10 return spin(theme, values.spun) 12 progressbar: function (values, theme, width) { argument 16 return progressBar(theme, width, values.completed)
|
| /third_party/python/Lib/tkinter/test/test_ttk/ |
| D | test_style.py | 111 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 …]
|
| /third_party/vk-gl-cts/android/openglcts/ |
| D | AndroidManifest.xml | 10 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"
|
| /third_party/python/Lib/idlelib/ |
| D | configdialog.py | 75 # Each theme element key is its display name. 475 concerned. Any theme can be used as the base for a new custom 476 theme, stored in .idlerc/config-highlight.cfg. 478 Function load_theme_cfg() initializes tk variables and theme 480 for the current theme. Radiobuttons builtin_theme_on and 482 current set of colors are from a builtin or custom theme. 487 Function paint_theme_sample() applies the colors from the theme 500 paint_theme_sample() (theme is changed or load_cfg is called), and 504 a custom theme from idleConf.userCfg['highlight'] and changes. 506 get_new_theme_name() and create_new() to save a custom theme [all …]
|
| D | colorizer.py | 88 theme = idleConf.CurrentTheme() 89 normal_colors = idleConf.GetHighlight(theme, 'normal') 90 cursor_color = idleConf.GetHighlight(theme, 'cursor')['foreground'] 91 select_colors = idleConf.GetHighlight(theme, 'hilite') 163 theme = idleConf.CurrentTheme() 165 "COMMENT": idleConf.GetHighlight(theme, "comment"), 166 "KEYWORD": idleConf.GetHighlight(theme, "keyword"), 167 "BUILTIN": idleConf.GetHighlight(theme, "builtin"), 168 "STRING": idleConf.GetHighlight(theme, "string"), 169 "DEFINITION": idleConf.GetHighlight(theme, "definition"), [all …]
|
| D | config.py | 274 def GetHighlight(self, theme, element): argument 275 """Return dict of theme element highlight colors. 280 cfg = ('default' if self.defaultCfg['highlight'].has_section(theme) 282 theme_dict = self.GetThemeDict(cfg, theme) 292 type - string, 'default' or 'user' theme type 293 themeName - string, theme name 295 that all theme elements are present in a newly created theme. 302 raise InvalidTheme('Invalid theme type specified') 303 # Provide foreground and background colors for each theme 307 # TODO copy theme from a class attribute. [all …]
|
| /third_party/node/deps/npm/node_modules/@colors/colors/lib/ |
| D | extendStringPrototype.js | 53 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') { 99 'If you are trying to set a theme from a file, it is now your (the ' + 107 applyTheme(theme);
|
| D | colors.js | 147 colors.setTheme = function(theme) { argument 148 if (typeof theme === 'string') { 150 'If you are trying to set a theme from a file, it is now your (the ' + 158 for (var style in theme) { 161 if (typeof theme[style] === 'object') { 163 for (var i in theme[style]) { 164 out = colors[theme[style][i]](out); 168 return colors[theme[style]](str);
|
| /third_party/typescript/tests/baselines/reference/ |
| D | controlFlowCaching.types | 23 var o = this.opt, ta = this.chart.theme.axis, position = o.position, 29 >this.chart.theme.axis : any 30 >this.chart.theme : any 34 >theme : any 66 labelGap = this.chart.theme.axis.tick.labelGap, 68 >this.chart.theme.axis.tick.labelGap : any 69 >this.chart.theme.axis.tick : any 70 >this.chart.theme.axis : any 71 >this.chart.theme : any 75 >theme : any [all …]
|
| D | importUsedInGenericImportResolves.symbols | 12 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))
|
| D | controlFlowCaching.js | 7 var o = this.opt, ta = this.chart.theme.axis, position = o.position, 10 labelGap = this.chart.theme.axis.tick.labelGap, 17 taMajorTick = this.chart.theme.getTick("major", o), 18 taMinorTick = this.chart.theme.getTick("minor", o), 19 taMicroTick = this.chart.theme.getTick("micro", o), 75 …theme.axis, position = o.position, leftBottom = position !== "rightOrTop", rotation = o.rotation %…
|
| D | importUsedInGenericImportResolves.types | 8 export declare const theme: { a: string } 9 >theme : { a: string; } 13 export const a: import("./test1").T<typeof import("./test2").theme> = null as any; 15 >theme : error
|
| /third_party/typescript/tests/arkTSTest/testcase/arkts-no-as-const/ |
| D | arkts-no-as-const-5-ok.ets | 18 theme: Theme = new Theme() 21 class Theme { 27 theme: {
|
| /third_party/python/Lib/idlelib/idle_test/ |
| D | test_config.py | 345 ['General', 'EditorWindow', 'PyShell', 'Indent', 'Theme', 349 ['General', 'EditorWindow', 'PyShell', 'Indent', 'Theme', 390 self.assertEqual(conf.CurrentTheme(), conf.current_colors_and_keys('Theme')) 396 self.assertEqual(conf.current_colors_and_keys('Theme'), 'IDLE Classic') 590 """ Test colorkeys function with user config [Theme] and [Keys] patterns. 602 self.assertEqual(self.colorkeys('Theme'), self.default_theme) 605 [Theme] 608 # IDLE omits 'name' for default old builtin theme. 609 self.assertEqual(self.colorkeys('Theme'), self.default_theme) 610 # IDLE adds 'name' for non-default old builtin theme. [all …]
|
| D | test_configdialog.py | 303 # Use builtin theme with no user themes created. 315 # Builtin theme with non-empty user theme list. 325 # Use custom theme. 327 idleConf.SetOption('main', 'Theme', 'default', '0') 347 eq(mainpage, {'Theme': {'default': 'True'}}) 355 self.assertEqual(mainpage, {'Theme': {'default': 'False'}}) 366 idleConf.SetOption('main', 'Theme', 'name', 'spam') 368 eq(mainpage, {'Theme': {'name': 'IDLE Classic', 370 eq(d.theme_message['text'], 'New theme, see Help') 375 idleConf.SetOption('main', 'Theme', 'name', 'IDLE New') [all …]
|
| /third_party/vk-gl-cts/android/package/ |
| D | AndroidManifest.xml | 9 android:theme="@android:style/Theme.NoTitleBar.Fullscreen" 15 android:theme="@android:style/Theme.NoDisplay" 25 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
|
| D | AndroidManifest-integration.xml | 10 android:theme="@android:style/Theme.NoTitleBar.Fullscreen" 16 android:theme="@android:style/Theme.NoDisplay" 26 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
|
| /third_party/typescript/tests/cases/compiler/ |
| D | controlFlowCaching.ts | 8 var o = this.opt, ta = this.chart.theme.axis, position = o.position, 11 labelGap = this.chart.theme.axis.tick.labelGap, 18 taMajorTick = this.chart.theme.getTick("major", o), 19 taMinorTick = this.chart.theme.getTick("minor", o), 20 taMicroTick = this.chart.theme.getTick("micro", o),
|
| /third_party/mbedtls/docs/ |
| D | requirements.txt | 23 # sphinx-rtd-theme 59 # sphinx-rtd-theme 60 sphinx-rtd-theme==1.2.0 69 # via sphinx-rtd-theme
|
| /third_party/skia/third_party/externals/oboe/samples/LiveEffect/src/main/res/values/ |
| D | styles.xml | 3 <!-- Base application theme. --> 4 <style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar"> 5 <!-- Customize your theme here. -->
|
| /third_party/skia/third_party/externals/oboe/samples/hello-oboe/src/main/res/values/ |
| D | styles.xml | 3 <!-- Base application theme. --> 4 <style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar"> 5 <!-- Customize your theme here. -->
|