HomeSort by relevance Sort by last modified time
    Searched full:colors (Results 1 - 25 of 2849) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/parameter-framework/upstream/test/xml-generator/PFConfig/
criteria.txt 1 InclusiveCriterion Colors : Red Green Blue
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/values/
GradientColorValue.java 11 private float[] colors = {1, 1, 1}; field in class:GradientColorValue
23 return colors;
26 public void setColors (float[] colors) {
27 this.colors = colors;
49 float r1 = colors[startIndex];
50 float g1 = colors[startIndex + 1];
51 float b1 = colors[startIndex + 2];
60 out[index] = r1 + (colors[endIndex] - r1) * factor;
61 out[index+1] = g1 + (colors[endIndex + 1] - g1) * factor
    [all...]
  /external/ImageMagick/tests/
input_bilevel.miff 2 class=PseudoClass colors=2 matte=False
  /external/skia/src/opts/
SkBitmapProcState_opts_SSSE3.h 15 int count, uint32_t* colors);
18 int count, uint32_t* colors);
21 int count, uint32_t* colors);
24 int count, uint32_t* colors);
  /external/skia/gm/
verylargebitmap.cpp 15 static void draw(SkCanvas* canvas, int width, int height, SkColor colors[2]) {
18 SkShader* shader = SkGradientShader::CreateRadial(center, radius, colors, nullptr, 2,
26 static SkImage* make_raster_image(int width, int height, SkColor colors[2]) {
28 draw(surface->getCanvas(), width, height, colors);
32 static SkImage* make_picture_image(int width, int height, SkColor colors[2]) {
34 draw(recorder.beginRecording(SkRect::MakeIWH(width, height)), width, height, colors);
40 typedef SkImage* (*ImageMakerProc)(int width, int height, SkColor colors[2]);
42 static void show_image(SkCanvas* canvas, int width, int height, SkColor colors[2],
44 SkAutoTUnref<SkImage> image(proc(width, height, colors));
95 SkColor colors[2] variable
    [all...]
shallowgradient.cpp 13 static SkShader* shader_linear(const SkColor colors[], int count, const SkSize& size) {
15 return SkGradientShader::CreateLinear(pts, colors, nullptr, count,
19 static SkShader* shader_radial(const SkColor colors[], int count, const SkSize& size) {
21 return SkGradientShader::CreateRadial(center, size.width()/2, colors, nullptr, count,
25 static SkShader* shader_conical(const SkColor colors[], int count, const SkSize& size) {
29 colors, nullptr, count,
33 static SkShader* shader_sweep(const SkColor colors[], int count, const SkSize& size) {
35 colors, nullptr, count);
57 const SkColor colors[] = { sk_tool_utils::color_to_565(0xFF555555), variable
59 const int colorCount = SK_ARRAY_COUNT(colors);
    [all...]
  /external/skia/include/core/
SkColorTable.h 20 SkColorTable holds an array SkPMColors (premultiplied 32-bit colors) used by
27 /** Copy up to 256 colors into a new SkColorTable.
29 SkColorTable(const SkPMColor colors[], int count);
32 /** Returns the number of colors in the table.
44 /** Return the array of colors for reading.
48 /** read16BitCache() returns the array of RGB16 colors that mirror the 32bit colors.
61 // assumes ownership of colors (assumes it was allocated w/ malloc)
62 SkColorTable(SkPMColor* colors, int count, AllocatedWithMalloc);
68 void init(const SkPMColor* colors, int count)
    [all...]
SkBlitRow.h 19 //! If set, the src colors may have alpha != 255
21 //! If set, the resulting 16bit colors should be dithered
26 a corresponding scanline of 16bit colors (specific format based on the
31 @param alpha A global alpha to be applied to all of the src colors
41 * Function pointer that blends a single src color onto a scaline of dst colors.
57 /** Function pointer that blends 32bit colors onto a 32bit destination.
58 @param dst array of dst 32bit colors
59 @param src array of src 32bit colors (w/ or w/o alpha)
60 @param count number of colors to blend
61 @param alpha global alpha to be applied to all src colors
    [all...]
  /external/skia/include/effects/
SkGradientShader.h 21 /** By default gradients will interpolate their colors in unpremul space
23 * gradients will premultiply their colors first, and then interpolate
36 @param colors The array[count] of colors, to be distributed between the two points
38 each corresponding color in the colors array. If this is NULL,
39 the the colors are distributed evenly between the start and end point.
42 @param count Must be >=2. The number of colors (and pos if not NULL) entries.
46 const SkColor colors[], const SkScalar pos[], int count,
51 const SkColor colors[], const SkScalar pos[], int count,
53 return CreateLinear(pts, colors, pos, count, mode, 0, NULL)
    [all...]
  /external/parameter-framework/upstream/test/xml-generator/testVector/
second.pfw 2 Colors Includes Red
10 Colors Includes Blue
23 Colors Includes Green
complex.pfw 4 Colors Includes Red
19 Colors Includes Green
30 Colors Includes Green
33 Colors Includes Blue
reference.xml 66 <SelectionCriterionRule SelectionCriterion="Colors" MatchesWhen="Includes" Value="Red"/>
67 <SelectionCriterionRule SelectionCriterion="Colors" MatchesWhen="Includes" Value="Blue"/>
68 <SelectionCriterionRule SelectionCriterion="Colors" MatchesWhen="Includes" Value="Green"/>
74 <SelectionCriterionRule SelectionCriterion="Colors" MatchesWhen="Includes" Value="Red"/>
75 <SelectionCriterionRule SelectionCriterion="Colors" MatchesWhen="Includes" Value="Blue"/>
76 <SelectionCriterionRule SelectionCriterion="Colors" MatchesWhen="Includes" Value="Green"/>
82 <SelectionCriterionRule SelectionCriterion="Colors" MatchesWhen="Includes" Value="Red"/>
83 <SelectionCriterionRule SelectionCriterion="Colors" MatchesWhen="Includes" Value="Blue"/>
122 <SelectionCriterionRule SelectionCriterion="Colors" MatchesWhen="Includes" Value="Red"/>
123 <SelectionCriterionRule SelectionCriterion="Colors" MatchesWhen="Includes" Value="Blue"/
    [all...]
first.pfw 2 Colors Includes Red
6 Colors Includes Blue
9 Colors Includes Green
  /external/skia/src/core/
SkBitmapProcState_sample.h 13 int count, SkPMColor* SK_RESTRICT colors);
16 int count, SkPMColor* SK_RESTRICT colors);
19 int count, SkPMColor* SK_RESTRICT colors);
22 int count, SkPMColor* SK_RESTRICT colors);
26 int count, SkPMColor* SK_RESTRICT colors) {
27 SkASSERT(count > 0 && colors != nullptr);
45 *colors++ = RETURNDST(src);
51 *colors++ = RETURNDST(src);
58 *colors++ = RETURNDST(src);
68 int count, SkPMColor* SK_RESTRICT colors) {
    [all...]
SkColorTable.cpp 16 void SkColorTable::init(const SkPMColor colors[], int count) {
22 memcpy(fColors, colors, count * sizeof(SkPMColor));
25 SkColorTable::SkColorTable(const SkPMColor colors[], int count) {
26 SkASSERT(0 == count || colors);
32 this->init(colors, count);
35 SkColorTable::SkColorTable(SkPMColor* colors, int count, AllocatedWithMalloc)
36 : fColors(colors)
40 SkASSERT(colors);
105 SkAutoTDelete<SkPMColor> colors((SkPMColor*)sk_malloc_throw(allocSize));
106 if (!buffer.readColorArray(colors, count))
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/selectcalendars/
CalendarColorCache.java 21 import android.provider.CalendarContract.Colors;
29 * of the accounts which contain optional calendar colors, and thus should allow for the
30 * user to choose calendar colors.
43 private static String[] PROJECTION = new String[] {Colors.ACCOUNT_NAME, Colors.ACCOUNT_TYPE };
46 * Interface which provides callback after provider query of calendar colors.
51 * Callback after the set of accounts with additional calendar colors are loaded.
77 mService.startQuery(0, null, Colors.CONTENT_URI, PROJECTION,
78 Colors.COLOR_TYPE + "=" + Colors.TYPE_CALENDAR, null, null)
    [all...]
  /external/clang/test/SemaTemplate/
instantiate-non-dependent-types.cpp 25 // expected-error@+1 {{no member named '~Colors' in 'Colors'}}
28 // expected-error@+1 {{no member named '~Colors' in 'Q'}}
41 enum Colors {red, green, blue};
44 C<Q, Colors> dummyColors;
49 // expected-note@+1 {{in instantiation of member function 'C<Q, Colors>::f' requested here}}
  /external/opencv3/samples/python2/
kmeans.py 25 colors = np.zeros((1, cluster_n, 3), np.uint8) variable
26 colors[0,:] = 255
27 colors[0,:,0] = np.arange(0, 180, 180.0/cluster_n)
28 colors = cv2.cvtColor(colors, cv2.COLOR_HSV2BGR)[0] variable
39 c = map(int, colors[label])
  /external/selinux/policycoreutils/mcstrans/share/util/
mlscolor-test 26 rc, colors = selinux_raw_context_to_color(raw)
28 print "Unable to get colors for '%s'" % (context)
31 colors = colors.rstrip()
32 if colors != expected:
33 print "For '%s' got\n\t'%s' expected\n\t'%s'" % (context, colors, expected)
  /external/skia/include/c/
sk_shader.h 32 @param colors The array[count] of colors, to be distributed between
36 in the colors array. If this is NULL, the the
37 colors are distributed evenly between the start
41 @param colorCount Must be >=2. The number of colors (and pos if not
46 const sk_color_t colors[],
60 @param colors The array[count] of colors, to be distributed
63 position of each corresponding color in the colors
64 array. If this is NULL, the the colors ar
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
SweepGradientTest.java 53 final int[] colors = new int[] { Color.GREEN, Color.RED }; local
55 Shader shader = new SweepGradient(CENTER, CENTER, colors[0], colors[1]);
58 checkColors(colors, positions, TOLERANCE);
62 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE }; local
64 Shader shader = new SweepGradient(CENTER, CENTER, colors, positions);
68 checkColors(colors, positions, TOLERANCE);
72 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE, Color.GREEN }; local
75 Shader shader = new SweepGradient(CENTER, CENTER, colors, positions);
79 checkColors(colors, positions, TOLERANCE)
    [all...]
  /external/skia/tests/
ShaderOpacityTest.cpp 59 SkColor colors[2]; local
65 colors[0] = SkColorSetARGB(0xFF, 0, 0, 0);
66 colors[1] = SkColorSetARGB(0xFF, 0, 0, 0);
67 SkShader* grad = SkGradientShader::CreateLinear(pts, colors, pos, count,
74 colors[0] = SkColorSetARGB(0, 0, 0, 0);
75 colors[1] = SkColorSetARGB(0, 0, 0, 0);
76 grad = SkGradientShader::CreateLinear(pts, colors, pos, count, mode);
82 colors[0] = SkColorSetARGB(0xFF, 0, 0, 0);
83 colors[1] = SkColorSetARGB(0x40, 0, 0, 0);
84 grad = SkGradientShader::CreateLinear(pts, colors, pos, count, mode)
    [all...]
  /frameworks/base/graphics/java/android/graphics/
SweepGradient.java 42 * @param colors The colors to be distributed between around the center.
43 * There must be at least 2 colors in the array.
45 * each corresponding color in the colors array, beginning
48 * If positions is NULL, then the colors are automatically
52 int colors[], float positions[]) {
53 if (colors.length < 2) {
54 throw new IllegalArgumentException("needs >= 2 number of colors");
56 if (positions != null && colors.length != positions.length) {
63 mColors = colors;
    [all...]
LinearGradient.java 46 @param colors The colors to be distributed along the gradient line
48 each corresponding color in the colors array. If this is null,
49 the the colors are distributed evenly along the gradient line.
52 public LinearGradient(float x0, float y0, float x1, float y1, int colors[], float positions[],
54 if (colors.length < 2) {
55 throw new IllegalArgumentException("needs >= 2 number of colors");
57 if (positions != null && colors.length != positions.length) {
65 mColors = colors;
68 init(nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt))
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
GradientStopsActivity.java 45 int[] colors = new int[] { 0xffff0000, 0xff0000ff }; local
48 colors, positions, Shader.TileMode.CLAMP);
55 colors = new int[] { 0xffff0000, 0xff0000ff, 0xff00ff00 };
58 colors, positions, Shader.TileMode.CLAMP);
65 colors = new int[] { 0xffff0000, 0xff0000ff, 0xff00ff00 };
68 colors, positions, Shader.TileMode.CLAMP);
75 colors = new int[] { 0xff000000, 0xffffffff };
77 colors, null, Shader.TileMode.CLAMP);
85 colors, null, Shader.TileMode.REPEAT);
93 colors, null, Shader.TileMode.MIRROR)
    [all...]

Completed in 1096 milliseconds

1 2 3 4 5 6 7 8 91011>>