Searched defs:stops (Results 1 - 25 of 32) sorted by relevance

12

/external/pixman/demos/
H A Dlinear-gradient.c11 pixman_gradient_stop_t stops[] = { local
34 src_img = pixman_image_create_linear_gradient (&p1, &p2, stops, ARRAY_LENGTH (stops));
H A Dgradient-test.c16 pixman_gradient_stop_t stops[2] = local
62 stops, 2);
66 stops, 2);
69 stops, 2);
73 stops, 2);
H A Dalpha-test.c20 pixman_gradient_stop_t stops[2] = local
83 stops, 2);
87 stops, 2);
90 stops, 2);
94 stops, 2);
H A Dclip-test.c29 pixman_gradient_stop_t stops[2] = local
62 stops, 2);
66 stops, 2);
H A Dconical-test.c25 static const pixman_gradient_stop_t stops[] = { variable
32 #define NUM_STOPS (sizeof (stops) / sizeof (stops[0]))
46 &c, pixman_double_to_fixed (angle), stops, NUM_STOPS);
H A Dcomposite-test.c101 pixman_gradient_stop_t stops[6] = local
124 gradient = pixman_image_create_linear_gradient (&p1, &p2, stops, G_N_ELEMENTS (stops));
H A Dradial-test.c85 static const pixman_gradient_stop_t stops[NUM_STOPS] = { variable
127 stops, NUM_STOPS);
/external/pixman/test/
H A Dradial-perf-test.c11 static const pixman_gradient_stop_t stops[] = { local
30 &inner, &outer, r_inner, r_outer, stops, ARRAY_LENGTH (stops));
H A Dgradient-crash-test.c103 pixman_gradient_stop_t *stops; local
108 stops = onestop;
113 stops = subsetstops;
118 stops = stops01;
130 stops, num_stops);
134 stops, num_stops);
137 stops, num_stops);
H A Dstress-test.c611 pixman_gradient_stop_t *stops; local
617 stops = malloc (*n_stops * sizeof (pixman_gradient_stop_t));
622 stops[i].x = s;
623 stops[i].color = random_color();
628 stops[*n_stops - 1].x = pixman_fixed_1;
629 stops[*n_stops - 1].color = random_color();
631 return stops;
649 pixman_gradient_stop_t *stops; local
653 stops = create_random_stops (&n_stops);
654 if (!stops)
671 pixman_gradient_stop_t *stops; local
697 pixman_gradient_stop_t *stops; local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGGradientElement.cpp104 Vector<Gradient::ColorStop> stops; local
113 stops.append(Gradient::ColorStop(offset, stop->stopColorIncludingOpacity()));
116 return stops;
H A DGradientAttributes.h41 const Vector<Gradient::ColorStop>& stops() const { return m_stops; } function in struct:blink::GradientAttributes
/external/pixman/pixman/
H A Dpixman-conical-gradient.c186 const pixman_gradient_stop_t *stops,
197 if (!_pixman_init_gradient (&conical->common, stops, n_stops))
184 pixman_image_create_conical_gradient(const pixman_point_fixed_t * center, pixman_fixed_t angle, const pixman_gradient_stop_t *stops, int n_stops) argument
H A Dpixman-gradient-walker.c37 walker->stops = gradient->stops;
60 pixman_gradient_stop_t *stops = walker->stops; local
82 if (x < stops[n].x)
86 left_x = stops[n - 1].x;
87 left_c = &stops[n - 1].color;
89 right_x = stops[n].x;
90 right_c = &stops[n].color;
H A Dpixman-linear-gradient.c261 const pixman_gradient_stop_t *stops,
274 if (!_pixman_init_gradient (&linear->common, stops, n_stops))
259 pixman_image_create_linear_gradient(const pixman_point_fixed_t * p1, const pixman_point_fixed_t * p2, const pixman_gradient_stop_t *stops, int n_stops) argument
H A Dpixman-radial-gradient.c428 const pixman_gradient_stop_t *stops,
441 if (!_pixman_init_gradient (&radial->common, stops, n_stops))
424 pixman_image_create_radial_gradient(const pixman_point_fixed_t * inner, const pixman_point_fixed_t * outer, pixman_fixed_t inner_radius, pixman_fixed_t outer_radius, const pixman_gradient_stop_t *stops, int n_stops) argument
H A Dpixman-image.c41 pixman_gradient_stop_t *stops = gradient->stops; local
42 pixman_gradient_stop_t *begin = &(gradient->stops[-1]);
43 pixman_gradient_stop_t *end = &(gradient->stops[n]);
56 begin->x = stops[n - 1].x - pixman_fixed_1;
57 begin->color = stops[n - 1].color;
58 end->x = stops[0].x + pixman_fixed_1;
59 end->color = stops[0].color;
63 begin->x = - stops[0].x;
64 begin->color = stops[
79 _pixman_init_gradient(gradient_t * gradient, const pixman_gradient_stop_t *stops, int n_stops) argument
[all...]
/external/skia/src/effects/gradients/
H A DSkSweepGradient.cpp245 SkScalar* stops = stopsArray; local
247 int colorCount = RandomGradientParams(random, colors, &stops, &tmIgnored);
249 colors, stops, colorCount));
H A DSkLinearGradient.cpp524 SkScalar* stops = stopsArray; local
526 int colorCount = RandomGradientParams(random, colors, &stops, &tm);
528 colors, stops, colorCount,
H A DSkRadialGradient.cpp535 SkScalar* stops = stopsArray; local
537 int colorCount = RandomGradientParams(random, colors, &stops, &tm);
539 colors, stops, colorCount,
/external/chromium_org/third_party/skia/src/effects/gradients/
H A DSkSweepGradient.cpp255 SkScalar* stops = stopsArray; local
257 int colorCount = RandomGradientParams(random, colors, &stops, &tmIgnored);
259 colors, stops, colorCount));
H A DSkLinearGradient.cpp538 SkScalar* stops = stopsArray; local
540 int colorCount = RandomGradientParams(random, colors, &stops, &tm);
542 colors, stops, colorCount,
H A DSkRadialGradient.cpp547 SkScalar* stops = stopsArray; local
549 int colorCount = RandomGradientParams(random, colors, &stops, &tm);
551 colors, stops, colorCount,
H A DSkTwoPointConicalGradient_gpu.cpp204 SkScalar* stops = stopsArray; local
206 int colorCount = RandomGradientParams(random, colors, &stops, &tm);
209 colors, stops, colorCount,
483 SkScalar* stops = stopsArray; local
485 int colorCount = RandomGradientParams(random, colors, &stops, &tm);
488 colors, stops, colorCount,
692 SkScalar* stops = stopsArray; local
694 int colorCount = RandomGradientParams(random, colors, &stops, &tm);
697 colors, stops, colorCount,
941 SkScalar* stops local
1177 SkScalar* stops = stopsArray; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dpaint.c383 void paint_set_ramp_stops(struct vg_paint *paint, const VGfloat *stops, argument
396 memcpy(paint->gradient.ramp_stops, stops, sizeof(VGfloat)*num);
400 /* stops must be in increasing order. the last stop is 1.0. if the
402 if (stops[0] > 1) {
403 stops = default_stops;
406 last_coord = stops[0];
409 VGfloat coord = stops[idx];
411 stops = default_stops;
418 create_gradient_data(stops, num / 5, paint->gradient.color_data,
530 void paint_ramp_stops(struct vg_paint *paint, VGfloat *stops, argument
592 paint_set_ramp_stopsi(struct vg_paint *paint, const VGint *stops, int num) argument
602 paint_ramp_stopsi(struct vg_paint *paint, VGint *stops, int num) argument
[all...]

Completed in 1963 milliseconds

12