Home
last modified time | relevance | path

Searched refs:borderRect (Results 1 – 16 of 16) sorted by relevance

/external/chromium/chrome/browser/ui/cocoa/
Dvertical_gradient_view.mm33 NSRect borderRect, contentRect;
34 NSDivideRect([self bounds], &borderRect, &contentRect, 1, NSMinYEdge);
35 NSRectFillUsingOperation(borderRect, NSCompositeSourceOver);
Dbackground_gradient_view.mm65 NSRect borderRect, contentRect;
66 NSDivideRect([self bounds], &borderRect, &contentRect,
68 NSRectFillUsingOperation(borderRect, NSCompositeSourceOver);
Dgradient_button_cell.mm559 NSRect borderRect, contentRect;
560 NSDivideRect(cellFrame, &borderRect, &contentRect, lineWidth, NSMaxXEdge);
567 NSRectFillUsingOperation(NSInsetRect(borderRect, 0, 2),
/external/webkit/Source/WebCore/rendering/
DRenderFrameSet.cpp84 void RenderFrameSet::paintColumnBorder(const PaintInfo& paintInfo, const IntRect& borderRect) in paintColumnBorder() argument
86 if (!paintInfo.rect.intersects(borderRect)) in paintColumnBorder()
94 …context->fillRect(borderRect, frameSet()->hasBorderColor() ? style()->visitedDependentColor(CSSPro… in paintColumnBorder()
98 if (borderRect.width() >= 3) { in paintColumnBorder()
99 …context->fillRect(IntRect(borderRect.location(), IntSize(1, height())), borderStartEdgeColor(), co… in paintColumnBorder()
100 …context->fillRect(IntRect(IntPoint(borderRect.maxX() - 1, borderRect.y()), IntSize(1, height())), … in paintColumnBorder()
104 void RenderFrameSet::paintRowBorder(const PaintInfo& paintInfo, const IntRect& borderRect) in paintRowBorder() argument
106 if (!paintInfo.rect.intersects(borderRect)) in paintRowBorder()
114 …context->fillRect(borderRect, frameSet()->hasBorderColor() ? style()->visitedDependentColor(CSSPro… in paintRowBorder()
118 if (borderRect.height() >= 3) { in paintRowBorder()
[all …]
DRenderBoxModelObject.cpp562 RoundedIntRect RenderBoxModelObject::getBackgroundRoundedRect(const IntRect& borderRect, InlineFlow… in getBackgroundRoundedRect() argument
565 …RoundedIntRect border = style()->getRoundedBorderFor(borderRect, includeLogicalLeftEdge, includeLo… in getBackgroundRoundedRect()
615 IntRect borderRect(tx, ty, w, h); in paintFillLayerExtended() local
616 if (borderRect.isEmpty()) in paintFillLayerExtended()
620 …RoundedIntRect border = getBackgroundRoundedRect(borderRect, box, inlineBoxWidth, inlineBoxHeight,… in paintFillLayerExtended()
623 context->fillRect(borderRect, bgColor, style()->colorSpace()); in paintFillLayerExtended()
630 IntRect borderRect(tx, ty, w, h); in paintFillLayerExtended() local
632 if (borderRect.isEmpty()) in paintFillLayerExtended()
637 …RoundedIntRect border = getBackgroundRoundedRect(borderRect, box, inlineBoxWidth, inlineBoxHeight,… in paintFillLayerExtended()
1370 IntRect borderRect(tx, ty, w, h); in paintBorder() local
[all …]
DRenderWidget.cpp278 IntRect borderRect = IntRect(tx, ty, width(), height()); in paint() local
280 if (borderRect.isEmpty()) in paint()
285 paintInfo.context->addRoundedRectClip(style()->getRoundedBorderFor(borderRect)); in paint()
DRenderReplaced.cpp139 IntRect borderRect = IntRect(tx, ty, width(), height()); in paint() local
141 if (borderRect.isEmpty()) in paint()
146 paintInfo.context->addRoundedRectClip(style()->getRoundedBorderFor(borderRect)); in paint()
DRenderObject.cpp916 IntRect RenderObject::borderInnerRect(const IntRect& borderRect, unsigned short topWidth, unsigned … in borderInnerRect() argument
919 borderRect.x() + leftWidth, in borderInnerRect()
920 borderRect.y() + topWidth, in borderInnerRect()
921 borderRect.width() - leftWidth - rightWidth, in borderInnerRect()
922 borderRect.height() - topWidth - bottomWidth); in borderInnerRect()
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dtab_strip_view.mm40 NSRect borderRect, contentRect;
42 borderRect = bounds;
43 borderRect.origin.y = lineWidth;
44 borderRect.size.height = lineWidth;
46 NSRectFillUsingOperation(borderRect, NSCompositeSourceOver);
47 NSDivideRect(bounds, &borderRect, &contentRect, lineWidth, NSMinYEdge);
59 NSRectFill(borderRect);
60 NSRectFillUsingOperation(borderRect, NSCompositeSourceOver);
Dside_tab_strip_view.mm14 NSRect borderRect, contentRect;
15 NSDivideRect(bounds, &borderRect, &contentRect, 1, NSMaxXEdge);
17 NSRectFillUsingOperation(borderRect, NSCompositeSourceOver);
Dtab_view.mm780 NSRect borderRect = rect;
781 borderRect.origin.y = lineWidth;
782 borderRect.size.height = lineWidth;
784 NSRectFillUsingOperation(borderRect, NSCompositeSourceOver);
786 borderRect.origin.y = 0;
788 NSRectFillUsingOperation(borderRect, NSCompositeSourceOver);
/external/chromium/chrome/browser/ui/cocoa/download/
Ddownload_shelf_view.mm56 NSRect borderRect, contentRect;
57 NSDivideRect([self bounds], &borderRect, &contentRect, 1, NSMaxYEdge);
58 NSRectFillUsingOperation(borderRect, NSCompositeSourceOver);
/external/chromium/chrome/browser/ui/cocoa/infobars/
Dinfobar_gradient_view.mm76 NSRect borderRect, contentRect;
77 NSDivideRect(bounds, &borderRect, &contentRect, 1, NSMinYEdge);
78 NSRectFillUsingOperation(borderRect, NSCompositeSourceOver);
/external/webkit/Source/WebCore/platform/android/
DRenderThemeAndroid.cpp488 IntRect borderRect = rect; in paintRadio() local
489 borderRect.inflate(-3); in paintRadio()
490 const float cx = borderRect.center().x(); in paintRadio()
491 const float cy = borderRect.center().y() - 1; in paintRadio()
508 context->drawRect(borderRect); in paintRadio()
512 context->drawEllipse(borderRect); in paintRadio()
528 borderRect.inflate(-3); in paintRadio()
529 context->drawEllipse(borderRect); in paintRadio()
/external/webkit/Source/WebCore/rendering/style/
DRenderStyle.cpp802 RoundedIntRect RenderStyle::getRoundedBorderFor(const IntRect& borderRect, bool includeLogicalLeftE… in getRoundedBorderFor() argument
804 RoundedIntRect roundedRect(borderRect); in getRoundedBorderFor()
806 …RoundedIntRect::Radii radii = calcRadiiFor(surround->border, borderRect.width(), borderRect.height… in getRoundedBorderFor()
807 radii.scale(calcConstraintScaleFor(borderRect, radii)); in getRoundedBorderFor()
813 RoundedIntRect RenderStyle::getRoundedInnerBorderFor(const IntRect& borderRect, bool includeLogical… in getRoundedInnerBorderFor() argument
822 …return getRoundedInnerBorderFor(borderRect, topWidth, bottomWidth, leftWidth, rightWidth, includeL… in getRoundedInnerBorderFor()
825 RoundedIntRect RenderStyle::getRoundedInnerBorderFor(const IntRect& borderRect, in getRoundedInnerBorderFor() argument
828 IntRect innerRect(borderRect.x() + leftWidth, in getRoundedInnerBorderFor()
829 borderRect.y() + topWidth, in getRoundedInnerBorderFor()
830 borderRect.width() - leftWidth - rightWidth, in getRoundedInnerBorderFor()
[all …]
DRenderStyle.h871 …RoundedIntRect getRoundedBorderFor(const IntRect& borderRect, bool includeLogicalLeftEdge = true, …
872 …RoundedIntRect getRoundedInnerBorderFor(const IntRect& borderRect, bool includeLogicalLeftEdge = t…
874 RoundedIntRect getRoundedInnerBorderFor(const IntRect& borderRect,