/external/chromium/chrome/browser/ui/cocoa/ |
H A D | vertical_gradient_view.h | 13 // Draws a vertical background gradient with a bottom stroke. The gradient and 15 // respectively. Alternatively, you may override the |gradient| and 17 // gradient or color is |nil|, the respective element will not be drawn. 20 // The gradient to draw. 26 // Gets and sets the gradient to paint as background. 27 - (NSGradient*)gradient; 28 - (void)setGradient:(NSGradient*)gradient; 32 - (void)setStrokeColor:(NSColor*)gradient;
|
/external/webkit/Source/WebCore/rendering/svg/ |
H A D | RenderSVGGradientStop.cpp | 50 // <stop> elements should only be allowed to make renderers under gradient elements 51 // but I can imagine a few cases we might not be catching, so let's not crash if our parent isn't a gradient. 52 SVGGradientElement* gradient = gradientElement(); 53 if (!gradient) 56 RenderObject* renderer = gradient->renderer();
|
H A D | RenderSVGResourceLinearGradient.cpp | 52 // Determine gradient start/end points 57 gradientData->gradient = Gradient::create(startPoint, endPoint); 58 gradientData->gradient->setSpreadMethod(m_attributes.spreadMethod());
|
H A D | RenderSVGResourceRadialGradient.cpp | 52 // Determine gradient focal/center points and radius 58 gradientData->gradient = Gradient::create(focalPoint, 63 gradientData->gradient->setSpreadMethod(m_attributes.spreadMethod());
|
H A D | RenderSVGResourceGradient.cpp | 163 // then the given effect (e.g. a gradient or a filter) will be ignored. 174 // Create gradient object 175 if (!gradientData->gradient) { 178 // CG platforms will handle the gradient space transform for text after applying the 180 // box applied to the gradient space transform now, so the gradient shader can use it. 194 gradientData->gradient->setGradientSpaceTransform(gradientData->userspaceTransform); 197 if (!gradientData->gradient) 200 // Draw gradient 219 context->setFillGradient(gradientData->gradient); [all...] |
H A D | RenderSVGResourceGradient.h | 38 RefPtr<Gradient> gradient; member in struct:WebCore::GradientData
|
/external/chromium/chrome/browser/resources/ |
H A D | extensions_infobar.css | 6 background: -webkit-linear-gradient(#DAE7F9, #B5CBE8);
|
H A D | extensions_infobar_mac.css | 6 background: -webkit-linear-gradient(#EBEBEB, #CFCFCF);
|
/external/webkit/Tools/QtTestBrowser/ |
H A D | locationedit.cpp | 109 QLinearGradient gradient(0, 0, width(), 0); 110 gradient.setColorAt(0, progressColor); 111 gradient.setColorAt(((double) m_progress) / 100, progressColor); 113 gradient.setColorAt((double) m_progress / 100 + 0.001, backgroundColor); 114 p.setBrush(QPalette::Base, gradient);
|
/external/webkit/Source/WebCore/platform/graphics/filters/ |
H A D | FETurbulence.cpp | 190 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...] |
H A D | FETurbulence.h | 75 float gradient[4][2 * s_blockSize + 2][2]; member in struct:WebCore::FETurbulence::PaintingData
|
/external/webkit/Source/WebCore/inspector/front-end/ |
H A D | SummaryBar.js | 103 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...] |
H A D | audits.css | 117 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(252, 252, 252)), to(rgb(223, 223, 223))); 131 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(194, 194, 194)), to(rgb(239, 239, 239))); 138 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(250, 250, 250)), to(rgb(235, 235, 235))); 161 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(252, 252, 252)), to(rgb(223, 223, 223))); 169 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(194, 194, 194)), to(rgb(239, 239, 239))); 174 -webkit-gradient(linear, left top, left bottom, from(rgb(252, 252, 252)), to(rgb(223, 223, 223)));
|
/external/webkit/Source/WebCore/html/canvas/ |
H A D | CanvasStyle.cpp | 125 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 D | CanvasGradient.h | 50 Gradient* gradient() const { return m_gradient.get(); } function in class:WebCore::CanvasGradient
|
/external/webkit/Source/WebKit2/UIProcess/ |
H A D | FindIndicator.cpp | 161 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/webkit/Source/WebCore/css/ |
H A D | CSSGradientValue.cpp | 112 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...] |
/external/chromium/chrome/browser/resources/ntp4/ |
H A D | new_tab.css | 39 -webkit-mask-image: -webkit-linear-gradient(bottom, transparent, black 30px); 55 /* TODO(estade): remove this border hack and replace with a webkit-gradient 59 background: -webkit-gradient(linear, left top, right top,
|
/external/chromium-trace/src/shared/css/ |
H A D | widgets.css | 21 background-image: -webkit-linear-gradient(#ededed, #ededed 38%, #dedede); 63 -webkit-linear-gradient(#ededed, #ededed 38%, #dedede); 158 background-image: -webkit-linear-gradient(#f0f0f0, #f0f0f0 38%, #e0e0e0); 168 -webkit-linear-gradient(#f0f0f0, #f0f0f0 38%, #e0e0e0); 179 background-image: -webkit-linear-gradient(#e7e7e7, #e7e7e7 38%, #d7d7d7); 187 -webkit-linear-gradient(#e7e7e7, #e7e7e7 38%, #d7d7d7); 196 background-image: -webkit-linear-gradient(#f1f1f1, #f1f1f1 38%, #e6e6e6); 205 -webkit-linear-gradient(#f1f1f1, #f1f1f1 38%, #e6e6e6);
|
H A D | list.css | 64 background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.8),
|
H A D | menu.css | 41 background: -webkit-linear-gradient(left,
|
H A D | tabs.css | 12 background: -webkit-linear-gradient(white, rgb(243, 243, 243));
|
/external/opencv/cv/src/ |
H A D | cvsnakes.cpp | 66 // 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/chromium/chrome/browser/resources/options/ |
H A D | subpages_tab_controls.css | 55 background: -webkit-linear-gradient(white, #F3F3F3); /* very light gray */
|
/external/webkit/Source/WebCore/rendering/ |
H A D | RenderMediaControlsChromium.cpp | 153 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);
|