/external/pixman/demos/ |
linear-gradient.c | 11 pixman_gradient_stop_t stops[] = { local 34 src_img = pixman_image_create_linear_gradient (&p1, &p2, stops, ARRAY_LENGTH (stops));
|
alpha-test.c | 20 pixman_gradient_stop_t stops[2] = local 83 stops, 2); 87 stops, 2); 90 stops, 2); 94 stops, 2);
|
clip-test.c | 29 pixman_gradient_stop_t stops[2] = local 62 stops, 2); 66 stops, 2);
|
gradient-test.c | 16 pixman_gradient_stop_t stops[2] = local 62 stops, 2); 66 stops, 2); 69 stops, 2); 73 stops, 2);
|
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);
|
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));
|
radial-test.c | 85 static const pixman_gradient_stop_t stops[NUM_STOPS] = { variable 127 stops, NUM_STOPS);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGGradientElement.cpp | 120 Vector<Gradient::ColorStop> stops; local 129 stops.append(Gradient::ColorStop(offset, stop->stopColorIncludingOpacity())); 132 return stops;
|
GradientAttributes.h | 41 const Vector<Gradient::ColorStop>& stops() const { return m_stops; } function in struct:WebCore::GradientAttributes
|
/external/pixman/test/ |
radial-perf-test.c | 11 static const pixman_gradient_stop_t stops[] = { local 30 &inner, &outer, r_inner, r_outer, stops, ARRAY_LENGTH (stops));
|
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);
|
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/pixman/pixman/ |
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;
|
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[0].color [all...] |
pixman-private.h | 136 pixman_gradient_stop_t *stops; member in struct:gradient 295 const pixman_gradient_stop_t *stops, 329 pixman_gradient_stop_t *stops; member in struct:__anon32562 [all...] |
/external/chromium_org/third_party/skia/src/effects/gradients/ |
SkSweepGradient.cpp | 245 SkScalar* stops = stopsArray; local 247 int colorCount = RandomGradientParams(random, colors, &stops, &tmIgnored); 249 colors, stops, colorCount));
|
SkLinearGradient.cpp | 524 SkScalar* stops = stopsArray; local 526 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 528 colors, stops, colorCount,
|
SkRadialGradient.cpp | 535 SkScalar* stops = stopsArray; local 537 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 539 colors, stops, colorCount,
|
SkTwoPointConicalGradient_gpu.cpp | 198 SkScalar* stops = stopsArray; local 200 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 203 colors, stops, colorCount, 472 SkScalar* stops = stopsArray; local 474 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 477 colors, stops, colorCount, 684 SkScalar* stops = stopsArray; local 686 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 689 colors, stops, colorCount, 929 SkScalar* stops = stopsArray; local 1160 SkScalar* stops = stopsArray; local [all...] |
/external/skia/src/effects/gradients/ |
SkSweepGradient.cpp | 245 SkScalar* stops = stopsArray; local 247 int colorCount = RandomGradientParams(random, colors, &stops, &tmIgnored); 249 colors, stops, colorCount));
|
SkLinearGradient.cpp | 524 SkScalar* stops = stopsArray; local 526 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 528 colors, stops, colorCount,
|
SkRadialGradient.cpp | 535 SkScalar* stops = stopsArray; local 537 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 539 colors, stops, colorCount,
|
SkTwoPointConicalGradient_gpu.cpp | 198 SkScalar* stops = stopsArray; local 200 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 203 colors, stops, colorCount, 472 SkScalar* stops = stopsArray; local 474 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 477 colors, stops, colorCount, 684 SkScalar* stops = stopsArray; local 686 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 689 colors, stops, colorCount, 929 SkScalar* stops = stopsArray; local 1160 SkScalar* stops = stopsArray; local [all...] |
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/ |
InteractiveLineGraphView.java | 161 // Buffers for storing current X and Y stops. See the computeAxisStops method for more details. 323 // Computes axis stops (in terms of numerical value and position on screen) 338 // arrays and only reallocate if the number of stops grows. 354 mAxisXPositionsBuffer[i] = getDrawX(mXStopsBuffer.stops[i]); 357 mAxisYPositionsBuffer[i] = getDrawY(mYStopsBuffer.stops[i]); 383 labelLength = formatFloat(mLabelBuffer, mXStopsBuffer.stops[i], mXStopsBuffer.decimals); 396 labelLength = formatFloat(mLabelBuffer, mYStopsBuffer.stops[i], mYStopsBuffer.decimals); 460 * of stops between these boundaries. 464 * @param steps The ideal number of stops to create. This should be based on available screen 465 * space; the more space there is, the more stops should be shown 1181 float[] stops = new float[]{}; field in class:InteractiveLineGraphView.AxisStops [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
SVGRenderStyle.h | 215 if (!(stops->opacity == obj)) 216 stops.access()->opacity = obj; 221 if (!(stops->color == obj)) 222 stops.access()->color = obj; 317 float stopOpacity() const { return stops->opacity; } 318 const Color& stopColor() const { return stops->color; } 416 DataRef<StyleStopData> stops; member in class:WebCore::SVGRenderStyle
|