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

1 2 3 4

  /external/webkit/Source/WebCore/rendering/style/
ShadowData.cpp 59 static inline void calculateShadowExtent(const ShadowData* shadow, int additionalOutlineSize, int& shadowLeft, int& shadowRight, int& shadowTop, int& shadowBottom)
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->next()
    [all...]
SVGRenderStyleDefs.cpp 168 , shadow(other.shadow ? new ShadowData(*other.shadow) : 0)
174 if ((!shadow && other.shadow) || (shadow && !other.shadow))
176 if (shadow && other.shadow && (*shadow != *other.shadow)
    [all...]
ShadowData.h 37 // This struct holds information about shadows for the text-shadow and box-shadow properties.
83 void setNext(ShadowData* shadow) { m_next = shadow; }
  /external/chromium/chrome/browser/chromeos/login/
rounded_rect_painter.cc 81 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_color)
180 int shadow = border_->shadow; local
    [all...]
rounded_rect_painter.h 22 int shadow; member in struct:chromeos::BorderDefinition
  /frameworks/base/libs/hwui/
TextDropShadowCache.cpp 35 INIT_LOGD(" Setting drop shadow cache size to %sMB", property);
38 INIT_LOGD(" Using default drop shadow cache size of %.2fMB",
88 LOGD("Shadow texture deleted, size = %d", texture->bitmapSize);
110 FontRenderer::DropShadow shadow = mRenderer->renderDropShadow(paint, text, 0, local
114 texture->left = shadow.penX;
115 texture->top = shadow.penY;
116 texture->width = shadow.width;
117 texture->height = shadow.height;
121 const uint32_t size = shadow.width * shadow.height
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/qt/
StillImageQt.cpp 77 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);
GraphicsContextQt.cpp 201 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->m_color.alpha()) / 255)
552 ContextShadow* shadow = contextShadow(); local
673 ContextShadow* shadow = contextShadow(); local
729 ContextShadow* shadow = contextShadow(); local
753 ContextShadow* shadow = contextShadow(); local
    [all...]
ImageQt.cpp 227 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/
SVGRenderSupport.cpp 64 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->blur(), shadow->color(), style->colorSpace())
    [all...]
  /external/chromium/base/
at_exit.cc 16 // use the shadow version of the constructor. We don't protect this for
66 AtExitManager::AtExitManager(bool shadow) : next_manager_(g_top_manager) {
67 DCHECK(shadow || !g_top_manager);
at_exit.h 53 // destruction. This allows you to shadow another AtExitManager.
54 explicit AtExitManager(bool shadow);
lazy_instance_unittest.cc 64 base::ShadowingAtExitManager shadow; local
85 base::ShadowingAtExitManager shadow; local
124 base::ShadowingAtExitManager shadow; local
134 base::ShadowingAtExitManager shadow; local
  /external/webkit/Source/WebCore/html/
HTMLKeygenElement.cpp 92 // 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/
FontCairo.cpp 70 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);
ImageCairo.cpp 139 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);
  /frameworks/base/services/camera/libcameraservice/
FakeCamera.h 52 void drawSquare(uint16_t *buffer, int x, int y, int size, int color, int shadow);
  /external/valgrind/main/memcheck/tests/
sh-mem-random.c 1 // 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/
EditorMac.mm 110 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())];
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
ShirtPocket.java 165 DragShadowBuilder shadow; local
167 shadow = new DragShadowBuilder(this) {
178 shadow = new DragShadowBuilder(this);
181 startDrag(clip, shadow, null, 0);
213 DragShadowBuilder shadow;
215 shadow = new DragShadowBuilder(v) {
226 shadow = new DragShadowBuilder(mWindow.findViewById(R.id.preview));
229 v.startDrag(clip, shadow, null, 0);
  /external/webkit/Source/WebCore/css/
SVGCSSPropertyNames.in 51 -webkit-svg-shadow
  /external/webkit/Source/WebCore/platform/graphics/android/
GraphicsContextAndroid.cpp 106 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.color)
    [all...]
  /external/webkit/Source/WebCore/bindings/v8/custom/
V8HTMLDocumentCustom.cpp 68 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/
InlineTextBox.cpp 362 FloatSize InlineTextBox::applyShadowToGraphicsContext(GraphicsContext* context, const ShadowData* shadow, const FloatRect& textRect, bool stroked, bool opaque, bool horizontal)
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, bool stroked, bool horizontal
618 const ShadowData* shadow = paintInfo.forceBlackText ? 0 : pseudoStyle->textShadow(); local
    [all...]
RenderSlider.cpp 182 Node* shadow = static_cast<Element*>(node())->shadowRoot(); local
183 return shadow ? toSliderThumbElement(shadow->firstChild()) : 0;

Completed in 6553 milliseconds

1 2 3 4