Home
last modified time | relevance | path

Searched refs:COLORS (Results 1 – 13 of 13) sorted by relevance

/third_party/gstreamer/gstplugins_good/gst/effectv/
Dgstradioac.c128 #define COLORS 32 macro
133 static guint32 palettes[COLORS * PATTERN];
166 #define DELTA (255/(COLORS/2-1)) in makePalette()
169 for (i = 0; i < COLORS / 2; i++) { in makePalette()
171 palettes[COLORS + i] = (i * DELTA) << 8; in makePalette()
172 palettes[COLORS * 2 + i] = (i * DELTA) << 16; in makePalette()
174 for (i = 0; i < COLORS / 2; i++) { in makePalette()
175 palettes[i + COLORS / 2] = 255 | (i * DELTA) << 16 | (i * DELTA) << 8; in makePalette()
176 palettes[COLORS + i + COLORS / 2] = in makePalette()
178 palettes[COLORS * 2 + i + COLORS / 2] = in makePalette()
[all …]
/third_party/skia/gm/
Dgradients_degenerate.cpp28 static const SkColor COLORS[] = { SK_ColorRED, SK_ColorWHITE, SK_ColorBLUE, variable
31 static const int COLOR_CT = SK_ARRAY_COUNT(COLORS);
94 return SkGradientShader::MakeLinear(pts, COLORS, POS, COLOR_CT, mode); in make_linear()
99 return SkGradientShader::MakeRadial(CENTER, 0.0, COLORS, POS, COLOR_CT, mode); in make_radial()
105 return SkGradientShader::MakeSweep(CENTER.fX, CENTER.fY, COLORS, POS, COLOR_CT, mode, in make_sweep()
111 return SkGradientShader::MakeSweep(CENTER.fX, CENTER.fY, COLORS, POS, COLOR_CT, mode, in make_sweep_zero_ang()
118 COLORS, POS, COLOR_CT, mode); in make_2pt_conic()
123 return SkGradientShader::MakeTwoPointConical(CENTER, 0.0, CENTER, 0.0, COLORS, POS, in make_2pt_conic_zero_rad()
Danalytic_gradients.cpp72 const SkColor COLORS[] = { variable
94 const int COLOR_COUNT = SK_ARRAY_COUNT(COLORS);
168 colors[i] = COLORS[j % COLOR_COUNT]; in onDraw()
/third_party/flutter/skia/gm/
Dgradients_degenerate.cpp27 static const SkColor COLORS[] = { SK_ColorRED, SK_ColorWHITE, SK_ColorBLUE, variable
30 static const int COLOR_CT = SK_ARRAY_COUNT(COLORS);
90 return SkGradientShader::MakeLinear(pts, COLORS, POS, COLOR_CT, mode); in make_linear()
95 return SkGradientShader::MakeRadial(CENTER, 0.0, COLORS, POS, COLOR_CT, mode); in make_radial()
101 return SkGradientShader::MakeSweep(CENTER.fX, CENTER.fY, COLORS, POS, COLOR_CT, mode, in make_sweep()
107 return SkGradientShader::MakeSweep(CENTER.fX, CENTER.fY, COLORS, POS, COLOR_CT, mode, in make_sweep_zero_ang()
114 COLORS, POS, COLOR_CT, mode); in make_2pt_conic()
119 return SkGradientShader::MakeTwoPointConical(CENTER, 0.0, CENTER, 0.0, COLORS, POS, in make_2pt_conic_zero_rad()
Danalytic_gradients.cpp72 const SkColor COLORS[] = { variable
94 const int COLOR_COUNT = SK_ARRAY_COUNT(COLORS);
168 colors[i] = COLORS[j % COLOR_COUNT]; in onDraw()
/third_party/python/Lib/curses/
D__init__.py46 curses.COLORS = _curses.COLORS
/third_party/selinux/libselinux/src/
Dfile_path_suffixes.h28 S_(COLORS, "/secolor.conf")
Dselinux_config.c44 #define COLORS 20 macro
427 return get_path(COLORS); in selinux_colors_path()
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
DCalendarFrame.java139 monthLabel[i] = new ColoredLabel("", COLORS[i]); in init()
246 calendarPanel.setColor(i, COLORS[i]); in init()
442 static final Color[] COLORS = { Color.blue, Color.black }; field in CalendarFrame
/third_party/python/Lib/test/
Dtest_curses.py861 return (-1, curses.COLORS, -2**31 - 1, 2**31, -2**63 - 1, 2**63, 2**64)
864 return (curses.COLORS, 2**31, 2**63, 2**64)
885 maxcolor = curses.COLORS - 1
907 maxcolor = curses.COLORS - 1
925 pair_limit += 2*curses.COLORS + 1
959 maxcolor = curses.COLORS - 1
/third_party/python/Modules/
D_cursesmodule.c412 if (overflow > 0 || color_number >= COLORS) { in color_allow_default_converter()
415 COLORS - 1); in color_allow_default_converter()
4208 c = PyLong_FromLong((long) COLORS); in _curses_start_color_impl()
/third_party/python/Doc/library/
Dcurses.rst115 *color_number*, which must be between ``0`` and ``COLORS - 1``. Return a 3-tuple,
295 `COLORS - 1`. Each of *r*, *g*, *b*, must be a value between ``0`` and
308 ``COLORS - 1``, or, after calling :func:`use_default_colors`, ``-1``.
579 module, :const:`COLORS` and :const:`COLOR_PAIRS`, containing the maximum number
/third_party/python/Doc/howto/
Dlogging-cookbook.rst2899 COLORS = {
2976 color = self.COLORS.get(record.levelno, 'black')