/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
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 | 48 void RenderSVGForeignObject::paint(PaintInfo& paintInfo, const LayoutPoint&) 50 if (paintInfo.context->paintingDisabled() 51 || (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseSelection)) 54 PaintInfo childPaintInfo(paintInfo); 63 if (paintInfo.phase == PaintPhaseForeground) { 71 bool preservePhase = paintInfo.phase == PaintPhaseSelection || paintInfo.phase == PaintPhaseTextClip [all...] |
RenderSVGContainer.cpp | 108 void RenderSVGContainer::paint(PaintInfo& paintInfo, const LayoutPoint&) 110 ANNOTATE_GRAPHICS_CONTEXT(paintInfo, this); 112 if (paintInfo.context->paintingDisabled()) 120 if (!SVGRenderSupport::paintInfoIntersectsRepaintRect(repaintRect, localToParentTransform(), paintInfo)) 123 PaintInfo childPaintInfo(paintInfo); 151 if ((paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) && style()->outlineWidth() && style()->visibility() == VISIBLE) { 153 paintOutline(paintInfo, paintRectInParent) [all...] |
SVGRenderingContext.h | 28 #include "core/rendering/PaintInfo.h" 60 SVGRenderingContext(RenderObject* object, PaintInfo& paintinfo, NeedsGraphicsContextSave needsGraphicsContextSave = DontSaveGraphicsContext) 69 prepareToRenderSVGContent(object, paintinfo, needsGraphicsContextSave); 76 void prepareToRenderSVGContent(RenderObject*, PaintInfo&, NeedsGraphicsContextSave = DontSaveGraphicsContext); 109 PaintInfo* m_paintInfo;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderThemeChromiumMac.h | 76 virtual bool paintCapsLockIndicator(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 81 virtual bool paintMeter(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 97 virtual bool paintTextField(RenderObject*, const PaintInfo&, const IntRect&); 99 virtual bool paintTextArea(RenderObject*, const PaintInfo&, const IntRect&); 101 virtual bool paintMenuList(RenderObject*, const PaintInfo&, const IntRect&); 104 virtual bool paintMenuListButton(RenderObject*, const PaintInfo&, const IntRect&); 107 virtual bool paintProgressBar(RenderObject*, const PaintInfo&, const IntRect&); 109 virtual bool paintSliderTrack(RenderObject*, const PaintInfo&, const IntRect&); 111 virtual bool paintSliderThumb(RenderObject*, const PaintInfo&, const IntRect&); 113 virtual bool paintSearchField(RenderObject*, const PaintInfo&, const IntRect&) [all...] |
RenderMediaControls.cpp | 34 #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...] |
RenderReplica.cpp | 74 void RenderReplica::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) 76 ANNOTATE_GRAPHICS_CONTEXT(paintInfo, this); 78 if (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseMask) 83 if (paintInfo.phase == PaintPhaseForeground) { 87 LayerPaintingInfo paintingInfo(rootPaintingLayer, paintInfo.rect, PaintBehaviorNormal, LayoutSize(), 0, paintInfo.renderRegion); 89 layer()->parent()->paintLayer(paintInfo.context, paintingInfo, flags); 90 } else if (paintInfo.phase == PaintPhaseMask [all...] |
RenderTheme.h | 73 bool paint(RenderObject*, const PaintInfo&, const IntRect&); 74 bool paintBorderOnly(RenderObject*, const PaintInfo&, const IntRect&); 75 bool paintDecorations(RenderObject*, const PaintInfo&, const IntRect&); 168 virtual bool paintCapsLockIndicator(RenderObject*, const PaintInfo&, const IntRect&) { return 0; }; 190 void paintSliderTicks(RenderObject*, const PaintInfo&, const IntRect&); 224 virtual bool paintCheckbox(RenderObject*, const PaintInfo&, const IntRect&) { return true; } 228 virtual bool paintRadio(RenderObject*, const PaintInfo&, const IntRect&) { return true; } 232 virtual bool paintButton(RenderObject*, const PaintInfo&, const IntRect&) { return true; } 235 virtual bool paintInnerSpinButton(RenderObject*, const PaintInfo&, const IntRect&) { return true; } 238 virtual bool paintTextField(RenderObject*, const PaintInfo&, const IntRect&) { return true; [all...] |
RenderThemeChromiumWin.h | 67 virtual bool paintCheckbox(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 68 virtual bool paintRadio(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 69 virtual bool paintButton(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 70 virtual bool paintTextField(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 71 virtual bool paintSliderTrack(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 72 virtual bool paintSliderThumb(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 77 virtual bool paintMenuList(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 78 virtual bool paintMenuListButton(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 81 virtual bool paintInnerSpinButton(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 85 virtual bool paintProgressBar(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE [all...] |
RenderWidget.cpp | 228 void RenderWidget::paintContents(PaintInfo& paintInfo, const LayoutPoint& paintOffset) 237 IntRect paintRect = paintInfo.rect; 243 paintInfo.context->translate(widgetPaintOffset); 246 m_widget->paint(paintInfo.context, paintRect); 249 paintInfo.context->translate(-widgetPaintOffset); 254 if (paintInfo.overlapTestRequests && runOverlapTests) { 255 ASSERT(!paintInfo.overlapTestRequests->contains(this)); 256 paintInfo.overlapTestRequests->set(this, m_widget->frameRect()); 261 void RenderWidget::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset [all...] |
RenderThemeChromiumDefault.h | 66 virtual bool paintCheckbox(RenderObject*, const PaintInfo&, const IntRect&); 69 virtual bool paintRadio(RenderObject*, const PaintInfo&, const IntRect&); 72 virtual bool paintButton(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 73 virtual bool paintTextField(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 74 virtual bool paintMenuList(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 75 virtual bool paintMenuListButton(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 76 virtual bool paintSliderTrack(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 77 virtual bool paintSliderThumb(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 80 virtual bool paintInnerSpinButton(RenderObject*, const PaintInfo&, const IntRect&); 84 virtual bool paintProgressBar(RenderObject*, const PaintInfo&, const IntRect&) [all...] |
GraphicsContextAnnotator.h | 35 #define ANNOTATE_GRAPHICS_CONTEXT(paintInfo, renderer) \ 37 if (UNLIKELY(paintInfo.context->annotationMode())) \ 38 scopedGraphicsContextAnnotator.annotate(paintInfo, renderer) 43 struct PaintInfo; 58 void annotate(const PaintInfo&, const RenderObject*);
|
RenderThemeChromiumSkia.h | 78 virtual bool paintTextArea(RenderObject*, const PaintInfo&, const IntRect&); 81 virtual bool paintSearchField(RenderObject*, const PaintInfo&, const IntRect&); 84 virtual bool paintSearchFieldCancelButton(RenderObject*, const PaintInfo&, const IntRect&); 89 virtual bool paintSearchFieldResultsDecoration(RenderObject*, const PaintInfo&, const IntRect&); 91 virtual bool paintMediaSliderTrack(RenderObject*, const PaintInfo&, const IntRect&); 92 virtual bool paintMediaVolumeSliderTrack(RenderObject*, const PaintInfo&, const IntRect&); 94 virtual bool paintMediaSliderThumb(RenderObject*, const PaintInfo&, const IntRect&); 95 virtual bool paintMediaToggleClosedCaptionsButton(RenderObject*, const PaintInfo&, const IntRect&); 96 virtual bool paintMediaVolumeSliderThumb(RenderObject*, const PaintInfo&, const IntRect&); 97 virtual bool paintMediaPlayButton(RenderObject*, const PaintInfo&, const IntRect&) [all...] |
RenderThemeChromiumSkia.cpp | 28 #include "core/rendering/PaintInfo.h" 190 bool RenderThemeChromiumSkia::paintTextArea(RenderObject* o, const PaintInfo& i, const IntRect& r) 201 bool RenderThemeChromiumSkia::paintSearchField(RenderObject* o, const PaintInfo& i, const IntRect& r) 227 bool RenderThemeChromiumSkia::paintSearchFieldCancelButton(RenderObject* cancelButtonObject, const PaintInfo& paintInfo, const IntRect& r) 249 paintInfo.context->drawImage(isPressed(cancelButtonObject) ? cancelPressedImage : cancelImage, paintingRect); 270 bool RenderThemeChromiumSkia::paintSearchFieldResultsDecoration(RenderObject* magnifierObject, const PaintInfo& paintInfo, const IntRect& r) 291 paintInfo.context->drawImage(magnifierImage, paintingRect); 295 bool RenderThemeChromiumSkia::paintMediaSliderTrack(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect [all...] |
RenderThemeChromiumMac.mm | 38 #import "core/rendering/PaintInfo.h" 752 bool RenderThemeChromiumMac::paintTextField(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r) 754 LocalCurrentGraphicsContext localContext(paintInfo.context); 773 GraphicsContextStateSaver stateSaver(*paintInfo.context); 783 bool RenderThemeChromiumMac::paintCapsLockIndicator(RenderObject*, const PaintInfo& paintInfo, const IntRect& r) 785 if (paintInfo.context->paintingDisabled()) 789 LocalCurrentGraphicsContext localContext(paintInfo.context); [all...] |
RenderHTMLCanvas.cpp | 34 #include "core/rendering/PaintInfo.h" 56 void RenderHTMLCanvas::paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOffset) 58 GraphicsContext* context = paintInfo.context; 68 paintInfo.context->save(); 69 paintInfo.context->clip(pixelSnappedIntRect(contentRect));
|
RenderFieldset.cpp | 29 #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...] |
RenderDetailsMarker.cpp | 26 #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...] |
RenderScrollbarPart.cpp | 30 #include "core/rendering/PaintInfo.h" 188 PaintInfo paintInfo(graphicsContext, pixelSnappedIntRect(rect), PaintPhaseBlockBackground, PaintBehaviorNormal); 189 paint(paintInfo, paintOffset); 190 paintInfo.phase = PaintPhaseChildBlockBackgrounds; 191 paint(paintInfo, paintOffset); 192 paintInfo.phase = PaintPhaseFloat; 193 paint(paintInfo, paintOffset); 194 paintInfo.phase = PaintPhaseForeground; 195 paint(paintInfo, paintOffset) [all...] |
GraphicsContextAnnotator.cpp | 35 #include "core/rendering/PaintInfo.h" 81 void GraphicsContextAnnotator::annotate(const PaintInfo& paintInfo, const RenderObject* object) 85 ASSERT(paintInfo.context); 88 AnnotationModeFlags mode = paintInfo.context->annotationMode(); 99 paintPhase = paintPhaseName(paintInfo.phase); 124 m_context = paintInfo.context;
|
RenderEmbeddedObject.cpp | 35 #include "core/rendering/PaintInfo.h" 108 void RenderEmbeddedObject::paintContents(PaintInfo& paintInfo, const LayoutPoint& paintOffset) 114 RenderPart::paintContents(paintInfo, paintOffset); 117 void RenderEmbeddedObject::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) 120 RenderReplaced::paint(paintInfo, paintOffset); 124 RenderPart::paint(paintInfo, paintOffset); 127 void RenderEmbeddedObject::paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOffset [all...] |
RenderEmbeddedObject.h | 54 virtual void paintReplaced(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL; 55 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL; 67 void paintSnapshotImage(PaintInfo&, const LayoutPoint&, Image*); 68 virtual void paintContents(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL;
|
RenderReplaced.cpp | 109 void RenderReplaced::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) 111 ANNOTATE_GRAPHICS_CONTEXT(paintInfo, this); 113 if (!shouldPaint(paintInfo, paintOffset)) 118 if (hasBoxDecorations() && (paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseSelection)) 119 paintBoxDecorations(paintInfo, adjustedPaintOffset); 121 if (paintInfo.phase == PaintPhaseMask) { 122 paintMask(paintInfo, adjustedPaintOffset); 126 if (paintInfo.phase == PaintPhaseClippingMask && (!hasLayer() || !layer()->hasCompositedClippingMask()) [all...] |
RenderTheme.cpp | 47 #include "core/rendering/PaintInfo.h" 242 bool RenderTheme::paint(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r) 247 if (paintInfo.context->updatingControlTints()) { 252 if (paintInfo.context->paintingDisabled()) 258 return paintUsingFallbackTheme(o, paintInfo, r); 268 m_platformTheme->paint(part, controlStatesForRenderer(o), const_cast<GraphicsContext*>(paintInfo.context), r, o->style()->effectiveZoom(), o->view()->frameView()); 279 return paintCheckbox(o, paintInfo, r); 281 return paintRadio(o, paintInfo, r); 285 return paintButton(o, paintInfo, r) [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...] |