Searched defs:gradient (Results 1 - 22 of 22) sorted by relevance

/external/webkit/Source/WebCore/rendering/svg/
H A DRenderSVGResourceGradient.h38 RefPtr<Gradient> gradient; member in struct:WebCore::GradientData
H A DSVGRenderTreeAsText.cpp607 RenderSVGResourceLinearGradient* gradient = static_cast<RenderSVGResourceLinearGradient*>(resource); local
611 SVGLinearGradientElement* linearGradientElement = static_cast<SVGLinearGradientElement*>(gradient->node());
623 RenderSVGResourceRadialGradient* gradient = static_cast<RenderSVGResourceRadialGradient*>(resource); local
627 SVGRadialGradientElement* radialGradientElement = static_cast<SVGRadialGradientElement*>(gradient->node());
/external/webkit/Source/WebCore/html/canvas/
H A DCanvasGradient.h50 Gradient* gradient() const { return m_gradient.get(); } function in class:WebCore::CanvasGradient
H A DCanvasStyle.cpp125 CanvasStyle::CanvasStyle(PassRefPtr<CanvasGradient> gradient) argument
127 , m_gradient(gradient)
172 PassRefPtr<CanvasStyle> CanvasStyle::createFromGradient(PassRefPtr<CanvasGradient> gradient) argument
174 if (!gradient)
176 return adoptRef(new CanvasStyle(gradient));
255 context->setStrokeGradient(canvasGradient()->gradient());
292 context->setFillGradient(canvasGradient()->gradient());
H A DCanvasRenderingContext2D.cpp1007 // If x0 = x1 and y0 = y1, then the linear gradient must paint nothing
1008 // If x0 = x1 and y0 = y1 and r0 = r1, then the radial gradient must paint nothing
1009 Gradient* gradient = c->fillGradient();
1010 if (gradient && gradient->isZeroSize())
1469 void CanvasRenderingContext2D::prepareGradientForDashboard(CanvasGradient* gradient) const
1473 gradient->setDashboardCompatibilityMode();
1475 UNUSED_PARAM(gradient);
1486 RefPtr<CanvasGradient> gradient = CanvasGradient::create(FloatPoint(x0, y0), FloatPoint(x1, y1)); local
1487 prepareGradientForDashboard(gradient
1503 RefPtr<CanvasGradient> gradient = CanvasGradient::create(FloatPoint(x0, y0), r0, FloatPoint(x1, y1), r1); local
[all...]
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestbitmap.c64 Uint8 gradient; local
131 gradient=((i*255)/screen->h);
132 color = SDL_MapRGB(screen->format, gradient, gradient, gradient);
H A Dgraywin.c62 Uint8 gradient; local
84 gradient=((i*(NUM_COLORS-1))/screen->h);
85 color = SDL_MapRGB(screen->format, gradient, gradient, gradient);
H A Dtestalpha.c22 /* Fill the screen with a gradient */
28 Uint8 gradient; local
47 gradient=((i*255)/screen->h);
48 color = (Uint16)SDL_MapRGB(screen->format, gradient, gradient, gradient);
/external/webkit/Source/WebCore/inspector/front-end/
H A DSummaryBar.js103 var gradient = ctx.createLinearGradient(0, 0, 13, 13);
104 gradient.addColorStop(0.0, "rgba(255, 255, 255, 0.2)");
105 gradient.addColorStop(1.0, "rgba(255, 255, 255, 0.0)");
107 ctx.fillStyle = gradient;
110 gradient = ctx.createLinearGradient(13, 13, 0, 0);
111 gradient.addColorStop(0.0, "rgba(0, 0, 0, 0.2)");
112 gradient.addColorStop(1.0, "rgba(0, 0, 0, 0.0)");
114 ctx.fillStyle = gradient;
316 var gradient = ctx.createLinearGradient(x, y, x, y + h); variable
317 gradient
[all...]
/external/webkit/Source/WebCore/platform/graphics/filters/
H A DFETurbulence.h75 float gradient[4][2 * s_blockSize + 2][2]; member in struct:WebCore::FETurbulence::PaintingData
H A DFETurbulence.cpp190 float* gradient; local
194 gradient = paintingData.gradient[channel][i];
195 gradient[0] = static_cast<float>((paintingData.random() % (2 * s_blockSize)) - s_blockSize) / s_blockSize;
196 gradient[1] = static_cast<float>((paintingData.random() % (2 * s_blockSize)) - s_blockSize) / s_blockSize;
197 normalizationFactor = sqrtf(gradient[0] * gradient[0] + gradient[1] * gradient[1]);
198 gradient[
[all...]
/external/webkit/Source/WebCore/rendering/
H A DRenderMediaControlsChromium.cpp153 RefPtr<Gradient> gradient = Gradient::create(sliderTopLeft, sliderTopRight); local
155 gradient->addColorStop(0.0, startColor);
156 gradient->addColorStop(1.0, Color(startColor.red() / 2, startColor.green() / 2, startColor.blue() / 2, startColor.alpha()));
160 context->setFillGradient(gradient);
/external/webkit/Source/WebKit2/UIProcess/
H A DFindIndicator.cpp161 RefPtr<Gradient> gradient = Gradient::create(FloatPoint(innerPathRect.x(), innerPathRect.y()), FloatPoint(innerPathRect.x(), innerPathRect.maxY())); local
162 gradient->addColorStop(0, gradientLightColor());
163 gradient->addColorStop(1, gradientDarkColor());
164 graphicsContext.setFillGradient(gradient);
/external/opencv/cv/src/
H A Dcvsnakes.cpp66 // if _CV_SNAKE_GRAD - magnitude of gradient is energy
100 float *gradient = NULL; local
149 gradient = (float *) cvAlloc( roi.height * roi.width * sizeof( float ));
151 if( !gradient )
156 cvFree( &gradient );
159 /* clear map - no gradient computed */
315 gradient[(y*WTILE_SIZE + l) * roi.width + x*WTILE_SIZE + m] =
325 gradient[(pt[i].y + j) * roi.width + pt[i].x + k];
401 cvFree( &gradient );
/external/webkit/Source/WebCore/css/
H A DCSSGradientValue.cpp112 void CSSGradientValue::addStops(Gradient* gradient, RenderObject* renderer, RenderStyle* rootStyle, float maxLengthForRepeat) argument
130 gradient->addColorStop(offset, color);
134 gradient->setStopsSorted(true);
145 FloatPoint gradientStart = gradient->p0();
148 gradientEnd = gradient->p1();
150 gradientEnd = gradientStart + FloatSize(gradient->endRadius(), 0);
230 // If the gradient is repeating, repeat the color stops.
232 // because we have to know the extent of the gradient, and possible move the end points.
235 // the gradient defines a solid-color image with the color of the last color-stop in the rule.
302 // If the gradient goe
553 RefPtr<Gradient> gradient = Gradient::create(firstPoint, secondPoint); local
845 RefPtr<Gradient> gradient = Gradient::create(firstPoint, firstRadius, secondPoint, secondRadius, aspectRatio); local
[all...]
H A DCSSParser.cpp2593 // attr(X) | counter(X [,Y]) | counters(X, Y, [,Z]) | -webkit-gradient(...)
5054 // This should go away once we drop support for -webkit-gradient
5136 bool CSSParser::parseDeprecatedGradient(RefPtr<CSSValue>& gradient) argument
5143 // The first argument is the gradient type. It is an identifier.
5170 // Next comes the starting point for the gradient as an x y pair. There is no
5208 // Next is the ending point for the gradient as an x, y pair.
5262 gradient = result.release();
5295 bool CSSParser::parseLinearGradient(RefPtr<CSSValue>& gradient, CSSGradientRepeat repeating) argument
5361 gradient = result.release();
5365 bool CSSParser::parseRadialGradient(RefPtr<CSSValue>& gradient, CSSGradientRepea argument
5484 parseGradientColorStops(CSSParserValueList* valueList, CSSGradientValue* gradient, bool expectComma) argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/
H A DGraphicsContext.cpp282 void GraphicsContext::setStrokeGradient(PassRefPtr<Gradient> gradient) argument
284 ASSERT(gradient);
285 if (!gradient) {
289 m_state.strokeGradient = gradient;
294 void GraphicsContext::setFillGradient(PassRefPtr<Gradient> gradient) argument
296 ASSERT(gradient);
297 if (!gradient) {
301 m_state.fillGradient = gradient;
/external/webkit/Source/WebCore/platform/gtk/
H A DRenderThemeGtk.cpp541 // Chrome for the gradient code.
573 RefPtr<Gradient> gradient = Gradient::create(sliderTopLeft, sliderTopRight); local
575 gradient->addColorStop(0.0, startColor);
576 gradient->addColorStop(1.0, Color(startColor.red() / 2, startColor.green() / 2, startColor.blue() / 2, startColor.alpha()));
578 context->setFillGradient(gradient);
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DGraphicsContextSkia.cpp1007 void GraphicsContext::setPlatformFillGradient(Gradient* gradient) argument
1012 platformContext()->setFillShader(gradient->platformGradient());
1132 void GraphicsContext::setPlatformStrokeGradient(Gradient* gradient) argument
1137 platformContext()->setStrokeShader(gradient->platformGradient());
/external/webkit/Source/WebCore/platform/graphics/wince/
H A DGraphicsContextWinCE.cpp1309 Color gradientAverageColor(const Gradient* gradient) argument
1311 const Vector<Gradient::ColorStop>& stops = gradient->getStops();
1399 void GraphicsContext::fillRect(const FloatRect& r, const Gradient* gradient) argument
1404 const Vector<Gradient::ColorStop>& stops = gradient->getStops();
1428 FloatPoint fp0 = m_data->mapPoint(gradient->p0());
1429 FloatPoint fp1 = m_data->mapPoint(gradient->p1());
1435 if (gradient->isRadial()) {
1439 float r0 = gradient->startRadius() * scale;
1440 float r1 = gradient->endRadius() * scale;
1441 g_radialGradientFiller(dc, rect, p0, p1, r0, r1, gradient
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.ui.forms_3.5.2.r36_v20100702.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.jface.text_3.6.1.r361_v20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 455 milliseconds