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

1 2 3

  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderReplica.cpp 72 void RenderReplica::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
74 ANNOTATE_GRAPHICS_CONTEXT(paintInfo, this);
76 if (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseMask)
81 if (paintInfo.phase == PaintPhaseForeground) {
85 RenderLayer::LayerPaintingInfo paintingInfo(rootPaintingLayer, paintInfo.rect, PaintBehaviorNormal, LayoutSize(), 0, paintInfo.renderRegion);
87 layer()->parent()->paintLayer(paintInfo.context, paintingInfo, flags);
88 } else if (paintInfo.phase == PaintPhaseMask
    [all...]
RenderWidget.cpp 224 void RenderWidget::paintContents(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
233 IntRect paintRect = paintInfo.rect;
239 paintInfo.context->translate(widgetPaintOffset);
242 m_widget->paint(paintInfo.context, paintRect);
245 paintInfo.context->translate(-widgetPaintOffset);
250 if (paintInfo.overlapTestRequests && runOverlapTests) {
251 ASSERT(!paintInfo.overlapTestRequests->contains(this));
252 paintInfo.overlapTestRequests->set(this, m_widget->frameRect());
257 void RenderWidget::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset
    [all...]
RenderMediaControlsChromium.cpp 36 #include "core/rendering/PaintInfo.h"
69 static bool paintMediaMuteButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect)
82 return paintMediaButton(paintInfo.context, rect, soundDisabled);
85 return paintMediaButton(paintInfo.context, rect, soundLevel0);
88 return paintMediaButton(paintInfo.context, rect, soundLevel1);
91 return paintMediaButton(paintInfo.context, rect, soundLevel2);
93 return paintMediaButton(paintInfo.context, rect, soundLevel3);
96 static bool paintMediaPlayButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect
    [all...]
RenderDetailsMarker.cpp 27 #include "core/rendering/PaintInfo.h"
114 void RenderDetailsMarker::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
116 if (paintInfo.phase != PaintPhaseForeground || style()->visibility() != VISIBLE) {
117 RenderBlock::paint(paintInfo, paintOffset);
124 overflowRect.inflate(maximalOutlineSize(paintInfo.phase));
126 if (!paintInfo.rect.intersects(pixelSnappedIntRect(overflowRect)))
130 paintInfo.context->setStrokeColor(color);
131 paintInfo.context->setStrokeStyle(SolidStroke);
132 paintInfo.context->setStrokeThickness(1.0f)
    [all...]
RenderFieldset.cpp 30 #include "core/rendering/PaintInfo.h"
138 void RenderFieldset::paintBoxDecorations(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
140 if (!paintInfo.shouldPaintWithinRoot(this))
146 return RenderBlock::paintBoxDecorations(paintInfo, paintOffset);
161 if (!boxShadowShouldBeAppliedToBackground(determineBackgroundBleedAvoidance(paintInfo.context)))
162 paintBoxShadow(paintInfo, paintRect, style(), Normal);
163 paintFillLayers(paintInfo, resolveColor(CSSPropertyBackgroundColor), style()->backgroundLayers(), paintRect);
164 paintBoxShadow(paintInfo, paintRect, style(), Inset);
170 GraphicsContext* graphicsContext = paintInfo.context
    [all...]
RenderThemeChromiumSkia.cpp 32 #include "core/rendering/PaintInfo.h"
189 bool RenderThemeChromiumSkia::paintTextArea(RenderObject* o, const PaintInfo& i, const IntRect& r)
200 bool RenderThemeChromiumSkia::paintSearchField(RenderObject* o, const PaintInfo& i, const IntRect& r)
226 bool RenderThemeChromiumSkia::paintSearchFieldCancelButton(RenderObject* cancelButtonObject, const PaintInfo& paintInfo, const IntRect& r)
248 paintInfo.context->drawImage(isPressed(cancelButtonObject) ? cancelPressedImage : cancelImage, paintingRect);
269 bool RenderThemeChromiumSkia::paintSearchFieldResultsDecoration(RenderObject* magnifierObject, const PaintInfo& paintInfo, const IntRect& r)
290 paintInfo.context->drawImage(magnifierImage, paintingRect);
294 bool RenderThemeChromiumSkia::paintMediaSliderTrack(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect
    [all...]
RenderHTMLCanvas.cpp 34 #include "core/rendering/PaintInfo.h"
56 void RenderHTMLCanvas::paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
63 if (paintInfo.phase == PaintPhaseForeground)
69 toHTMLCanvasElement(node())->paint(paintInfo.context, rect, useLowQualityScale);
RenderReplaced.cpp 105 void RenderReplaced::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
107 ANNOTATE_GRAPHICS_CONTEXT(paintInfo, this);
109 if (!shouldPaint(paintInfo, paintOffset))
114 if (hasBoxDecorations() && (paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseSelection))
115 paintBoxDecorations(paintInfo, adjustedPaintOffset);
117 if (paintInfo.phase == PaintPhaseMask) {
118 paintMask(paintInfo, adjustedPaintOffset);
123 if ((paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) && style()->outlineWidth()
    [all...]
RenderThemeChromiumMac.mm 51 #import "core/rendering/PaintInfo.h"
753 bool RenderThemeChromiumMac::paintTextField(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r)
755 LocalCurrentGraphicsContext localContext(paintInfo.context);
774 GraphicsContextStateSaver stateSaver(*paintInfo.context);
788 bool RenderThemeChromiumMac::paintCapsLockIndicator(RenderObject*, const PaintInfo& paintInfo, const IntRect& r)
790 if (paintInfo.context->paintingDisabled())
794 LocalCurrentGraphicsContext localContext(paintInfo.context);
    [all...]
RenderEmbeddedObject.cpp 40 #include "core/rendering/PaintInfo.h"
114 void RenderEmbeddedObject::paintContents(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
120 RenderPart::paintContents(paintInfo, paintOffset);
123 void RenderEmbeddedObject::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
130 if (page && paintInfo.phase == PaintPhaseForeground)
132 RenderReplaced::paint(paintInfo, paintOffset);
136 if (page && paintInfo.phase == PaintPhaseForeground)
139 RenderPart::paint(paintInfo, paintOffset)
    [all...]
RenderScrollbarPart.cpp 29 #include "core/rendering/PaintInfo.h"
187 PaintInfo paintInfo(graphicsContext, pixelSnappedIntRect(rect), PaintPhaseBlockBackground, PaintBehaviorNormal);
188 paint(paintInfo, paintOffset);
189 paintInfo.phase = PaintPhaseChildBlockBackgrounds;
190 paint(paintInfo, paintOffset);
191 paintInfo.phase = PaintPhaseFloat;
192 paint(paintInfo, paintOffset);
193 paintInfo.phase = PaintPhaseForeground;
194 paint(paintInfo, paintOffset)
    [all...]
RenderTableRow.cpp 32 #include "core/rendering/PaintInfo.h"
235 void RenderTableRow::paintOutlineForRowIfNeeded(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
238 PaintPhase paintPhase = paintInfo.phase;
240 paintOutline(paintInfo, LayoutRect(adjustedPaintOffset, size()));
243 void RenderTableRow::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
246 ANNOTATE_GRAPHICS_CONTEXT(paintInfo, this);
248 paintOutlineForRowIfNeeded(paintInfo, paintOffset);
252 if (paintInfo.phase == PaintPhaseBlockBackground || paintInfo.phase == PaintPhaseChildBlockBackground)
    [all...]
RenderTheme.cpp 52 #include "core/rendering/PaintInfo.h"
268 bool RenderTheme::paint(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r)
273 if (paintInfo.context->updatingControlTints()) {
278 if (paintInfo.context->paintingDisabled())
284 return paintUsingFallbackTheme(o, paintInfo, r);
294 m_theme->paint(part, controlStatesForRenderer(o), const_cast<GraphicsContext*>(paintInfo.context), r, o->style()->effectiveZoom(), o->view()->frameView());
305 return paintCheckbox(o, paintInfo, r);
307 return paintRadio(o, paintInfo, r);
311 return paintButton(o, paintInfo, r)
    [all...]
RenderFileUploadControl.cpp 33 #include "core/rendering/PaintInfo.h"
94 void RenderFileUploadControl::paintObject(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
100 GraphicsContextStateSaver stateSaver(*paintInfo.context, false);
101 if (paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseChildBlockBackgrounds) {
107 paintInfo.context->clip(clipRect);
110 if (paintInfo.phase == PaintPhaseForeground) {
145 paintInfo.context->setFillColor(resolveColor(CSSPropertyColor));
148 paintInfo.context->drawBidiText(font, textRunPaintInfo, IntPoint(roundToInt(textX), roundToInt(textY)))
    [all...]
RenderLineBoxList.cpp 34 #include "core/rendering/PaintInfo.h"
188 bool RenderLineBoxList::lineIntersectsDirtyRect(RenderBoxModelObject* renderer, InlineFlowBox* box, const PaintInfo& paintInfo, const LayoutPoint& offset) const
191 LayoutUnit logicalTop = min<LayoutUnit>(box->logicalTopVisualOverflow(root->lineTop()), root->selectionTop()) - renderer->maximalOutlineSize(paintInfo.phase);
192 LayoutUnit logicalBottom = box->logicalBottomVisualOverflow(root->lineBottom()) + renderer->maximalOutlineSize(paintInfo.phase);
194 return rangeIntersectsRect(renderer, logicalTop, logicalBottom, paintInfo.rect, offset);
197 void RenderLineBoxList::paint(RenderBoxModelObject* renderer, PaintInfo& paintInfo, const LayoutPoint& paintOffset) const
200 if (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseSelection && paintInfo.phase != PaintPhaseOutlin
    [all...]
RenderThemeChromiumAndroid.cpp 34 #include "core/rendering/PaintInfo.h"
93 bool RenderThemeChromiumAndroid::paintMediaOverlayPlayButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect)
95 return RenderMediaControlsChromium::paintMediaControlsPart(MediaOverlayPlayButton, object, paintInfo, rect);
RenderVideo.cpp 37 #include "core/rendering/PaintInfo.h"
179 void RenderVideo::paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
189 if (page && paintInfo.phase == PaintPhaseForeground)
196 if (page && paintInfo.phase == PaintPhaseForeground)
202 if (page && paintInfo.phase == PaintPhaseForeground)
206 paintIntoRect(paintInfo.context, rect);
208 mediaPlayer->paintCurrentFrameInContext(paintInfo.context, pixelSnappedIntRect(rect));
210 mediaPlayer->paint(paintInfo.context, pixelSnappedIntRect(rect));
RenderImage.cpp 45 #include "core/rendering/PaintInfo.h"
276 void RenderImage::paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
285 GraphicsContext* context = paintInfo.context;
292 if (paintInfo.phase == PaintPhaseSelection)
295 if (page && paintInfo.phase == PaintPhaseForeground)
361 if (page && paintInfo.phase == PaintPhaseForeground)
371 if (cachedImage() && page && paintInfo.phase == PaintPhaseForeground) {
382 void RenderImage::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
GraphicsContextAnnotation.h 37 #define ANNOTATE_GRAPHICS_CONTEXT(paintInfo, renderer) \
39 if (UNLIKELY(paintInfo.context->annotationMode())) \
40 scopedGraphicsContextAnnotator.annotate(paintInfo, renderer)
46 struct PaintInfo;
63 GraphicsContextAnnotation(const PaintInfo&, const RenderObject*);
93 void annotate(const PaintInfo&, const RenderObject*);
GraphicsContextAnnotation.cpp 35 #include "core/rendering/PaintInfo.h"
85 GraphicsContextAnnotation::GraphicsContextAnnotation(const PaintInfo& paintInfo, const RenderObject* object)
89 ASSERT(paintInfo.context);
92 AnnotationModeFlags mode = paintInfo.context->annotationMode();
99 m_paintPhase = paintPhaseName(paintInfo.phase);
145 void GraphicsContextAnnotator::annotate(const PaintInfo& paintInfo, const RenderObject* object)
149 m_context = paintInfo.context;
150 m_context->beginAnnotation(GraphicsContextAnnotation(paintInfo, object))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
RenderSVGContainer.cpp 106 void RenderSVGContainer::paint(PaintInfo& paintInfo, const LayoutPoint&)
108 ANNOTATE_GRAPHICS_CONTEXT(paintInfo, this);
110 if (paintInfo.context->paintingDisabled())
118 if (!SVGRenderSupport::paintInfoIntersectsRepaintRect(repaintRect, localToParentTransform(), paintInfo))
121 PaintInfo childPaintInfo(paintInfo);
149 if ((paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) && style()->outlineWidth() && style()->visibility() == VISIBLE) {
151 paintOutline(paintInfo, paintRectInParent)
    [all...]
SVGInlineFlowBox.cpp 36 void SVGInlineFlowBox::paintSelectionBackground(PaintInfo& paintInfo)
38 ASSERT(paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseSelection);
39 ASSERT(!paintInfo.context->paintingDisabled());
41 PaintInfo childPaintInfo(paintInfo);
50 void SVGInlineFlowBox::paint(PaintInfo& paintInfo, const LayoutPoint&, LayoutUnit, LayoutUnit)
52 ASSERT(paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseSelection)
    [all...]
RenderSVGForeignObject.cpp 47 void RenderSVGForeignObject::paint(PaintInfo& paintInfo, const LayoutPoint&)
49 if (paintInfo.context->paintingDisabled()
50 || (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseSelection))
53 PaintInfo childPaintInfo(paintInfo);
62 if (paintInfo.phase == PaintPhaseForeground) {
70 bool preservePhase = paintInfo.phase == PaintPhaseSelection || paintInfo.phase == PaintPhaseTextClip
    [all...]
RenderSVGImage.cpp 123 void RenderSVGImage::paint(PaintInfo& paintInfo, const LayoutPoint&)
125 ANNOTATE_GRAPHICS_CONTEXT(paintInfo, this);
127 if (paintInfo.context->paintingDisabled() || style()->visibility() == HIDDEN || !m_imageResource->hasImage())
131 if (!SVGRenderSupport::paintInfoIntersectsRepaintRect(boundingBox, m_localTransform, paintInfo))
134 PaintInfo childPaintInfo(paintInfo);
156 void RenderSVGImage::paintForeground(PaintInfo& paintInfo)
167 useLowQualityScaling = ImageQualityController::imageQualityController()->shouldPaintAtLowQuality(paintInfo.context, this, image.get(), image.get(), LayoutSize(destRect.size()))
    [all...]
  /frameworks/base/libs/hwui/
PathTessellator.cpp 94 struct PaintInfo {
96 PaintInfo(const SkPaint* paint, const mat4 *transform) :
188 void getStrokeVerticesFromPerimeter(const PaintInfo& paintInfo, const Vector<Vertex>& perimeter,
205 paintInfo.scaleOffsetForStrokeWidth(totalOffset);
227 static inline void storeBeginEnd(const PaintInfo& paintInfo, const Vertex& center,
230 paintInfo.scaleOffsetForStrokeWidth(strokeOffset);
233 if (paintInfo.cap == SkPaint::kSquare_Cap) {
248 void getStrokeVerticesFromUnclosedVertices(const PaintInfo& paintInfo
    [all...]

Completed in 187 milliseconds

1 2 3