/external/chromium/chrome/browser/ui/cocoa/ |
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/ |
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();
|
RenderSVGResourceLinearGradient.cpp | 52 // Determine gradient start/end points 57 gradientData->gradient = Gradient::create(startPoint, endPoint); 58 gradientData->gradient->setSpreadMethod(m_attributes.spreadMethod());
|
RenderSVGResourceRadialGradient.cpp | 52 // Determine gradient focal/center points and radius 58 gradientData->gradient = Gradient::create(focalPoint, 63 gradientData->gradient->setSpreadMethod(m_attributes.spreadMethod());
|
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...] |
RenderSVGResourceGradient.h | 28 #include "Gradient.h" 38 RefPtr<Gradient> gradient; member in struct:WebCore::GradientData 57 void addStops(GradientData*, const Vector<Gradient::ColorStop>&) const;
|
/external/chromium/chrome/browser/resources/ |
extensions_infobar.css | 6 background: -webkit-linear-gradient(#DAE7F9, #B5CBE8);
|
extensions_infobar_mac.css | 6 background: -webkit-linear-gradient(#EBEBEB, #CFCFCF);
|
/external/webkit/Tools/QtTestBrowser/ |
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);
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
ShapeHolder.java | 33 private RadialGradient gradient; field in class:ShapeHolder 70 gradient = value; 73 return gradient;
|
AnimationSeeking.java | 139 RadialGradient gradient = new RadialGradient(37.5f, 12.5f, local 141 paint.setShader(gradient);
|
CustomEvaluator.java | 154 RadialGradient gradient = new RadialGradient(37.5f, 12.5f, local 156 paint.setShader(gradient);
|
ReversingAnimation.java | 115 RadialGradient gradient = new RadialGradient(37.5f, 12.5f, local 117 paint.setShader(gradient);
|
/external/webkit/Source/WebCore/platform/graphics/filters/ |
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[0] /= normalizationFactor [all...] |
FETurbulence.h | 75 float gradient[4][2 * s_blockSize + 2][2]; member in struct:WebCore::FETurbulence::PaintingData
|
/external/webkit/Source/WebCore/inspector/front-end/ |
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.addColorStop(0.0, "rgba(0, 0, 0, " + (1.0 - a1) + ")") [all...] |
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)));
|
/frameworks/base/libs/hwui/ |
GradientCache.cpp | 42 INIT_LOGD(" Setting gradient cache size to %sMB", property); 45 INIT_LOGD(" Using default gradient cache size of %.2fMB", DEFAULT_GRADIENT_CACHE_SIZE); 103 GradientCacheEntry gradient(colors, positions, count, tileMode); 104 Texture* texture = mCache.get(gradient); 107 texture = addLinearGradient(gradient, colors, positions, count, tileMode); 117 Texture* GradientCache::addLinearGradient(GradientCacheEntry& gradient, 149 mCache.put(gradient, texture);
|
/external/webkit/Source/WebCore/html/canvas/ |
CanvasStyle.cpp | 125 CanvasStyle::CanvasStyle(PassRefPtr<CanvasGradient> gradient) 126 : m_type(Gradient) 127 , m_gradient(gradient) 172 PassRefPtr<CanvasStyle> CanvasStyle::createFromGradient(PassRefPtr<CanvasGradient> gradient) 174 if (!gradient) 176 return adoptRef(new CanvasStyle(gradient)); 199 case Gradient: 254 case Gradient: 255 context->setStrokeGradient(canvasGradient()->gradient()); 291 case Gradient [all...] |
CanvasGradient.h | 30 #include "Gradient.h" 50 Gradient* gradient() const { return m_gradient.get(); } function in class:WebCore::CanvasGradient 64 RefPtr<Gradient> m_gradient;
|
/external/webkit/Source/WebKit2/UIProcess/ |
FindIndicator.cpp | 30 #include <WebCore/Gradient.h> 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/ |
CSSGradientValue.cpp | 32 #include "Gradient.h" 112 void CSSGradientValue::addStops(Gradient* gradient, RenderObject* renderer, RenderStyle* rootStyle, float maxLengthForRepeat) 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. 231 // We can't just push this logic down into the platform-specific Gradient code 553 RefPtr<Gradient> gradient = Gradient::create(firstPoint, secondPoint); local 845 RefPtr<Gradient> gradient = Gradient::create(firstPoint, firstRadius, secondPoint, secondRadius, aspectRatio); local [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GradientsActivity.java | 123 LinearGradient gradient = new LinearGradient(0, 0, 200, 0, 0xFF000000, 0, local 126 mPaint.setShader(gradient); 148 RadialGradient gradient = new RadialGradient(0.0f, 0.0f, 100.0f, 0xff000000, 0xffffffff, local 151 mPaint.setShader(gradient); 173 SweepGradient gradient = new SweepGradient(100.0f, 100.0f, 0xff000000, 0xffffffff); local 175 mPaint.setShader(gradient);
|
/external/chromium/chrome/browser/resources/ntp4/ |
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/opencv/cv/src/ |
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 );
|