Home
last modified time | relevance | path

Searched refs:bottomRight (Results 1 – 25 of 41) sorted by relevance

12

/external/webkit/Source/WebCore/platform/graphics/
DRoundedIntRect.h40 …t IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight) in Radii() argument
44 , m_bottomRight(bottomRight) in Radii()
55 const IntSize& bottomRight() const { return m_bottomRight; } in bottomRight() function
77 … IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight);
105 …pRight() == b.topRight() && a.bottomLeft() == b.bottomLeft() && a.bottomRight() == b.bottomRight();
DRoundedIntRect.cpp93 m_bottomRight = edges.bottomRight(); in includeLogicalEdges()
127 …t IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight) in RoundedIntRect() argument
129 , m_radii(topLeft, topRight, bottomLeft, bottomRight) in RoundedIntRect()
146 && m_radii.bottomLeft().width() + m_radii.bottomRight().width() <= m_rect.width() in isRenderable()
148 && m_radii.bottomLeft().height() + m_radii.bottomRight().height() <= m_rect.height(); in isRenderable()
DTiledBackingStore.cpp77 …Tile::Coordinate bottomRight = tileCoordinateForPoint(IntPoint(dirtyRect.maxX(), dirtyRect.maxY())… in invalidate() local
79 for (unsigned yCoordinate = topLeft.y(); yCoordinate <= bottomRight.y(); ++yCoordinate) { in invalidate()
80 for (unsigned xCoordinate = topLeft.x(); xCoordinate <= bottomRight.x(); ++xCoordinate) { in invalidate()
136 …Tile::Coordinate bottomRight = tileCoordinateForPoint(IntPoint(dirtyRect.maxX(), dirtyRect.maxY())… in paint() local
138 for (unsigned yCoordinate = topLeft.y(); yCoordinate <= bottomRight.y(); ++yCoordinate) { in paint()
139 for (unsigned xCoordinate = topLeft.x(); xCoordinate <= bottomRight.x(); ++xCoordinate) { in paint()
233 …Tile::Coordinate bottomRight = tileCoordinateForPoint(IntPoint(coverRect.maxX(), coverRect.maxY())… in createTiles() local
234 for (unsigned yCoordinate = topLeft.y(); yCoordinate <= bottomRight.y(); ++yCoordinate) { in createTiles()
235 for (unsigned xCoordinate = topLeft.x(); xCoordinate <= bottomRight.x(); ++xCoordinate) { in createTiles()
DShadowBlur.cpp424 rightSlice = twiceRadius + max(radii.topRight().width(), radii.bottomRight().width()); in computeSliceSizesFromRadii()
427 bottomSlice = twiceRadius + max(radii.bottomLeft().height(), radii.bottomRight().height()); in computeSliceSizesFromRadii()
516 …ndedRect(shadowedRect, radii.topLeft(), radii.topRight(), radii.bottomLeft(), radii.bottomRight()); in drawRectShadowWithoutTiling()
557 …eRect, holeRadii.topLeft(), holeRadii.topRight(), holeRadii.bottomLeft(), holeRadii.bottomRight()); in drawInsetShadowWithoutTiling()
636 …ndedRect(templateHole, radii.topLeft(), radii.topRight(), radii.bottomLeft(), radii.bottomRight()); in drawInsetShadowWithTiling()
698 …edRect(templateShadow, radii.topLeft(), radii.topRight(), radii.bottomLeft(), radii.bottomRight()); in drawRectShadowWithTiling()
DPath.cpp193 …ect(), r.radii().topLeft(), r.radii().topRight(), r.radii().bottomLeft(), r.radii().bottomRight()); in addRoundedRect()
/external/webkit/Source/WebCore/platform/graphics/filters/
DFELighting.cpp74 int bottomRight = static_cast<int>(pixels->get(offset + cPixelSize + cAlphaChannelOffset)); in topLeft() local
75 normalVector.setX(-(center << 1) + (right << 1) - bottom + bottomRight); in topLeft()
76 normalVector.setY(-(center << 1) - right + (bottom << 1) + bottomRight); in topLeft()
87 int bottomRight = static_cast<int>(pixels->get(offset + cPixelSize + cAlphaChannelOffset)); in topRow() local
88 normalVector.setX(-(left << 1) + (right << 1) - bottomLeft + bottomRight); in topRow()
89 normalVector.setY(-left - (center << 1) - right + bottomLeft + (bottom << 1) + bottomRight); in topRow()
112 int bottomRight = static_cast<int>(pixels->get(offset + cPixelSize + cAlphaChannelOffset)); in leftColumn() local
113 normalVector.setX(-top + topRight - (center << 1) + (right << 1) - bottom + bottomRight); in leftColumn()
114 normalVector.setY(-(top << 1) - topRight + (bottom << 1) + bottomRight); in leftColumn()
128 int bottomRight = static_cast<int>(pixels->get(offset + cPixelSize + cAlphaChannelOffset)); in interior() local
[all …]
DFELighting.h70 inline void bottomRight(int offset, IntPoint& normalVector);
/external/webkit/Source/WebKit2/UIProcess/
DTiledDrawingAreaProxy.cpp239 …TiledDrawingAreaTile::Coordinate bottomRight = tileCoordinateForPoint(IntPoint(dirtyRect.maxX(), d… in invalidate() local
245 for (unsigned yCoordinate = topLeft.y(); yCoordinate <= bottomRight.y(); ++yCoordinate) { in invalidate()
246 for (unsigned xCoordinate = topLeft.x(); xCoordinate <= bottomRight.x(); ++xCoordinate) { in invalidate()
337 …TiledDrawingAreaTile::Coordinate bottomRight = tileCoordinateForPoint(IntPoint(dirtyRect.maxX(), d… in paint() local
339 for (unsigned yCoordinate = topLeft.y(); yCoordinate <= bottomRight.y(); ++yCoordinate) { in paint()
340 for (unsigned xCoordinate = topLeft.x(); xCoordinate <= bottomRight.x(); ++xCoordinate) { in paint()
437 …TiledDrawingAreaTile::Coordinate bottomRight = tileCoordinateForPoint(IntPoint(visibleRect.maxX(),… in createTiles() local
438 for (unsigned yCoordinate = topLeft.y(); yCoordinate <= bottomRight.y(); ++yCoordinate) { in createTiles()
439 for (unsigned xCoordinate = topLeft.x(); xCoordinate <= bottomRight.x(); ++xCoordinate) { in createTiles()
/external/chromium/chrome/browser/ui/cocoa/
Dprofile_menu_button_unittest.mm79 NSPoint bottomRight = NSMakePoint(NSMaxX(mouseRect), NSMinY(mouseRect));
84 EXPECT_NSEQ([button_ hitTest:bottomRight], NULL);
91 EXPECT_NSEQ([button_ hitTest:bottomRight], NULL);
/external/webkit/Source/WebCore/rendering/
DRenderBoxModelObject.cpp1271 …e) || borderWillArcInnerEdge(innerBorder.radii().bottomLeft(), innerBorder.radii().bottomRight())); in paintBorderSides()
1287 …il(edges[BSRight].style) || borderWillArcInnerEdge(innerBorder.radii().bottomRight(), innerBorder.… in paintBorderSides()
1724 bool ignoreRight = (renderRadii && border.radii().bottomRight().width() > 0) in paintBorder()
1732 x2 -= border.radii().bottomRight().width(); in paintBorder()
1768 if (border.radii().bottomRight().width()) { in paintBorder()
1769 int rightY = ty + h - border.radii().bottomRight().height() * 2; in paintBorder()
1770 int rightX = tx + w - border.radii().bottomRight().width() * 2; in paintBorder()
1771 … bool applyRightInnerClip = (style->borderRightWidth() < border.radii().bottomRight().width()) in paintBorder()
1772 && (style->borderBottomWidth() < border.radii().bottomRight().height()) in paintBorder()
1776 …edRectClip(IntRect(rightX, rightY, border.radii().bottomRight().width() * 2, border.radii().bottom… in paintBorder()
[all …]
/external/webkit/Source/WebCore/css/
DCSSGradientValue.cpp656 FloatPoint bottomRight(size.width(), size.height()); in distanceToClosestCorner() local
657 float bottomRightDistance = FloatSize(p - bottomRight).diagonalLength(); in distanceToClosestCorner()
673 corner = bottomRight; in distanceToClosestCorner()
689 FloatPoint bottomRight(size.width(), size.height()); in distanceToFarthestCorner() local
690 float bottomRightDistance = FloatSize(p - bottomRight).diagonalLength(); in distanceToFarthestCorner()
706 corner = bottomRight; in distanceToFarthestCorner()
/external/chromium/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_view.mm43 NSPoint bottomRight =
56 [path lineToPoint:bottomRight];
/external/webkit/Source/WebCore/rendering/style/
DBorderData.h112 const LengthSize& bottomRight() const { return m_bottomRight; } in bottomRight() function
DRenderStyle.cpp766 IntSize(border.bottomRight().width().calcValue(width), in calcRadiiFor()
767 border.bottomRight().height().calcValue(height))); in calcRadiiFor()
784 …ic_cast<unsigned>(radii.bottomLeft().width()) + static_cast<unsigned>(radii.bottomRight().width()); in calcConstraintScaleFor()
794 …ic_cast<unsigned>(radii.topRight().height()) + static_cast<unsigned>(radii.bottomRight().height()); in calcConstraintScaleFor()
/external/webkit/Source/WebCore/platform/graphics/openvg/
DGraphicsContextOpenVG.cpp176 …ft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& c… in fillRoundedRect() argument
183 m_data->drawRoundedRect(rect, topLeft, topRight, bottomLeft, bottomRight, VG_FILL_PATH); in fillRoundedRect()
DPainterOpenVG.h101 …ft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, VGbitfield pai…
DPainterOpenVG.cpp854 …ft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, VGbitfield spe… in drawRoundedRect() argument
883 …FloatSize clampedBottomRight = FloatSize(bottomRight).shrunkTo(rect.size()).expandedTo(FloatSize()… in drawRoundedRect()
/external/chromium/chrome/browser/ui/cocoa/download/
Ddownload_item_cell.mm381 NSPoint bottomRight = NSMakePoint(NSMaxX(rect) , NSMinY(rect));
389 toPoint:bottomRight
391 [path lineToPoint:bottomRight];
399 NSPoint bottomRight = NSMakePoint(NSMaxX(rect), NSMinY(rect));
403 [path appendBezierPathWithArcFromPoint:bottomRight
/external/webkit/Source/WebCore/platform/graphics/skia/
DGraphicsContextSkia.cpp825 const IntSize& bottomRight, in fillRoundedRect() argument
840 || bottomLeft.width() + bottomRight.width() > rect.width() in fillRoundedRect()
842 || topRight.height() + bottomRight.height() > rect.height()) { in fillRoundedRect()
852 addCornerArc(&path, r, bottomRight, 0); in fillRoundedRect()
/external/webkit/Source/WebCore/platform/graphics/cg/
DGraphicsContextCG.cpp747 …ft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& c… in fillRoundedRect() argument
768 …adow.drawRectShadow(this, rect, RoundedIntRect::Radii(topLeft, topRight, bottomLeft, bottomRight)); in fillRoundedRect()
771 …ht.width() && topRight.width() == bottomLeft.width() && bottomLeft.width() == bottomRight.width()); in fillRoundedRect()
772 …height() && bottomLeft.height() == topRight.height() && topRight.height() == bottomRight.height()); in fillRoundedRect()
777 path.addRoundedRect(rect, topLeft, topRight, bottomLeft, bottomRight); in fillRoundedRect()
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dtab_view.mm1034 NSPoint bottomRight = NSMakePoint(NSMaxX(rect), NSMinY(rect) + 2 * lineWidth);
1058 [path curveToPoint:bottomRight
1061 controlPoint2:NSMakePoint(bottomRight.x - baseControlPointOutset,
1062 bottomRight.y)];
1063 [path lineToPoint:NSMakePoint(bottomRight.x + lineWidth, bottomRight.y)];
1064 [path lineToPoint:NSMakePoint(bottomRight.x + lineWidth,
1065 bottomRight.y - (2 * lineWidth))];
/external/webkit/Source/WebKit/chromium/tests/
DTransparencyWinTest.cpp387 FloatRect bottomRight(15, 15, 1, 1); in TEST() local
388 helper.context()->fillRect(bottomRight, green, ColorSpaceDeviceRGB); in TEST()
/external/webkit/Source/WebCore/platform/graphics/android/
DGraphicsContextAndroid.cpp759 … const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace) in fillRoundedRect() argument
772 radii[4] = SkIntToScalar(bottomRight.width()); in fillRoundedRect()
773 radii[5] = SkIntToScalar(bottomRight.height()); in fillRoundedRect()
/external/webkit/Source/WebCore/platform/graphics/cairo/
DGraphicsContextCairo.cpp1125 …ft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& c… in fillRoundedRect() argument
1131 m_data->shadow.drawRectShadow(this, r, topLeft, topRight, bottomLeft, bottomRight); in fillRoundedRect()
1136 path.addRoundedRect(r, topLeft, topRight, bottomLeft, bottomRight); in fillRoundedRect()
/external/webkit/Source/WebCore/platform/graphics/haiku/
DGraphicsContextHaiku.cpp180 …ft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& c… in fillRoundedRect() argument

12