Home
last modified time | relevance | path

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

/external/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()
/external/skqp/gm/
Dgradients_degenerate.cpp15 static const SkColor COLORS[] = { SK_ColorRED, SK_ColorWHITE, SK_ColorBLUE, variable
18 static const int COLOR_CT = SK_ARRAY_COUNT(COLORS);
78 return SkGradientShader::MakeLinear(pts, COLORS, POS, COLOR_CT, mode); in make_linear()
83 return SkGradientShader::MakeRadial(CENTER, 0.0, COLORS, POS, COLOR_CT, mode); in make_radial()
89 return SkGradientShader::MakeSweep(CENTER.fX, CENTER.fY, COLORS, POS, COLOR_CT, mode, in make_sweep()
95 return SkGradientShader::MakeSweep(CENTER.fX, CENTER.fY, COLORS, POS, COLOR_CT, mode, in make_sweep_zero_ang()
102 COLORS, POS, COLOR_CT, mode); in make_2pt_conic()
107 return SkGradientShader::MakeTwoPointConical(CENTER, 0.0, CENTER, 0.0, COLORS, POS, in make_2pt_conic_zero_rad()
Danalytic_gradients.cpp60 const SkColor COLORS[] = { variable
82 const int COLOR_COUNT = SK_ARRAY_COUNT(COLORS);
156 colors[i] = COLORS[j % COLOR_COUNT]; in onDraw()
/external/rust/crates/plotters/src/style/
Dpalette.rs4 const COLORS: &'static [(u8, u8, u8)]; constant
21 const COLORS: &'static [(u8, u8, u8)] = &[ constant
47 const COLORS: &'static [(u8, u8, u8)] = &[ constant
61 const COLORS: &'static [(u8, u8, u8)] = constant
Dcolor.rs75 PaletteColor(idx % P::COLORS.len(), PhantomData) in pick()
83 rgb: P::COLORS[self.0], in color()
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/
DDynamicActivity.kt12 private val COLORS = arrayOf( in <lambda>() constant
38 colorIndex = (colorIndex + 1) % COLORS.size in <lambda>()
69 animationView.addValueCallback(shirt, LottieProperty.COLOR) { COLORS[colorIndex] } in <lambda>()
70 animationView.addValueCallback(leftArm, LottieProperty.COLOR) { COLORS[colorIndex] } in <lambda>()
71 animationView.addValueCallback(rightArm, LottieProperty.COLOR) { COLORS[colorIndex] } in <lambda>()
/external/python/cpython2/Lib/curses/
D__init__.py49 curses.COLORS = _curses.COLORS
/external/python/cpython3/Lib/curses/
D__init__.py46 curses.COLORS = _curses.COLORS
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/tracking/
DMultiBoxTracker.java61 private static final int[] COLORS = { field in MultiBoxTracker
99 for (final int color : COLORS) { in MultiBoxTracker()
288 trackedRecognition.color = COLORS[trackedObjects.size()]; in processResults()
291 if (trackedObjects.size() >= COLORS.length) { in processResults()
/external/selinux/libselinux/src/
Dfile_path_suffixes.h24 S_(COLORS, "/secolor.conf")
Dselinux_config.c44 #define COLORS 20 macro
442 return get_path(COLORS); in hidden_def()
/external/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
/external/ImageMagick/config/
DImageMagick.rc52 COLORS.XML IMAGEMAGICK DISCARDABLE "..\\bin\\colors.xml"
/external/python/cpython2/Doc/library/
Dcurses.rst107 *color_number*, which must be between ``0`` and :const:`COLORS`. A 3-tuple is
273 :const:`COLORS`. Each of *r*, *g*, *b*, must be a value between ``0`` and
286 :const:`COLORS`. If the color-pair was previously initialized, the screen is
529 module, :const:`COLORS` and :const:`COLOR_PAIRS`, containing the maximum number
/external/python/cffi/demo/
D_curses.py1019 globals()["COLORS"] = lib.COLORS
/external/python/cpython3/Doc/library/
Dcurses.rst115 *color_number*, which must be between ``0`` and :const:`COLORS`. Return a 3-tuple,
281 :const:`COLORS`. Each of *r*, *g*, *b*, must be a value between ``0`` and
294 :const:`COLORS`. If the color-pair was previously initialized, the screen is
564 module, :const:`COLORS` and :const:`COLOR_PAIRS`, containing the maximum number
/external/flac/man/
Dmetaflac.sgml317 <para>[TYPE]|[MIME-TYPE]|[DESCRIPTION]|[WIDTHxHEIGHTxDEPTH[/COLORS]]|FILE</para>
Dflac.sgml391 <para>[TYPE]|[MIME-TYPE]|[DESCRIPTION]|[WIDTHxHEIGHTxDEPTH[/COLORS]]|FILE</para>
/external/python/cpython3/Modules/
D_cursesmodule.c4049 c = PyLong_FromLong((long) COLORS); in _curses_start_color_impl()
/external/python/cpython2/Modules/
D_cursesmodule.c2500 c = PyInt_FromLong((long) COLORS); in PyCurses_Start_Color()
/external/python/cpython3/Doc/howto/
Dlogging-cookbook.rst2877 COLORS = {
2954 color = self.COLORS.get(record.levelno, 'black')