HomeSort by relevance Sort by last modified time
    Searched refs:gradient (Results 1 - 25 of 26) sorted by null

1 2

  /external/webkit/WebKitTools/QtLauncher/
locationedit.cpp 59 QLinearGradient gradient(0, 0, width(), 0);
60 gradient.setColorAt(0, progressColor);
61 gradient.setColorAt(((double) m_progress) / 100, progressColor);
63 gradient.setColorAt((double) m_progress / 100 + 0.001, backgroundColor);
64 p.setBrush(QPalette::Base, gradient);
  /external/webkit/WebCore/rendering/
RenderSVGGradientStop.cpp 49 // <stop> elements should only be allowed to make renderers under gradient elements
50 // but I can imagine a few cases we might not be catching, so let's not crash if our parent isn't a gradient.
51 if (SVGGradientElement* gradient = gradientElement()) {
52 if (SVGResource* resource = gradient->canvasResource(this))
RenderMediaControlsChromium.cpp 31 #include "Gradient.h"
135 RefPtr<Gradient> gradient = Gradient::create(sliderTopLeft, sliderTopRight); local
137 gradient->addColorStop(0.0, startColor);
138 gradient->addColorStop(1.0, Color(startColor.red() / 2, startColor.green() / 2, startColor.blue() / 2, startColor.alpha()));
142 context->setFillGradient(gradient);
  /external/webkit/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 214 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(252, 252, 252)), to(rgb(223, 223, 223)));
228 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(194, 194, 194)), to(rgb(239, 239, 239)));
235 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(250, 250, 250)), to(rgb(235, 235, 235)));
258 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(252, 252, 252)), to(rgb(223, 223, 223)));
266 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(194, 194, 194)), to(rgb(239, 239, 239)));
271 -webkit-gradient(linear, left top, left bottom, from(rgb(252, 252, 252)), to(rgb(223, 223, 223)));
inspector.css 74 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(191, 191, 191)), to(rgb(151, 151, 151)));
82 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(233, 233, 233)), to(rgb(207, 207, 207)));
809 background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(236, 236, 236)), to(rgb(217, 217, 217)));
1207 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(162, 177, 207)), to(rgb(120, 138, 177)));
1214 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(92, 147, 213)), to(rgb(21, 83, 170)));
1219 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(180, 180, 180)), to(rgb(138, 138, 138)));
1276 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(162, 177, 207)), to(rgb(120, 138, 177)));
1284 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(167, 167, 167)), to(rgb(123, 123, 123)))
1441 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(243, 243, 243)), to(rgb(207, 207, 207)));
    [all...]
  /external/webkit/WebCore/css/
CSSGradientValue.cpp 31 #include "Gradient.h"
44 String result = "-webkit-gradient(";
72 PassRefPtr<Gradient> CSSGradientValue::createGradient(RenderObject* renderer, const IntSize& size)
81 RefPtr<Gradient> gradient; local
83 gradient = Gradient::create(firstPoint, secondPoint);
87 gradient = Gradient::create(firstPoint, firstRadius, secondPoint, secondRadius);
96 gradient->addColorStop(m_stops[i].m_stop, color)
    [all...]
CSSParser.cpp     [all...]
  /external/webkit/WebCore/html/canvas/
CanvasStyle.h 45 static PassRefPtr<CanvasStyle> create(PassRefPtr<CanvasGradient> gradient) { return adoptRef(new CanvasStyle(gradient)); }
65 enum Type { ColorString, ColorStringWithAlpha, GrayLevel, RGBA, CMYKA, Gradient, ImagePattern };
CanvasStyle.cpp 97 CanvasStyle::CanvasStyle(PassRefPtr<CanvasGradient> gradient)
98 : m_type(gradient ? Gradient : ColorString)
99 , m_gradient(gradient)
161 case Gradient:
162 context->setStrokeGradient(canvasGradient()->gradient());
222 case Gradient:
223 context->setFillGradient(canvasGradient()->gradient());
CanvasGradient.h 30 #include "Gradient.h"
51 Gradient* gradient() const { return m_gradient.get(); } function in class:WebCore::CanvasGradient
65 RefPtr<Gradient> m_gradient;
CanvasRenderingContext2D.cpp 1161 void CanvasRenderingContext2D::prepareGradientForDashboard(CanvasGradient* gradient) const
1166 gradient->setDashboardCompatibilityMode();
1168 UNUSED_PARAM(gradient);
1179 PassRefPtr<CanvasGradient> gradient = CanvasGradient::create(FloatPoint(x0, y0), FloatPoint(x1, y1)); local
1191 PassRefPtr<CanvasGradient> gradient = CanvasGradient::create(FloatPoint(x0, y0), r0, FloatPoint(x1, y1), r1); local
    [all...]
