Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DRoundedRect.cpp114 m_bottomRight = edges.bottomRight(); in includeLogicalEdges()
148 …t IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight) in RoundedRect() argument
150 , m_radii(topLeft, topRight, bottomLeft, bottomRight) in RoundedRect()
159 int maxX = m_rect.maxX() - max(m_radii.topRight().width(), m_radii.bottomRight().width()); in radiusCenterRect()
160 int maxY = m_rect.maxY() - max(m_radii.bottomLeft().height(), m_radii.bottomRight().height()); in radiusCenterRect()
177 && m_radii.bottomLeft().width() + m_radii.bottomRight().width() <= m_rect.width() in isRenderable()
179 && m_radii.topRight().height() + m_radii.bottomRight().height() <= m_rect.height(); in isRenderable()
184 …idth() + m_radii.topRight().width(), m_radii.bottomLeft().width() + m_radii.bottomRight().width()); in adjustRadii()
185 …t() + m_radii.bottomLeft().height(), m_radii.topRight().height() + m_radii.bottomRight().height()); in adjustRadii()
235 const IntSize& bottomRight = m_radii.bottomRight(); in intersectsQuad() local
[all …]
DFloatRoundedRect.h43 …ize& topLeft, const FloatSize& topRight, const FloatSize& bottomLeft, const FloatSize& bottomRight) in Radii() argument
47 , m_bottomRight(bottomRight) in Radii()
58 const FloatSize& bottomRight() const { return m_bottomRight; } in bottomRight() function
77 …ze& topLeft, const FloatSize& topRight, const FloatSize& bottomLeft, const FloatSize& bottomRight);
106 …axX() - m_radii.bottomRight().width(), m_rect.maxY() - m_radii.bottomRight().height(), m_radii.bot… in bottomRightCorner()
118 …pRight() == b.topRight() && a.bottomLeft() == b.bottomLeft() && a.bottomRight() == b.bottomRight();
DRoundedRect.h43 …t IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight) in Radii() argument
47 , m_bottomRight(bottomRight) in Radii()
58 const IntSize& bottomRight() const { return m_bottomRight; } in bottomRight() function
80 … IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight);
116 …pRight() == b.topRight() && a.bottomLeft() == b.bottomLeft() && a.bottomRight() == b.bottomRight();
DFloatRoundedRectTest.cpp61 << ::testing::PrintToString(radii.bottomRight()) << ", " in PrintTo()
93 EXPECT_EQ(FloatSize(), r.radii().bottomRight()); in TEST()
129 EXPECT_EQ(cornerRadii, r.radii().bottomRight()); in TEST()
DFloatRoundedRect.cpp48 …ize& topLeft, const FloatSize& topRight, const FloatSize& bottomLeft, const FloatSize& bottomRight) in FloatRoundedRect() argument
50 , m_radii(topLeft, topRight, bottomLeft, bottomRight) in FloatRoundedRect()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
DFELighting.cpp71 int bottomRight = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset)); in topLeft() local
72 normalVector.setX(-(center << 1) + (right << 1) - bottom + bottomRight); in topLeft()
73 normalVector.setY(-(center << 1) - right + (bottom << 1) + bottomRight); in topLeft()
84 int bottomRight = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset)); in topRow() local
85 normalVector.setX(-(left << 1) + (right << 1) - bottomLeft + bottomRight); in topRow()
86 normalVector.setY(-left - (center << 1) - right + bottomLeft + (bottom << 1) + bottomRight); in topRow()
109 int bottomRight = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset)); in leftColumn() local
110 normalVector.setX(-top + topRight - (center << 1) + (right << 1) - bottom + bottomRight); in leftColumn()
111 normalVector.setY(-(top << 1) - topRight + (bottom << 1) + bottomRight); in leftColumn()
125 int bottomRight = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset)); in interior() local
[all …]
DFELighting.h75 inline void bottomRight(int offset, IntPoint& normalVector);
/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/eigen/test/
Dgeo_alignedbox.cpp116 Vector2f bottomRight; bottomRight << M[0], m[1]; in specificTest1() local
118 VERIFY_IS_APPROX( bottomRight, box.corner( BoxType::BottomRight ) ); in specificTest1()
/external/chromium/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_view.mm43 NSPoint bottomRight =
56 [path lineToPoint:bottomRight];
/external/chromium_org/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_view.mm45 NSPoint bottomRight =
58 [path lineToPoint:bottomRight];
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderBoxModelObject.cpp451 if (!clipRect.radii().topLeft().isEmpty() || !clipRect.radii().bottomRight().isEmpty()) { in clipRoundedInnerRect()
459 bottomCornerRadii.setBottomRight(clipRect.radii().bottomRight()); in clipRoundedInnerRect()
1417 LayoutRect bottomRightRect(boundingRect.location(), radii.bottomRight()); in allCornersClippedOut()
1670 …e) || borderWillArcInnerEdge(innerBorder.radii().bottomLeft(), innerBorder.radii().bottomRight())); in paintBorderSides()
1686 …il(edges[BSRight].style) || borderWillArcInnerEdge(innerBorder.radii().bottomRight(), innerBorder.… in paintBorderSides()
2149 if (!innerBorder.radii().bottomRight().isZero()) { in clipBorderSidePolygon()
2152 quad[2].x() - innerBorder.radii().bottomRight().width(), in clipBorderSidePolygon()
2156 quad[2].y() - innerBorder.radii().bottomRight().height()), in clipBorderSidePolygon()
2178 if (!innerBorder.radii().bottomRight().isZero()) { in clipBorderSidePolygon()
2181 quad[2].x() - innerBorder.radii().bottomRight().width(), in clipBorderSidePolygon()
[all …]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
DTerrainPatch.java356 TerrainPatch bottomRight, in fixNormalEdges() argument
414 if (bottomRight != null) { in fixNormalEdges()
838 …Vector3f bottomRight = worldCoordinateToLocal(new Vector3f(bbox.getCenter().x+bbox.getXExtent(), 0… in collideWithBoundingBox() local
849 t = getTriangle(bottomRight.x, bottomRight.z); in collideWithBoundingBox()
DTerrainQuad.java1617 TerrainPatch bottomRight = null;
1619 bottomRight = findDownPatch(right);
1627 … tp.fixNormalEdges(right, bottom, top, left, bottomRight, bottomLeft, topRight, topLeft);
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSGradientValue.cpp910 FloatPoint bottomRight(size.width(), size.height()); in distanceToClosestCorner() local
911 float bottomRightDistance = FloatSize(p - bottomRight).diagonalLength(); in distanceToClosestCorner()
927 corner = bottomRight; in distanceToClosestCorner()
943 FloatPoint bottomRight(size.width(), size.height()); in distanceToFarthestCorner() local
944 float bottomRightDistance = FloatSize(p - bottomRight).diagonalLength(); in distanceToFarthestCorner()
960 corner = bottomRight; in distanceToFarthestCorner()
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DBorderData.h112 const LengthSize& bottomRight() const { return m_bottomRight; } in bottomRight() function
DRenderStyle.cpp916 IntSize(valueForLength(border.bottomRight().width(), size.width(), renderView), in calcRadiiFor()
917 valueForLength(border.bottomRight().height(), size.height(), renderView))); in calcRadiiFor()
934 …ic_cast<unsigned>(radii.bottomLeft().width()) + static_cast<unsigned>(radii.bottomRight().width()); in calcConstraintScaleFor()
944 …ic_cast<unsigned>(radii.topRight().height()) + static_cast<unsigned>(radii.bottomRight().height()); in calcConstraintScaleFor()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsContext.cpp1364 const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color) in fillRoundedRect() argument
1370 || bottomLeft.width() + bottomRight.width() > rect.width() in fillRoundedRect()
1372 || topRight.height() + bottomRight.height() > rect.height()) { in fillRoundedRect()
1381 setRadii(radii, topLeft, topRight, bottomRight, bottomLeft); in fillRoundedRect()
1463 …setRadii(radii, wkRadii.topLeft(), wkRadii.topRight(), wkRadii.bottomRight(), wkRadii.bottomLeft()… in clipRoundedRect()
1658 ….topLeft(), rect.radii().topRight(), rect.radii().bottomLeft(), rect.radii().bottomRight(), color); in fillRoundedRect()
1844 …::setRadii(SkVector* radii, IntSize topLeft, IntSize topRight, IntSize bottomRight, IntSize bottom… in setRadii() argument
1850 radii[SkRRect::kLowerRight_Corner].set(SkIntToScalar(bottomRight.width()), in setRadii()
1851 SkIntToScalar(bottomRight.height())); in setRadii()
DPath.cpp354 …ect(), r.radii().topLeft(), r.radii().topRight(), r.radii().bottomLeft(), r.radii().bottomRight()); in addRoundedRect()
DGraphicsContext.h238 …eft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color&);
/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/chromium_org/chrome/browser/ui/cocoa/download/
Ddownload_item_cell.mm340 NSPoint bottomRight = NSMakePoint(NSMaxX(rect) , NSMinY(rect));
348 toPoint:bottomRight
350 [path lineToPoint:bottomRight];
358 NSPoint bottomRight = NSMakePoint(NSMaxX(rect), NSMinY(rect));
362 [path appendBezierPathWithArcFromPoint:bottomRight
/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/
DRenderDeviceJme.java345 Color topLeft, Color topRight, Color bottomRight, Color bottomLeft) { in renderQuad() argument
354 buf.putInt(convertColor(bottomRight)); in renderQuad()
/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/chromium_org/third_party/WebKit/Source/web/tests/
DTransparencyWinTest.cpp345 FloatRect bottomRight(15, 15, 1, 1); in TEST() local
346 helper.context()->fillRect(bottomRight, green); in TEST()

12