Searched refs:shadow (Results 1 - 25 of 70) sorted by relevance

123

/external/webkit/Source/WebCore/rendering/style/
H A DShadowData.cpp59 static inline void calculateShadowExtent(const ShadowData* shadow, int additionalOutlineSize, int& shadowLeft, int& shadowRight, int& shadowTop, int& shadowBottom) argument
62 int blurAndSpread = shadow->blur() + shadow->spread() + additionalOutlineSize;
63 if (shadow->style() == Normal) {
64 shadowLeft = min(shadow->x() - blurAndSpread, shadowLeft);
65 shadowRight = max(shadow->x() + blurAndSpread, shadowRight);
66 shadowTop = min(shadow->y() - blurAndSpread, shadowTop);
67 shadowBottom = max(shadow->y() + blurAndSpread, shadowBottom);
70 shadow = shadow
[all...]
H A DSVGRenderStyleDefs.cpp168 , shadow(other.shadow ? new ShadowData(*other.shadow) : 0)
174 if ((!shadow && other.shadow) || (shadow && !other.shadow))
176 if (shadow && other.shadow && (*shadow !
[all...]
H A DShadowData.h37 // This struct holds information about shadows for the text-shadow and box-shadow properties.
83 void setNext(ShadowData* shadow) { m_next = shadow; } argument
/external/chromium/chrome/browser/chromeos/login/
H A Drounded_rect_painter.cc81 int shadow,
88 shadow / 2, SkBlurMaskFilter::kNormal_BlurStyle);
92 SkIntToScalar(x + shadow / 2), SkIntToScalar(y + shadow / 2),
93 SkIntToScalar(x + w - shadow / 2), SkIntToScalar(y + h - shadow / 2));
107 int shadow = border->shadow; local
119 if (border->shadow > 0) {
125 shadow, shadow_colo
76 DrawRoundedRectShadow( gfx::Canvas* canvas, int x, int y, int w, int h, int corner_radius, int shadow, SkColor color) argument
180 int shadow = border_->shadow; local
[all...]
H A Drounded_rect_painter.h22 int shadow; member in struct:chromeos::BorderDefinition
/external/webkit/Source/WebCore/platform/graphics/qt/
H A DStillImageQt.cpp77 ContextShadow* shadow = ctxt->contextShadow(); local
78 if (shadow->m_type != ContextShadow::NoShadow) {
79 QPainter* shadowPainter = shadow->beginShadowLayer(ctxt, normalizedDst);
81 shadowPainter->setOpacity(static_cast<qreal>(shadow->m_color.alpha()) / 255);
83 shadow->endShadowLayer(ctxt);
H A DGraphicsContextQt.cpp201 ContextShadow shadow; member in class:WebCore::GraphicsContextPlatformPrivate
302 m_data->shadowStack.push(m_data->shadow);
314 m_data->shadow = ContextShadow();
316 m_data->shadow = m_data->shadowStack.pop();
321 // thus it must not cast any shadow.
337 // Must not cast any shadow.
500 ContextShadow* shadow = contextShadow(); local
501 if (shadow->mustUseContextShadow(this) || m_state.fillPattern || m_state.fillGradient)
503 QPainter* shadowPainter = shadow->beginShadowLayer(this, platformPath.controlPointRect());
507 shadowPainter->setOpacity(static_cast<qreal>(shadow
552 ContextShadow* shadow = contextShadow(); local
673 ContextShadow* shadow = contextShadow(); local
729 ContextShadow* shadow = contextShadow(); local
753 ContextShadow* shadow = contextShadow(); local
[all...]
H A DImageQt.cpp227 ContextShadow* shadow = ctxt->contextShadow(); local
228 if (shadow->m_type != ContextShadow::NoShadow) {
229 QPainter* shadowPainter = shadow->beginShadowLayer(ctxt, normalizedDst);
231 shadowPainter->setOpacity(static_cast<qreal>(shadow->m_color.alpha()) / 255);
233 shadow->endShadowLayer(ctxt);
/external/webkit/Source/WebCore/rendering/svg/
H A DSVGRenderSupport.cpp64 if (const ShadowData* shadow = svgStyle->shadow())
65 shadow->adjustRectForShadow(repaintRect);
92 const ShadowData* shadow = svgStyle->shadow(); local
93 if (opacity < 1 || shadow) {
101 if (shadow) {
103 paintInfo.context->setShadow(IntSize(shadow->x(), shadow->y()), shadow
[all...]
/external/chromium/base/
H A Dat_exit.cc16 // use the shadow version of the constructor. We don't protect this for
66 AtExitManager::AtExitManager(bool shadow) : next_manager_(g_top_manager) { argument
67 DCHECK(shadow || !g_top_manager);
H A Dat_exit.h53 // destruction. This allows you to shadow another AtExitManager.
54 explicit AtExitManager(bool shadow);
H A Dlazy_instance_unittest.cc64 base::ShadowingAtExitManager shadow; local
85 base::ShadowingAtExitManager shadow; local
124 base::ShadowingAtExitManager shadow; local
134 base::ShadowingAtExitManager shadow; local
/external/webkit/Source/WebCore/html/
H A DHTMLKeygenElement.cpp92 // Reflect disabled attribute on the shadow select element
129 Node* shadow = shadowRoot(); local
130 ASSERT(shadow);
131 return shadow ? static_cast<HTMLSelectElement*>(shadow->firstChild()) : 0;
/external/webkit/Source/WebCore/platform/graphics/cairo/
H A DFontCairo.cpp70 ContextShadow* shadow = graphicsContext->contextShadow(); local
71 ASSERT(shadow);
73 if (!(graphicsContext->textDrawingMode() & TextModeFill) || shadow->m_type == ContextShadow::NoShadow)
76 if (!shadow->mustUseContextShadow(graphicsContext)) {
80 cairo_translate(context, shadow->m_offset.width(), shadow->m_offset.height());
81 setSourceRGBAFromColor(context, shadow->m_color);
91 cairo_t* shadowContext = shadow->beginShadowLayer(graphicsContext, fontExtentsRect);
95 shadow->endShadowLayer(graphicsContext);
H A DImageCairo.cpp139 ContextShadow* shadow = context->contextShadow(); local
140 ASSERT(shadow);
141 if (shadow->m_type != ContextShadow::NoShadow) {
142 cairo_t* shadowContext = shadow->beginShadowLayer(context, dstRect);
148 shadow->endShadowLayer(context);
/external/valgrind/main/memcheck/tests/
H A Dsh-mem-random.c1 // This program is a thorough test of the LOADVn/STOREVn shadow memory
73 U1* shadow = malloc(n); local
76 VALGRIND_GET_VBITS(arr, shadow, n);
79 if (arr_i != shadow[i]) {
82 who, i, shadow[i], arr[i]);
87 free(shadow);
/external/webkit/Source/WebCore/editing/mac/
H A DEditorMac.mm110 const ShadowData* shadow = style->textShadow();
111 if (shadow) {
113 [s setShadowOffset:NSMakeSize(shadow->x(), shadow->y())];
114 [s setShadowBlurRadius:shadow->blur()];
115 [s setShadowColor:nsColor(shadow->color())];
/external/webkit/Source/WebCore/css/
H A DSVGCSSPropertyNames.in51 -webkit-svg-shadow
/external/webkit/Source/WebCore/platform/graphics/android/
H A DGraphicsContextAndroid.cpp106 SkColor color; // alpha>0 means valid shadow
110 SkColor c = 0) // by default, alpha=0, so no shadow
126 ShadowRec shadow; member in struct:WebCore::GraphicsContextPlatformPrivate::State
158 , shadow(other.shadow)
175 shadow.blur = SkScalarHalf(SkIntToScalar(radius));
176 shadow.dx = SkIntToScalar(dx);
177 shadow.dy = SkIntToScalar(dy);
178 shadow.color = c;
186 paint->setColor(shadow
[all...]
/external/webkit/Source/WebCore/bindings/v8/custom/
H A DV8HTMLDocumentCustom.cpp68 v8::Local<v8::Object> shadow = shadowConstructor->NewInstance();
69 if (shadow.IsEmpty())
71 V8DOMWrapper::setDOMWrapper(shadow, &V8HTMLDocument::info, impl);
72 shadow->SetPrototype(wrapper);
73 return shadow;
/external/webkit/Source/WebCore/rendering/
H A DInlineTextBox.cpp362 FloatSize InlineTextBox::applyShadowToGraphicsContext(GraphicsContext* context, const ShadowData* shadow, const FloatRect& textRect, bool stroked, bool opaque, bool horizontal) argument
364 if (!shadow)
368 int shadowX = horizontal ? shadow->x() : shadow->y();
369 int shadowY = horizontal ? shadow->y() : -shadow->x();
371 int shadowBlur = shadow->blur();
372 const Color& shadowColor = shadow->color();
374 if (shadow->next() || stroked || !opaque) {
390 const FloatRect& boxRect, const ShadowData* shadow, boo
389 paintTextWithShadows(GraphicsContext* context, const Font& font, const TextRun& textRun, const AtomicString& emphasisMark, int emphasisMarkOffset, int startOffset, int endOffset, int truncationPoint, const FloatPoint& textOrigin, const FloatRect& boxRect, const ShadowData* shadow, bool stroked, bool horizontal) argument
618 const ShadowData* shadow = paintInfo.forceBlackText ? 0 : pseudoStyle->textShadow(); local
877 paintDecoration(GraphicsContext* context, const FloatPoint& boxOrigin, int deco, const ShadowData* shadow) argument
[all...]
H A DRenderSlider.cpp182 Node* shadow = static_cast<Element*>(node())->shadowRoot(); local
183 return shadow ? toSliderThumbElement(shadow->firstChild()) : 0;
/external/webkit/Source/WebCore/platform/graphics/gtk/
H A DFontGtk.cpp223 ContextShadow* shadow = graphicsContext->contextShadow(); local
224 ASSERT(shadow);
226 if (!(graphicsContext->textDrawingMode() & TextModeFill) || shadow->m_type == ContextShadow::NoShadow)
229 FloatPoint totalOffset(point + shadow->m_offset);
232 if (!shadow->mustUseContextShadow(graphicsContext)) {
237 setSourceRGBAFromColor(context, shadow->m_color);
248 cairo_t* shadowContext = shadow->beginShadowLayer(graphicsContext, extents);
253 // We need the clipping region to be active when we blit the blurred shadow back,
264 shadow->endShadowLayer(graphicsContext);
290 // to calculate the size of the shadow buffe
[all...]
/external/webkit/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/
H A DLeaksViewer.css46 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.8);
/external/webkit/Tools/Scripts/webkitpy/tool/commands/data/rebaselineserver/
H A Dmain.css66 -webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, .5);
89 -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
129 -webkit-box-shadow: 0 0 5px #33f inset;
250 -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, .5);

Completed in 420 milliseconds

123