/external/pixman/demos/ |
H A D | linear-gradient.c | 11 pixman_gradient_stop_t stops[] = { local 34 src_img = pixman_image_create_linear_gradient (&p1, &p2, stops, ARRAY_LENGTH (stops));
|
H A D | gradient-test.c | 16 pixman_gradient_stop_t stops[2] = local 62 stops, 2); 66 stops, 2); 69 stops, 2); 73 stops, 2);
|
H A D | alpha-test.c | 20 pixman_gradient_stop_t stops[2] = local 83 stops, 2); 87 stops, 2); 90 stops, 2); 94 stops, 2);
|
H A D | clip-test.c | 29 pixman_gradient_stop_t stops[2] = local 62 stops, 2); 66 stops, 2);
|
H A D | conical-test.c | 25 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 D | composite-test.c | 101 pixman_gradient_stop_t stops[6] = local 124 gradient = pixman_image_create_linear_gradient (&p1, &p2, stops, G_N_ELEMENTS (stops));
|
H A D | radial-test.c | 85 static const pixman_gradient_stop_t stops[NUM_STOPS] = { variable 127 stops, NUM_STOPS);
|
/external/pixman/test/ |
H A D | radial-perf-test.c | 11 static const pixman_gradient_stop_t stops[] = { local 30 &inner, &outer, r_inner, r_outer, stops, ARRAY_LENGTH (stops));
|
H A D | gradient-crash-test.c | 103 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 D | stress-test.c | 611 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 D | SVGGradientElement.cpp | 141 Vector<Gradient::ColorStop> stops; local 162 stops.append(Gradient::ColorStop(offset, r, g, b, a)); 165 return stops;
|
H A D | GradientAttributes.h | 41 const Vector<Gradient::ColorStop>& stops() const { return m_stops; } function in struct:WebCore::GradientAttributes
|
/external/pixman/pixman/ |
H A D | pixman-conical-gradient.c | 186 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 D | pixman-gradient-walker.c | 37 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 D | pixman-linear-gradient.c | 261 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 D | pixman-radial-gradient.c | 428 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 D | pixman-image.c | 41 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/chromium_org/third_party/skia/src/effects/gradients/ |
H A D | SkLinearGradient.cpp | 509 SkScalar* stops = stopsArray; local 511 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 513 colors, stops, colorCount,
|
H A D | SkRadialGradient.cpp | 543 SkScalar* stops = stopsArray; local 545 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 547 colors, stops, colorCount,
|
H A D | SkTwoPointConicalGradient.cpp | 461 SkScalar* stops = stopsArray; local 463 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 466 colors, stops, colorCount,
|
/external/skia/src/effects/gradients/ |
H A D | SkLinearGradient.cpp | 509 SkScalar* stops = stopsArray; local 511 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 513 colors, stops, colorCount,
|
H A D | SkRadialGradient.cpp | 543 SkScalar* stops = stopsArray; local 545 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 547 colors, stops, colorCount,
|
H A D | SkTwoPointConicalGradient.cpp | 461 SkScalar* stops = stopsArray; local 463 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 466 colors, stops, colorCount,
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
H A D | paint.c | 383 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...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | paint.c | 383 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...] |