HomeSort by relevance Sort by last modified time
    Searched refs:color (Results 51 - 75 of 4337) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/skqp/include/utils/
SkShadowUtils.h 34 * @param ambientColor The color of the ambient shadow.
35 * @param spotColor The color of the spot shadow.
45 * Deprecated version that uses one color and two alphas, and supports tonal color.
60 * @param color The shadow color.
66 SkScalar spotAlpha, SkColor color,
71 ambientColor = SkColorSetARGB(ambientAlpha*SkColorGetA(color), SkColorGetR(color),
72 SkColorGetG(color), SkColorGetB(color))
    [all...]
  /frameworks/wilhelm/src/itf/
ILEDArray.cpp 63 SLHSL color = *pColor; local
64 if (!(0 <= color.hue && color.hue <= 360000))
66 if (!(0 <= color.saturation && color.saturation <= 1000))
68 if (!(0 <= color.lightness && color.lightness <= 1000))
73 thiz->mColors[index] = color;
92 SLHSL color = thiz->mColors[index]; local
94 *pColor = color;
114 SLHSL *color = thiz->mColors; local
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
Shape.java 19 private Color color; field in class:Shape
32 public void setColor(Color color) {
33 this.color = color;
44 public Color getColor() {
45 return color;
  /packages/apps/Launcher3/src/com/android/launcher3/graphics/
BitmapInfo.java 25 public int color; field in class:BitmapInfo
29 info.iconColor = color;
34 info.color = color;
40 info.color = ColorExtractor.findDominantColorByHue(bitmap);
  /prebuilts/go/darwin-x86/src/image/
names.go 8 "image/color"
13 Black = NewUniform(color.Black)
15 White = NewUniform(color.White)
17 Transparent = NewUniform(color.Transparent)
19 Opaque = NewUniform(color.Opaque)
22 // Uniform is an infinite-sized Image of uniform color.
23 // It implements the color.Color, color.Model, and Image interfaces.
25 C color.Colo
    [all...]
  /prebuilts/go/linux-x86/src/image/
names.go 8 "image/color"
13 Black = NewUniform(color.Black)
15 White = NewUniform(color.White)
17 Transparent = NewUniform(color.Transparent)
19 Opaque = NewUniform(color.Opaque)
22 // Uniform is an infinite-sized Image of uniform color.
23 // It implements the color.Color, color.Model, and Image interfaces.
25 C color.Colo
    [all...]
  /external/ImageMagick/tests/
drawtest.c 73 *color;
76 color=NewPixelWand();
84 (void) PixelSetColor(color,"#ffffff");
85 DrawSetFillColor(picasso,color);
88 (void) PixelSetColor(color,"none");
89 DrawSetFillColor(picasso,color);
90 DrawSetStrokeColor(picasso,color);
118 (void) PixelSetColor(color,"#ff0000");
119 DrawSetStrokeColor(picasso,color);
121 (void) PixelSetColor(color,"#ff00ff")
72 *color; local
    [all...]
  /external/valgrind/docs/html/
vg_basic.css 2 a, a:link, a:visited, a:active { color: #74240f; }
3 a:hover { color: #888800; }
6 color: #202020;
7 background-color: #ffffff;
16 h1, h2, h3, h4 { color: #74240f; }
19 code, tt { color: #761596; }
21 color: #761596;
26 pre { color: #3366cc; }
28 color: #000000;
34 color: #000000
    [all...]
  /external/valgrind/docs/lib/
vg_basic.css 2 a, a:link, a:visited, a:active { color: #74240f; }
3 a:hover { color: #888800; }
6 color: #202020;
7 background-color: #ffffff;
16 h1, h2, h3, h4 { color: #74240f; }
19 code, tt { color: #761596; }
21 color: #761596;
26 pre { color: #3366cc; }
28 color: #000000;
34 color: #000000
    [all...]
  /frameworks/base/graphics/java/android/graphics/
Color.java 39 * <p>The <code>Color</code> class provides methods for creating, converting and
42 * <li>Color ints, the most common representation</li>
43 * <li>Color longs</li>
44 * <li><code>Color</code> instances</li>
48 * <h3>Color ints</h3>
49 * <p>Color ints are the most common representation of colors on Android and
52 * <p>A color int always defines a color in the {@link ColorSpace.Named#SRGB sRGB}
53 * color space using 4 components packed in a single 32 bit integer value:</p>
55 * <table summary="Color int definition"
453 float[] color = new float[] { local
476 float[] color = new float[] { local
1386 long color = Long.parseLong(colorString.substring(1), 16); local
1395 Integer color = sColorNameMap.get(colorString.toLowerCase(Locale.ROOT)); local
    [all...]
  /external/clang/test/Index/
complete-type-factors.m 3 enum Color {
12 int func1(enum Color);
15 enum Priority test1(enum Priority priority, enum Color color, int integer) {
17 enum Color c = color;
20 void (^block)(enum Color, int);
22 c = color;
26 + (void)method:(enum Color)color priority:(enum Priority)priority
    [all...]
  /frameworks/base/core/tests/coretests/src/android/graphics/
ColorStateListTest.java 39 mFailureColor = mResources.getColor(R.color.failColor);
44 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1);
46 int focusColor = colorStateList.getColorForState(focusedState, R.color.failColor);
47 assertEquals(mResources.getColor(R.color.testcolor1), focusColor);
52 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1);
55 assertEquals(mResources.getColor(R.color.testcolor2), defaultColor);
60 int defaultColor = mResources.getColor(R.color.color1);
61 assertEquals(mResources.getColor(R.color.testcolor2), defaultColor);
66 int defaultColor = mResources.getColor(R.color.color_no_default);
67 assertEquals(mResources.getColor(R.color.testcolor1), defaultColor)
    [all...]
  /frameworks/base/libs/hwui/
FloatColor.h 19 #include "utils/Color.h"
29 // "color" is a gamma-encoded sRGB color
30 // After calling this method, the color is stored as a pre-multiplied linear color
31 // if linear blending is enabled. Otherwise, the color is stored as a pre-multiplied
32 // gamma-encoded sRGB color
33 void set(uint32_t color) {
34 a = ((color >> 24) & 0xff) / 255.0f;
35 r = a * EOCF(((color >> 16) & 0xff) / 255.0f)
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
BaseActivity.java 32 * Base activity class that changes the app window's color based on the current hour.
36 /** Sets the app window color on each frame of the {@link #mAppColorAnimator}. */
40 /** The current animator that is changing the app window color or {@code null}. */
43 /** Draws the app window's color. */
56 final @ColorInt int color = ThemeUtils.resolveColor(this, android.R.attr.windowBackground); local
57 adjustAppColor(color, false /* animate */);
64 // Ensure the app window color is up-to-date.
65 final @ColorInt int color = ThemeUtils.resolveColor(this, android.R.attr.windowBackground); local
66 adjustAppColor(color, false /* animate */);
70 * Adjusts the current app window color of this activity; animates the change if desired
112 final @ColorInt int color = (int) valueAnimator.getAnimatedValue(); local
    [all...]
  /frameworks/base/core/java/com/android/internal/graphics/palette/
ColorCutQuantizer.java 35 import android.graphics.Color;
52 * An color quantizer based on the Median-cut algorithm, but optimized for picking out distinct
55 * The color space is represented as a 3-dimensional cube with each dimension being an RGB
56 * component. The cube is then repeatedly divided until we have reduced the color space to the
57 * requested number of colors. An average color is then generated from each cube.
60 * have roughly the same population, where this quantizer divides boxes based on their color volume.
61 * This means that the color space is divided into distinct colors, rather than representative
85 * Execute color quantization.
110 for (int color = 0; color < hist.length; color++)
276 final int color = colors[i]; local
400 final int color = colors[i]; local
432 final int color = a[i]; local
441 final int color = a[i]; local
    [all...]
  /frameworks/support/palette/src/main/java/androidx/palette/graphics/
ColorCutQuantizer.java 19 import android.graphics.Color;
33 * An color quantizer based on the Median-cut algorithm, but optimized for picking out distinct
36 * The color space is represented as a 3-dimensional cube with each dimension being an RGB
37 * component. The cube is then repeatedly divided until we have reduced the color space to the
38 * requested number of colors. An average color is then generated from each cube.
41 * have roughly the same population, where this quantizer divides boxes based on their color volume.
42 * This means that the color space is divided into distinct colors, rather than representative
92 for (int color = 0; color < hist.length; color++)
259 final int color = colors[i]; local
383 final int color = colors[i]; local
415 final int color = a[i]; local
424 final int color = a[i]; local
    [all...]
  /external/python/cpython2/Lib/lib-tk/
tkColorChooser.py 1 # tk common color chooser dialogue
3 # this module provides an interface to the native color dialogue
14 # - initialcolor: color to mark as selected when dialog is displayed
15 # (given as an RGB triplet or a Tk color string)
26 # color chooser class
29 "Ask for a color"
35 # make sure initialcolor is a tk color string
36 color = self.options["initialcolor"]
37 if isinstance(color, tuple):
39 self.options["initialcolor"] = "#%02x%02x%02x" % color
    [all...]
  /external/python/cpython3/Lib/tkinter/
colorchooser.py 1 # tk common color chooser dialogue
3 # this module provides an interface to the native color dialogue
14 # - initialcolor: color to mark as selected when dialog is displayed
15 # (given as an RGB triplet or a Tk color string)
26 # color chooser class
29 "Ask for a color"
35 # make sure initialcolor is a tk color string
36 color = self.options["initialcolor"]
37 if isinstance(color, tuple):
39 self.options["initialcolor"] = "#%02x%02x%02x" % color
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/lib-tk/
tkColorChooser.py 3 # this module provides an interface to the native color dialogue
15 # (given as an RGB triplet or a Tk color string)
26 # color chooser class
29 "Ask for a color"
35 # make sure initialcolor is a tk color string
36 color = self.options["initialcolor"]
37 if isinstance(color, tuple):
39 self.options["initialcolor"] = "#%02x%02x%02x" % color
49 # to simplify application code, the color chooser returns
50 # an RGB tuple together with the Tk color strin
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/lib-tk/
tkColorChooser.py 3 # this module provides an interface to the native color dialogue
15 # (given as an RGB triplet or a Tk color string)
26 # color chooser class
29 "Ask for a color"
35 # make sure initialcolor is a tk color string
36 color = self.options["initialcolor"]
37 if isinstance(color, tuple):
39 self.options["initialcolor"] = "#%02x%02x%02x" % color
49 # to simplify application code, the color chooser returns
50 # an RGB tuple together with the Tk color strin
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/vet/internal/whitelist/
whitelist.go 11 // These image and image/color struct types are frozen. We will never add fields to them.
12 "image/color.Alpha16": true,
13 "image/color.Alpha": true,
14 "image/color.CMYK": true,
15 "image/color.Gray16": true,
16 "image/color.Gray": true,
17 "image/color.NRGBA64": true,
18 "image/color.NRGBA": true,
19 "image/color.NYCbCrA": true,
20 "image/color.RGBA64": true
    [all...]
  /prebuilts/go/linux-x86/src/cmd/vet/internal/whitelist/
whitelist.go 11 // These image and image/color struct types are frozen. We will never add fields to them.
12 "image/color.Alpha16": true,
13 "image/color.Alpha": true,
14 "image/color.CMYK": true,
15 "image/color.Gray16": true,
16 "image/color.Gray": true,
17 "image/color.NRGBA64": true,
18 "image/color.NRGBA": true,
19 "image/color.NYCbCrA": true,
20 "image/color.RGBA64": true
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/
tkColorChooser.py 3 # this module provides an interface to the native color dialogue
15 # (given as an RGB triplet or a Tk color string)
26 # color chooser class
29 "Ask for a color"
35 # make sure initialcolor is a tk color string
36 color = self.options["initialcolor"]
37 if isinstance(color, tuple):
39 self.options["initialcolor"] = "#%02x%02x%02x" % color
49 # to simplify application code, the color chooser returns
50 # an RGB tuple together with the Tk color strin
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/
tkColorChooser.py 3 # this module provides an interface to the native color dialogue
15 # (given as an RGB triplet or a Tk color string)
26 # color chooser class
29 "Ask for a color"
35 # make sure initialcolor is a tk color string
36 color = self.options["initialcolor"]
37 if isinstance(color, tuple):
39 self.options["initialcolor"] = "#%02x%02x%02x" % color
49 # to simplify application code, the color chooser returns
50 # an RGB tuple together with the Tk color strin
    [all...]
  /external/ltp/testcases/lib/
tst_ansi_color.sh 51 local color=$?
53 [ "$color" = "1" ] && tst_flag2color "$1"
55 [ "$color" = "1" ] && printf '\033[0m'

Completed in 346 milliseconds

1 23 4 5 6 7 8 91011>>