CanvasRenderingContext2D.h 261 void prepareGradientForDashboard(CanvasGradient* gradient) const;
  /external/webkit/WebCore/svg/
SVGLinearGradientElement.cpp 119 RefPtr<Gradient> gradient = Gradient::create(startPoint, endPoint); local
120 gradient->setSpreadMethod(attributes.spreadMethod());
127 gradient->addColorStop(offset, m_stops[i].second);
130 linearGradient->setGradient(gradient);
140 // These should possibly be supported on Gradient
SVGRadialGradientElement.cpp 67 document()->accessSVGExtensions()->reportError("A negative value for radial gradient radius <r> is not allowed");
150 RefPtr<Gradient> gradient = Gradient::create( local
155 gradient->setSpreadMethod(attributes.spreadMethod());
162 gradient->addColorStop(offset, stops[i].second);
165 radialGradient->setGradient(gradient);
  /external/webkit/WebCore/svg/graphics/
SVGPaintServerGradient.h 34 #include "Gradient.h"
52 void setGradient(PassRefPtr<Gradient>);
53 Gradient* gradient() const;
55 // Gradient start and end points are percentages when used in boundingBox mode.
77 RefPtr<Gradient> m_gradient;
SVGPaintServerGradient.cpp 89 Gradient* SVGPaintServerGradient::gradient() const function in class:WebCore::SVGPaintServerGradient
94 void SVGPaintServerGradient::setGradient(PassRefPtr<Gradient> gradient)
96 m_gradient = gradient;
226 // CG platforms will handle the gradient space transform for text in
228 // want the text bounding box applied to the gradient space transform now,
229 // so the gradient shader can use it.
255 // renderPath() is not used when painting text, so we paint the gradient during teardown()
  /external/webkit/WebCore/platform/graphics/
GraphicsContext.cpp 241 void GraphicsContext::setStrokeGradient(PassRefPtr<Gradient> gradient)
243 ASSERT(gradient);
244 if (!gradient) {
248 m_common->state.strokeGradient = gradient;
253 void GraphicsContext::setFillGradient(PassRefPtr<Gradient> gradient)
255 ASSERT(gradient);
256 if (!gradient) {
260 m_common->state.fillGradient = gradient;
    [all...]
  /external/skia/src/svg/
SkSVGPaintState.cpp 135 SkSVGElement* gradient = found->getGradient();
136 if (gradient) {
137 gradient->write(parser, current.f_fill);
138 gradient->write(parser, current.f_stroke);
  /packages/apps/Gallery3D/src/com/cooliris/media/
StringTexture.java 205 LinearGradient gradient = new LinearGradient(gradientLeft, 0, backWidth, 0, 0xffffffff, 0x00ffffff, local
209 paint.setShader(gradient);
  /external/webkit/WebCore/platform/graphics/wince/
GraphicsContextWince.cpp 27 #include "Gradient.h"
40 typedef void (*FuncGradientFillRectLinear)(HDC hdc, const IntRect& r, const IntPoint& p0, const IntPoint& p1, const Vector<Gradient::ColorStop>& stops);
41 typedef void (*FuncGradientFillRectRadial)(HDC hdc, const IntRect& r, const IntPoint& p0, const IntPoint& p1, float r0, float r1, const Vector<Gradient::ColorStop>& stops);
    [all...]
  /external/webkit/WebCore/platform/graphics/skia/
GraphicsContextSkia.cpp 37 #include "Gradient.h"
968 void GraphicsContext::setPlatformFillGradient(Gradient* gradient)
973 platformContext()->setFillShader(gradient->platformGradient());
1053 void GraphicsContext::setPlatformStrokeGradient(Gradient* gradient)
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
GradientDrawable.java 43 * A Drawable with a color gradient for buttons, backgrounds, etc.
99 * Gradient is linear (default.)
104 * Gradient is circular.
109 * Gradient is a sweep.
132 * Controls how the gradient is oriented relative to the drawable's bounds
135 /** draw the gradient from the top to the bottom */
137 /** draw the gradient from the top-right to the bottom-left */
139 /** draw the gradient from the right to the left */
141 /** draw the gradient from the bottom-right to the top-left */
143 /** draw the gradient from the bottom to the top *
    [all...]
  /prebuilt/darwin-x86_64/swt/
swt.jar 
  /prebuilt/sdk/4/
android.jar 

Completed in 223 milliseconds

1 2