/external/webkit/Source/WebCore/rendering/ |
RenderReplica.cpp | 63 void RenderReplica::paint(PaintInfo& paintInfo, int tx, int ty) 65 if (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseMask) 71 if (paintInfo.phase == PaintPhaseForeground) 75 paintInfo.context, paintInfo.rect, 78 else if (paintInfo.phase == PaintPhaseMask) 79 paintMask(paintInfo, tx, ty);
|
RenderThemeChromiumMac.mm | 23 #import "PaintInfo.h" 108 bool RenderThemeChromiumMac::paintMediaPlayButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) 110 return RenderMediaControlsChromium::paintMediaControlsPart(MediaPlayButton, object, paintInfo, rect); 113 bool RenderThemeChromiumMac::paintMediaMuteButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) 115 return RenderMediaControlsChromium::paintMediaControlsPart(MediaMuteButton, object, paintInfo, rect); 118 bool RenderThemeChromiumMac::paintMediaSliderTrack(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) 120 return RenderMediaControlsChromium::paintMediaControlsPart(MediaSlider, object, paintInfo, rect) [all...] |
RenderReplaced.cpp | 97 void RenderReplaced::paint(PaintInfo& paintInfo, int tx, int ty) 99 if (!shouldPaint(paintInfo, tx, ty)) 105 if (hasBoxDecorations() && (paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseSelection)) 106 paintBoxDecorations(paintInfo, tx, ty); 108 if (paintInfo.phase == PaintPhaseMask) { 109 paintMask(paintInfo, tx, ty); 113 if ((paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) && style()->outlineWidth() [all...] |
RenderMediaControls.cpp | 35 #include "PaintInfo.h" 74 static FloatRect getUnzoomedRectAndAdjustCurrentContext(RenderObject* o, const PaintInfo& paintInfo, const IntRect &originalRect) 81 paintInfo.context->translate(unzoomedRect.x(), unzoomedRect.y()); 82 paintInfo.context->scale(FloatSize(zoomLevel, zoomLevel)); 83 paintInfo.context->translate(-unzoomedRect.x(), -unzoomedRect.y()); 106 bool RenderMediaControls::paintMediaControlsPart(MediaControlElementType part, RenderObject* o, const PaintInfo& paintInfo, const IntRect& r) 109 paintInfo.context->save(); 112 wkDrawMediaUIPart(WKMediaUIPartFullscreenButton, themeStyle, paintInfo.context->platformContext(), r, determineState(o)) [all...] |
RenderMediaControlsChromium.cpp | 35 #include "PaintInfo.h" 71 static bool paintMediaMuteButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) 82 return paintMediaButton(paintInfo.context, rect, soundDisabled); 84 return paintMediaButton(paintInfo.context, rect, mediaElement->muted() ? soundNone: soundFull); 87 static bool paintMediaPlayButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) 98 return paintMediaButton(paintInfo.context, rect, mediaPlayDisabled); 100 return paintMediaButton(paintInfo.context, rect, mediaElement->canPlay() ? mediaPlay : mediaPause); 109 static bool paintMediaSlider(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect [all...] |
RenderWidget.cpp | 249 void RenderWidget::paint(PaintInfo& paintInfo, int tx, int ty) 251 if (!shouldPaint(paintInfo, tx, ty)) 257 if (hasBoxDecorations() && (paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseSelection)) 258 paintBoxDecorations(paintInfo, tx, ty); 260 if (paintInfo.phase == PaintPhaseMask) { 261 paintMask(paintInfo, tx, ty); 265 if (!m_frameView || paintInfo.phase != PaintPhaseForeground || style()->visibility() != VISIBLE) 269 if (style()->highlight() != nullAtom && !paintInfo.context->paintingDisabled() [all...] |
RenderDetailsMarker.cpp | 26 #include "PaintInfo.h" 121 void RenderDetailsMarker::paint(PaintInfo& paintInfo, int tx, int ty) 123 if (paintInfo.phase != PaintPhaseForeground || style()->visibility() != VISIBLE) { 124 RenderBlock::paint(paintInfo, tx, ty); 131 overflowRect.inflate(maximalOutlineSize(paintInfo.phase)); 133 if (!paintInfo.rect.intersects(overflowRect)) 137 paintInfo.context->setStrokeColor(color, style()->colorSpace()); 138 paintInfo.context->setStrokeStyle(SolidStroke); 139 paintInfo.context->setStrokeThickness(1.0f) [all...] |
RenderScrollbarPart.cpp | 29 #include "PaintInfo.h" 173 PaintInfo paintInfo(graphicsContext, rect, PaintPhaseBlockBackground, false, 0, 0); 174 paint(paintInfo, tx, ty); 175 paintInfo.phase = PaintPhaseChildBlockBackgrounds; 176 paint(paintInfo, tx, ty); 177 paintInfo.phase = PaintPhaseFloat; 178 paint(paintInfo, tx, ty); 179 paintInfo.phase = PaintPhaseForeground; 180 paint(paintInfo, tx, ty) [all...] |
RenderThemeMac.mm | 38 #import "PaintInfo.h" 711 bool RenderThemeMac::paintTextField(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r) 713 LocalCurrentGraphicsContext localContext(paintInfo.context); 722 bool RenderThemeMac::paintCapsLockIndicator(RenderObject*, const PaintInfo& paintInfo, const IntRect& r) 724 if (paintInfo.context->paintingDisabled()) 727 LocalCurrentGraphicsContext localContext(paintInfo.context); 728 wkDrawCapsLockIndicator(paintInfo.context->platformContext(), r); 733 bool RenderThemeMac::paintTextArea(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r [all...] |
RenderThemeWinCE.cpp | 35 #include "PaintInfo.h" 192 bool RenderThemeWinCE::paintButton(RenderObject* o, const PaintInfo& i, const IntRect& r) 227 bool RenderThemeWinCE::paintTextField(RenderObject* o, const PaintInfo& i, const IntRect& r) 244 bool RenderThemeWinCE::paintMenuList(RenderObject* o, const PaintInfo& i, const IntRect& r) 251 bool RenderThemeWinCE::paintMenuListButton(RenderObject* o, const PaintInfo& i, const IntRect& r) 366 bool RenderThemeWinCE::paintSearchField(RenderObject* o, const PaintInfo& i, const IntRect& r) 371 bool RenderThemeWinCE::paintSearchFieldCancelButton(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r) 380 paintInfo.context->save(); 381 paintInfo.context->addRoundedRectClip(RoundedIntRect(cancelBounds, cancelRadius, cancelRadius, cancelRadius, (…) [all...] |
RenderThemeSafari.cpp | 38 #include "PaintInfo.h" 413 bool RenderThemeSafari::paintCheckbox(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r) 420 paintThemePart(SafariTheme::CheckboxPart, paintInfo.context->platformContext(), inflatedRect, controlSize, determineState(o)); 452 bool RenderThemeSafari::paintRadio(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r) 459 paintThemePart(RadioButtonPart, paintInfo.context->platformContext(), inflatedRect, controlSize, determineState(o)); 576 bool RenderThemeSafari::paintButton(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r) 605 paintThemePart(part, paintInfo.context->platformContext(), inflatedRect, controlSize, determineState(o)) [all...] |
RenderFieldset.cpp | 30 #include "PaintInfo.h" 131 void RenderFieldset::paintBoxDecorations(PaintInfo& paintInfo, int tx, int ty) 133 if (!paintInfo.shouldPaintWithinRoot(this)) 140 return RenderBlock::paintBoxDecorations(paintInfo, tx, ty); 155 paintBoxShadow(paintInfo.context, tx, ty, w, h, style(), Normal); 157 paintFillLayers(paintInfo, style()->visitedDependentColor(CSSPropertyBackgroundColor), style()->backgroundLayers(), tx, ty, w, h); 158 paintBoxShadow(paintInfo.context, tx, ty, w, h, style(), Inset); 164 GraphicsContext* graphicsContext = paintInfo.context; 180 paintBorder(paintInfo.context, tx, ty, w, h, style(), true, true) [all...] |
RenderTheme.cpp | 36 #include "PaintInfo.h" 249 bool RenderTheme::paint(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r) 254 if (paintInfo.context->updatingControlTints()) { 259 if (paintInfo.context->paintingDisabled()) 275 m_theme->paint(part, controlStatesForRenderer(o), const_cast<GraphicsContext*>(paintInfo.context), r, o->style()->effectiveZoom(), o->view()->frameView()); 286 return paintCheckbox(o, paintInfo, r); 288 return paintRadio(o, paintInfo, r); 294 return paintButton(o, paintInfo, r); 296 return paintInnerSpinButton(o, paintInfo, r) [all...] |
RenderThemeChromiumSkia.cpp | 34 #include "PaintInfo.h" 237 bool RenderThemeChromiumSkia::paintTextArea(RenderObject* o, const PaintInfo& i, const IntRect& r) 248 bool RenderThemeChromiumSkia::paintSearchField(RenderObject* o, const PaintInfo& i, const IntRect& r) 274 bool RenderThemeChromiumSkia::paintSearchFieldCancelButton(RenderObject* cancelButtonObject, const PaintInfo& paintInfo, const IntRect& r) 295 paintInfo.context->drawImage(isPressed(cancelButtonObject) ? cancelPressedImage : cancelImage, 317 bool RenderThemeChromiumSkia::paintSearchFieldResultsDecoration(RenderObject* magnifierObject, const PaintInfo& paintInfo, const IntRect& r) 337 paintInfo.context->drawImage(magnifierImage, magnifierObject->style()->colorSpace(), paintingRect); 352 bool RenderThemeChromiumSkia::paintSearchFieldResultsButton(RenderObject* magnifierObject, const PaintInfo& paintInfo, const IntRect& r [all...] |
RenderFileUploadControl.cpp | 35 #include "PaintInfo.h" 205 void RenderFileUploadControl::paintObject(PaintInfo& paintInfo, int tx, int ty) 212 if (paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseChildBlockBackgrounds) { 217 paintInfo.context->save(); 218 paintInfo.context->clip(clipRect); 221 if (paintInfo.phase == PaintPhaseForeground) { 242 paintInfo.context->setFillColor(style()->visitedDependentColor(CSSPropertyColor), style()->colorSpace()); 245 paintInfo.context->drawBidiText(style()->font(), textRun, IntPoint(textX, textY)) [all...] |
RenderLineBoxList.cpp | 34 #include "PaintInfo.h" 194 bool RenderLineBoxList::lineIntersectsDirtyRect(RenderBoxModelObject* renderer, InlineFlowBox* box, const PaintInfo& paintInfo, int tx, int ty) const 197 int logicalTop = min(box->logicalTopVisualOverflow(root->lineTop()), root->selectionTop()) - renderer->maximalOutlineSize(paintInfo.phase); 198 int logicalBottom = box->logicalBottomVisualOverflow(root->lineBottom()) + renderer->maximalOutlineSize(paintInfo.phase); 200 return rangeIntersectsRect(renderer, logicalTop, logicalBottom, paintInfo.rect, tx, ty); 203 void RenderLineBoxList::paint(RenderBoxModelObject* renderer, PaintInfo& paintInfo, int tx, int ty) const 206 if (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseSelection && paintInfo.phase != PaintPhaseOutline [all...] |
InlineBox.cpp | 25 #include "PaintInfo.h" 162 void InlineBox::paint(PaintInfo& paintInfo, int tx, int ty, int /* lineTop */, int /*lineBottom*/) 164 if (!paintInfo.shouldPaintWithinRoot(renderer()) || (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseSelection)) 174 bool preservePhase = paintInfo.phase == PaintPhaseSelection || paintInfo.phase == PaintPhaseTextClip; 175 PaintInfo info(paintInfo); [all...] |
RenderHTMLCanvas.cpp | 35 #include "PaintInfo.h" 57 void RenderHTMLCanvas::paintReplaced(PaintInfo& paintInfo, int tx, int ty) 61 static_cast<HTMLCanvasElement*>(node())->paint(paintInfo.context, rect);
|
/external/webkit/Source/WebCore/rendering/svg/ |
RenderSVGContainer.cpp | 94 void RenderSVGContainer::paint(PaintInfo& paintInfo, int, int) 96 if (paintInfo.context->paintingDisabled()) 104 if (!SVGRenderSupport::paintInfoIntersectsRepaintRect(repaintRect, localToParentTransform(), paintInfo)) 107 PaintInfo childPaintInfo(paintInfo); 125 if (paintInfo.phase == PaintPhaseForeground) 126 SVGRenderSupport::finishRenderSVGContent(this, childPaintInfo, paintInfo.context); 135 if ((paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) && style()->outlineWidth() && style()->visibility() == VISIBLE) [all...] |
SVGInlineFlowBox.cpp | 37 void SVGInlineFlowBox::paintSelectionBackground(PaintInfo& paintInfo) 39 ASSERT(paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseSelection); 40 ASSERT(!paintInfo.context->paintingDisabled()); 42 PaintInfo childPaintInfo(paintInfo); 51 void SVGInlineFlowBox::paint(PaintInfo& paintInfo, int, int, int, int) 53 ASSERT(paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseSelection) [all...] |
SVGRenderSupport.cpp | 80 bool SVGRenderSupport::prepareToRenderSVGContent(RenderObject* object, PaintInfo& paintInfo) 97 paintInfo.context->clip(repaintRect); 98 paintInfo.context->beginTransparencyLayer(opacity); 102 paintInfo.context->clip(repaintRect); 103 paintInfo.context->setShadow(IntSize(shadow->x(), shadow->y()), shadow->blur(), shadow->color(), style->colorSpace()); 104 paintInfo.context->beginTransparencyLayer(1); 113 if (!masker->applyResource(object, style, paintInfo.context, ApplyToDefaultMode)) 118 if (!clipper->applyResource(object, style, paintInfo.context, ApplyToDefaultMode)) 124 if (!filter->applyResource(object, style, paintInfo.context, ApplyToDefaultMode) [all...] |
RenderSVGRoot.cpp | 145 void RenderSVGRoot::paint(PaintInfo& paintInfo, int parentX, int parentY) 147 if (paintInfo.context->paintingDisabled()) 154 if (hasBoxDecorations() && (paintInfo.phase == PaintPhaseBlockBackground || paintInfo.phase == PaintPhaseChildBlockBackground) && isVisible) 155 paintBoxDecorations(paintInfo, borderBoxOriginInContainer.x(), borderBoxOriginInContainer.y()); 157 if (paintInfo.phase == PaintPhaseBlockBackground) 168 // Make a copy of the PaintInfo because applyTransform will modify the damage rect. 169 PaintInfo childPaintInfo(paintInfo); [all...] |
/external/webkit/Source/WebCore/platform/android/ |
RenderThemeAndroid.h | 29 #include "PaintInfo.h" 78 virtual bool paintCheckbox(RenderObject*, const PaintInfo&, const IntRect&); 85 virtual bool paintMediaFullscreenButton(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r); 86 virtual bool paintMediaMuteButton(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r); 87 virtual bool paintMediaPlayButton(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r); 88 virtual bool paintMediaSeekBackButton(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r) [all...] |
RenderThemeAndroid.cpp | 66 static SkCanvas* getCanvasFromInfo(const PaintInfo& info) 226 bool RenderThemeAndroid::paintCheckbox(RenderObject* obj, const PaintInfo& info, const IntRect& rect) 232 bool RenderThemeAndroid::paintButton(RenderObject* obj, const PaintInfo& info, const IntRect& rect) 283 bool RenderThemeAndroid::paintMediaFullscreenButton(RenderObject* o, const PaintInfo& paintInfo, const IntRect& rect) 288 RenderSkinMediaButton::Draw(getCanvasFromInfo(paintInfo), rect, RenderSkinMediaButton::FULLSCREEN, translucent); 292 bool RenderThemeAndroid::paintMediaMuteButton(RenderObject* o, const PaintInfo& paintInfo, const IntRect& rect) 297 RenderSkinMediaButton::Draw(getCanvasFromInfo(paintInfo), rect, RenderSkinMediaButton::MUTE, translucent); 301 bool RenderThemeAndroid::paintMediaPlayButton(RenderObject* o, const PaintInfo& paintInfo, const IntRect& rect [all...] |
/external/webkit/Source/WebCore/platform/gtk/ |
RenderThemeGtk.cpp | 36 #include "PaintInfo.h" 218 bool RenderThemeGtk::paintMenuListButton(RenderObject* object, const PaintInfo& info, const IntRect& rect) 223 bool RenderThemeGtk::paintTextArea(RenderObject* o, const PaintInfo& i, const IntRect& r) 274 bool RenderThemeGtk::paintSearchFieldResultsButton(RenderObject* o, const PaintInfo& i, const IntRect& rect) 320 bool RenderThemeGtk::paintSearchFieldResultsDecoration(RenderObject* renderObject, const PaintInfo& paintInfo, const IntRect& rect) 330 paintGdkPixbuf(paintInfo.context, icon.get(), iconRect); 339 bool RenderThemeGtk::paintSearchFieldCancelButton(RenderObject* renderObject, const PaintInfo& paintInfo, const IntRect& rect) 349 paintGdkPixbuf(paintInfo.context, icon.get(), iconRect) [all...] |