/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
Gradient.h | 48 class Gradient : public RefCounted<Gradient> { 50 static PassRefPtr<Gradient> create(const FloatPoint& p0, const FloatPoint& p1) 52 return adoptRef(new Gradient(p0, p1)); 54 static PassRefPtr<Gradient> create(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio = 1) 56 return adoptRef(new Gradient(p0, r0, p1, r1, aspectRatio)); 58 ~Gradient(); 139 Gradient(const FloatPoint& p0, const FloatPoint& p1); 140 Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio); 146 // Keep any parameters relevant to rendering in sync with the structure in Gradient::hash() [all...] |
GeneratorGeneratedImage.h | 31 #include "core/platform/graphics/Gradient.h" 43 static PassRefPtr<GeneratorGeneratedImage> create(PassRefPtr<Gradient> generator, const IntSize& size) 65 GeneratorGeneratedImage(PassRefPtr<Gradient> generator, const IntSize& size) 72 RefPtr<Gradient> m_gradient;
|
Gradient.cpp | 29 #include "core/platform/graphics/Gradient.h" 45 Gradient::Gradient(const FloatPoint& p0, const FloatPoint& p1) 59 Gradient::Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio) 73 Gradient::~Gradient() 77 void Gradient::adjustParametersForTiledDrawing(IntSize& size, FloatRect& srcRect) 99 void Gradient::addColorStop(float value, const Color& color) 114 void Gradient::addColorStop(const Gradient::ColorStop& stop [all...] |
StrokeData.h | 33 #include "core/platform/graphics/Gradient.h" 68 Gradient* gradient() const { return m_gradient.get(); } function in class:WebCore::StrokeData 69 void setGradient(const PassRefPtr<Gradient> gradient) { m_gradient = gradient; } 87 // Sets everything on the paint except the pattern, gradient and color. 98 RefPtr<Gradient> m_gradient;
|
GraphicsContextState.h | 32 #include "core/platform/graphics/Gradient.h" 115 RefPtr<Gradient> m_fillGradient;
|
GraphicsContext.h | 110 Gradient* strokeGradient() const { return m_state->m_strokeData.gradient(); } 111 void setStrokeGradient(PassRefPtr<Gradient>); 128 void setFillGradient(PassRefPtr<Gradient>); 129 Gradient* fillGradient() const { return m_state->m_fillGradient.get(); } 416 void setupShader(SkPaint*, Gradient*, Pattern*, SkColor) const;
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
GradientAttributes.h | 41 const Vector<Gradient::ColorStop>& stops() const { return m_stops; } 61 void setStops(const Vector<Gradient::ColorStop>& value) 75 Vector<Gradient::ColorStop> m_stops; 89 Vector<Gradient::ColorStop> b;
|
SVGGradientElement.cpp | 139 Vector<Gradient::ColorStop> SVGGradientElement::buildStops() 141 Vector<Gradient::ColorStop> stops; 162 stops.append(Gradient::ColorStop(offset, r, g, b, a));
|
SVGGradientElement.h | 25 #include "core/platform/graphics/Gradient.h" 87 Vector<Gradient::ColorStop> buildStops();
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
CanvasGradient.cpp | 38 : m_gradient(Gradient::create(p0, p1)) 44 : m_gradient(Gradient::create(p0, r0, p1, r1))
|
CanvasGradient.h | 31 #include "core/platform/graphics/Gradient.h" 51 Gradient* gradient() const { return m_gradient.get(); } function in class:WebCore::CanvasGradient 59 RefPtr<Gradient> m_gradient;
|
CanvasStyle.cpp | 115 CanvasStyle::CanvasStyle(PassRefPtr<CanvasGradient> gradient) 116 : m_type(Gradient) 117 , m_gradient(gradient) 162 PassRefPtr<CanvasStyle> CanvasStyle::createFromGradient(PassRefPtr<CanvasGradient> gradient) 164 if (!gradient) 166 return adoptRef(new CanvasStyle(gradient)); 189 case Gradient: 234 case Gradient: 235 context->setStrokeGradient(canvasGradient()->gradient()); 261 case Gradient [all...] |
CanvasStyle.h | 70 enum Type { RGBA, CMYKA, Gradient, ImagePattern, CurrentColor, CurrentColorWithOverrideAlpha };
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGResourceGradient.h | 26 #include "core/platform/graphics/Gradient.h" 39 RefPtr<Gradient> gradient; member in struct:WebCore::GradientData 57 void addStops(GradientData*, const Vector<Gradient::ColorStop>&) const;
|
RenderSVGResourceLinearGradient.cpp | 59 gradientData->gradient = Gradient::create(startPoint(m_attributes), endPoint(m_attributes)); 60 gradientData->gradient->setSpreadMethod(platformSpreadMethodFromSVGType(m_attributes.spreadMethod()));
|
RenderSVGResourceGradient.cpp | 78 // then the given effect (e.g. a gradient or a filter) will be ignored. 89 // Create gradient object 90 if (!gradientData->gradient) { 93 // We want the text bounding box applied to the gradient space transform now, so the gradient shader can use it. 104 // Depending on font scaling factor, we may need to rescale the gradient here since 110 gradientData->gradient->setGradientSpaceTransform(gradientData->userspaceTransform); 113 if (!gradientData->gradient) 116 // Draw gradient 127 context->setFillGradient(gradientData->gradient); [all...] |
RenderSVGResourceRadialGradient.cpp | 70 gradientData->gradient = Gradient::create(this->focalPoint(m_attributes), 75 gradientData->gradient->setSpreadMethod(platformSpreadMethodFromSVGType(m_attributes.spreadMethod()));
|
RenderSVGPath.cpp | 70 if (Gradient* gradient = context->strokeGradient()) 71 context->setFillGradient(gradient);
|
/external/chromium_org/remoting/codec/ |
video_decoder_vp8_unittest.cc | 36 // frame too much. The frame used is a gradient, which does not contain sharp 38 TEST_F(VideoDecoderVp8Test, Gradient) {
|
/external/chromium_org/third_party/WebKit/Source/core/platform/mac/ |
ScrollbarThemeMac.mm | 33 #include "core/platform/graphics/Gradient.h" 187 // Offset of negative one pixel to make the gradient blend with the toolbar's bottom border. 222 RefPtr<Gradient> gradient; 234 gradient = Gradient::create(FloatPoint(0, shadowRect.maxY()), FloatPoint(0, shadowRect.maxY() - kShadowSize)); 238 gradient = Gradient::create(FloatPoint(0, shadowRect.y()), FloatPoint(0, shadowRect.maxY())); 252 gradient->addColorStop(kShadowColors[i].stop, kShadowColors[i].color); 253 context->setFillGradient(gradient); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSGradientValue.h | 38 class Gradient; 117 void addStops(Gradient*, RenderObject*, RenderStyle* rootStyle, float maxLengthForRepeat = 0); 151 // Create the gradient for a given size. 152 PassRefPtr<Gradient> createGradient(RenderObject*, const IntSize&); 199 // Create the gradient for a given size. 200 PassRefPtr<Gradient> createGradient(RenderObject*, const IntSize&);
|
CSSGradientValue.cpp | 34 #include "core/platform/graphics/Gradient.h" 62 RefPtr<Gradient> gradient; local 65 gradient = static_cast<CSSLinearGradientValue*>(this)->createGradient(renderer, size); 68 gradient = static_cast<CSSRadialGradientValue*>(this)->createGradient(renderer, size); 71 RefPtr<Image> newImage = GeneratorGeneratedImage::create(gradient, size); 136 void CSSGradientValue::addStops(Gradient* gradient, RenderObject* renderer, RenderStyle* rootStyle, float maxLengthForRepeat) 152 gradient->addColorStop(offset, renderer->resolveColor(stop.m_resolvedColor)); 156 gradient->setStopsSorted(true) 699 RefPtr<Gradient> gradient = Gradient::create(firstPoint, secondPoint); local 1110 RefPtr<Gradient> gradient = Gradient::create(firstPoint, firstRadius, secondPoint, secondRadius, aspectRatio); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/tests/ |
test_rendering.c | 103 static void Gradient(short *block, unsigned int start, unsigned int stop, int horizontal, unsigned int intra_unsigned) 218 Gradient 235 Gradient 246 Gradient
|
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
test_rendering.c | 103 static void Gradient(short *block, unsigned int start, unsigned int stop, int horizontal, unsigned int intra_unsigned) 218 Gradient 235 Gradient 246 Gradient
|
/frameworks/base/libs/hwui/ |
Program.h | 71 #define PROGRAM_GRADIENT_TYPE_SHIFT 33 // 2 bits for gradient type 111 enum Gradient { 140 Gradient gradientType;
|