Home
last modified time | relevance | path

Searched refs:bottomLeft (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DRoundedRect.cpp101 m_bottomLeft = edges.bottomLeft(); in includeLogicalEdges()
111 m_bottomLeft = edges.bottomLeft(); in includeLogicalEdges()
146 … rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& … in RoundedRect() argument
148 , m_radii(topLeft, topRight, bottomLeft, bottomRight) in RoundedRect()
155 int minX = m_rect.x() + std::max(m_radii.topLeft().width(), m_radii.bottomLeft().width()); in radiusCenterRect()
158 …int maxY = m_rect.maxY() - std::max(m_radii.bottomLeft().height(), m_radii.bottomRight().height()); in radiusCenterRect()
175 && m_radii.bottomLeft().width() + m_radii.bottomRight().width() <= m_rect.width() in isRenderable()
176 && m_radii.topLeft().height() + m_radii.bottomLeft().height() <= m_rect.height() in isRenderable()
182 …d::max(m_radii.topLeft().width() + m_radii.topRight().width(), m_radii.bottomLeft().width() + m_ra… in adjustRadii()
183 …int maxRadiusHeight = std::max(m_radii.topLeft().height() + m_radii.bottomLeft().height(), m_radii… in adjustRadii()
[all …]
DFloatRoundedRect.h44 …Radii(const FloatSize& topLeft, const FloatSize& topRight, const FloatSize& bottomLeft, const Floa… in Radii() argument
47 , m_bottomLeft(bottomLeft) in Radii()
55 , m_bottomLeft(intRadii.bottomLeft()) in Radii()
66 const FloatSize& bottomLeft() const { return m_bottomLeft; } in bottomLeft() function
86 … const FloatSize& topLeft, const FloatSize& topRight, const FloatSize& bottomLeft, const FloatSize…
111 …Rect(m_rect.x(), m_rect.maxY() - m_radii.bottomLeft().height(), m_radii.bottomLeft().width(), m_ra… in bottomLeftCorner()
127 …topLeft() == b.topLeft() && a.topRight() == b.topRight() && a.bottomLeft() == b.bottomLeft() && a.…
DRoundedRect.h43 …Radii(const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& b… in Radii() argument
46 , m_bottomLeft(bottomLeft) in Radii()
57 const IntSize& bottomLeft() const { return m_bottomLeft; } in bottomLeft() function
80 …Rect&, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& …
116 …topLeft() == b.topLeft() && a.topRight() == b.topRight() && a.bottomLeft() == b.bottomLeft() && a.…
DFloatRoundedRectTest.cpp62 << ::testing::PrintToString(radii.bottomLeft()) << ")"; in PrintTo()
92 EXPECT_EQ(FloatSize(), r.radii().bottomLeft()); in TEST()
128 EXPECT_EQ(cornerRadii, r.radii().bottomLeft()); in TEST()
DFloatRoundedRect.cpp48 … const FloatSize& topLeft, const FloatSize& topRight, const FloatSize& bottomLeft, const FloatSize… in FloatRoundedRect() argument
50 , m_radii(topLeft, topRight, bottomLeft, bottomRight) in FloatRoundedRect()
/external/chromium_org/ui/base/cocoa/
Dnsgraphics_context_additions.mm15 NSPoint bottomLeft = NSZeroPoint;
17 bottomLeft.y = NSMaxY([ancestorWithLayer bounds]);
18 NSPoint offset = [ancestorWithLayer convertPoint:bottomLeft toView:nil];
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
DFELighting.cpp89 int bottomLeft = static_cast<int>(pixels->item(offset - cPixelSize + cAlphaChannelOffset)); in topRow() local
92 normalVector.setX(-(left << 1) + (right << 1) - bottomLeft + bottomRight); in topRow()
93 normalVector.setY(-left - (center << 1) - right + bottomLeft + (bottom << 1) + bottomRight); in topRow()
101 int bottomLeft = static_cast<int>(pixels->item(offset - cPixelSize + cAlphaChannelOffset)); in topRight() local
103 normalVector.setX(-(left << 1) + (center << 1) - bottomLeft + bottom); in topRight()
104 normalVector.setY(-left - (center << 1) + bottomLeft + (bottom << 1)); in topRight()
130 int bottomLeft = static_cast<int>(pixels->item(offset - cPixelSize + cAlphaChannelOffset)); in interior() local
133 normalVector.setX(-topLeft + topRight - (left << 1) + (right << 1) - bottomLeft + bottomRight); in interior()
134 normalVector.setY(-topLeft - (top << 1) - topRight + bottomLeft + (bottom << 1) + bottomRight); in interior()
145 int bottomLeft = static_cast<int>(pixels->item(offset - cPixelSize + cAlphaChannelOffset)); in rightColumn() local
[all …]
DFELighting.h70 inline void bottomLeft(int offset, IntPoint& normalVector);
/external/chromium_org/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_view.mm53 NSPoint bottomLeft =
64 [path curveToPoint:bottomLeft
65 controlPoint1:NSMakePoint(midLeft2.x, bottomLeft.y)
66 controlPoint2:NSMakePoint(midLeft2.x, bottomLeft.y)];
70 controlPoint1:NSMakePoint(midRight1.x, bottomLeft.y)
71 controlPoint2:NSMakePoint(midRight1.x, bottomLeft.y)];
/external/skia/debugger/QT/
DSkListWidget.cpp37 painter->drawLine(r.bottomLeft(),r.bottomRight()); in paint()
38 painter->drawLine(r.topLeft(),r.bottomLeft()); in paint()
50 painter->drawLine(r.bottomLeft(),r.bottomRight()); in paint()
51 painter->drawLine(r.topLeft(),r.bottomLeft()); in paint()
/external/chromium_org/third_party/skia/debugger/QT/
DSkListWidget.cpp37 painter->drawLine(r.bottomLeft(),r.bottomRight()); in paint()
38 painter->drawLine(r.topLeft(),r.bottomLeft()); in paint()
50 painter->drawLine(r.bottomLeft(),r.bottomRight()); in paint()
51 painter->drawLine(r.topLeft(),r.bottomLeft()); in paint()
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
DBoxShape.cpp101 …ounds.radii().topLeft(), m_bounds.radii().topRight(), m_bounds.radii().bottomLeft(), m_bounds.radi… in buildDisplayPaths()
103 …), shapeMarginBounds().radii().topRight(), shapeMarginBounds().radii().bottomLeft(), shapeMarginBo… in buildDisplayPaths()
/external/chromium_org/third_party/WebKit/Source/core/paint/
DBoxPainter.cpp260 if (!clipRect.radii().topRight().isEmpty() || !clipRect.radii().bottomLeft().isEmpty()) { in clipRoundedInnerRect()
268 bottomCornerRadii.setBottomLeft(clipRect.radii().bottomLeft()); in clipRoundedInnerRect()
1269 … overshoot = newRadii.bottomLeft().width() + newRadii.bottomRight().width() - newRect.width(); in calculateAdjustedInnerBorder()
1271 ASSERT(!(newRadii.bottomLeft().width() && newRadii.bottomRight().width())); in calculateAdjustedInnerBorder()
1273 if (!newRadii.bottomLeft().width()) in calculateAdjustedInnerBorder()
1278 maxRadii = std::max(newRadii.bottomLeft().height(), newRadii.bottomRight().height()); in calculateAdjustedInnerBorder()
1286 overshoot = newRadii.topLeft().height() + newRadii.bottomLeft().height() - newRect.height(); in calculateAdjustedInnerBorder()
1288 ASSERT(!(newRadii.topLeft().height() && newRadii.bottomLeft().height())); in calculateAdjustedInnerBorder()
1295 maxRadii = std::max(newRadii.topLeft().width(), newRadii.bottomLeft().width()); in calculateAdjustedInnerBorder()
1347 LayoutRect bottomLeftRect(boundingRect.location(), radii.bottomLeft()); in allCornersClippedOut()
[all …]
/external/deqp/modules/glshared/
DglsTextureTestUtil.hpp372 void computeQuadTexCoord2D (std::vector<float>& dst, const tcu::Vec2& bottomLeft, const tcu::Ve…
373 …Coord2DArray (std::vector<float>& dst, int layerNdx, const tcu::Vec2& bottomLeft, const tcu::Vec2…
376 …dCube (std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bottomLeft, const tcu::Vec2…
377 …beArray (std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bottomLeft, const tcu::Vec2…
DglsTextureTestUtil.cpp1469 void computeQuadTexCoord2D (std::vector<float>& dst, const tcu::Vec2& bottomLeft, const tcu::Vec2& … in computeQuadTexCoord2D() argument
1473 dst[0] = bottomLeft.x(); dst[1] = bottomLeft.y(); in computeQuadTexCoord2D()
1474 dst[2] = bottomLeft.x(); dst[3] = topRight.y(); in computeQuadTexCoord2D()
1475 dst[4] = topRight.x(); dst[5] = bottomLeft.y(); in computeQuadTexCoord2D()
1479 void computeQuadTexCoord2DArray (std::vector<float>& dst, int layerNdx, const tcu::Vec2& bottomLeft in computeQuadTexCoord2DArray() argument
1483 dst[0] = bottomLeft.x(); dst[ 1] = bottomLeft.y(); dst[ 2] = (float)layerNdx; in computeQuadTexCoord2DArray()
1484 dst[3] = bottomLeft.x(); dst[ 4] = topRight.y(); dst[ 5] = (float)layerNdx; in computeQuadTexCoord2DArray()
1485 dst[6] = topRight.x(); dst[ 7] = bottomLeft.y(); dst[ 8] = (float)layerNdx; in computeQuadTexCoord2DArray()
1574 …ordCube (std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bottomLeft, const tcu::Vec2… in computeQuadTexCoordCube() argument
1603 dst[0+sRow] = sSign * bottomLeft.x(); in computeQuadTexCoordCube()
[all …]
/external/deqp/modules/gles3/functional/
Des3fTextureWrapTests.cpp99 tcu::Vec2 bottomLeft; member
103 Case (const tcu::Vec2& bl, const tcu::Vec2& tr) : bottomLeft(bl), topRight(tr) {} in Case()
325 computeQuadTexCoord2D(texCoord, m_cases[m_caseNdx].bottomLeft, m_cases[m_caseNdx].topRight); in iterate()
345 …sage << "Note: lookup coordinates: bottom-left " << m_cases[m_caseNdx].bottomLeft << ", top-right … in iterate()
Des3fTextureShadowTests.cpp429 tcu::Vec2 bottomLeft; member
441 , bottomLeft(bottomLeft_) in FilterCase()
630 << "Coordinates: " << curCase.bottomLeft << " -> " << curCase.topRight in iterate()
639 computeQuadTexCoordCube(texCoord, face, curCase.bottomLeft, curCase.topRight); in iterate()
/external/deqp/modules/gles31/functional/
Des31fTextureFilteringTests.cpp138 tcu::Vec2 bottomLeft; member
149 , bottomLeft (bottomLeft_) in FilterCase()
351 …m_testCtx.getLog() << TestLog::Message << "Coordinates: " << curCase.bottomLeft << " -> " << curCa… in iterate()
359 …computeQuadTexCoordCubeArray(texCoord, face, curCase.bottomLeft, curCase.topRight, curCase.layerRa… in iterate()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsContext.cpp1393 …ct(), outer.radii().topLeft(), outer.radii().topRight(), outer.radii().bottomLeft(), outer.radii()… in fillBetweenRoundedRects()
1394 …inner.rect(), inner.radii().topLeft(), inner.radii().topRight(), inner.radii().bottomLeft(), inner… in fillBetweenRoundedRects()
1398 const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color) in fillRoundedRect() argument
1405 || bottomLeft.width() + bottomRight.width() > rect.width() in fillRoundedRect()
1406 || topLeft.height() + bottomLeft.height() > rect.height() in fillRoundedRect()
1416 setRadii(radii, topLeft, topRight, bottomRight, bottomLeft); in fillRoundedRect()
1501 …etRadii(radii, wkRadii.topLeft(), wkRadii.topRight(), wkRadii.bottomRight(), wkRadii.bottomLeft()); in clipRoundedRect()
1728 ….rect(), rect.radii().topLeft(), rect.radii().topRight(), rect.radii().bottomLeft(), rect.radii().… in fillRoundedRect()
1840 …tRadii(SkVector* radii, IntSize topLeft, IntSize topRight, IntSize bottomRight, IntSize bottomLeft) in setRadii() argument
1848 radii[SkRRect::kLowerLeft_Corner].set(SkIntToScalar(bottomLeft.width()), in setRadii()
[all …]
/external/deqp/modules/gles3/accuracy/
Des3aTextureMipmapTests.cpp178 Vec2 bottomLeft; in getBasicTexCoord2D() member
205 const Vec2& bottomLeft = s_basicCoords[cellNdx].bottomLeft; in getBasicTexCoord2D() local
208 computeQuadTexCoord2D(dst, bottomLeft, topRight); in getBasicTexCoord2D()
/external/deqp/modules/gles2/accuracy/
Des2aTextureMipmapTests.cpp186 Vec2 bottomLeft; in getBasicTexCoord2D() member
213 const Vec2& bottomLeft = s_basicCoords[cellNdx].bottomLeft; in getBasicTexCoord2D() local
216 computeQuadTexCoord2D(dst, bottomLeft, topRight); in getBasicTexCoord2D()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSGradientValue.cpp939 FloatPoint bottomLeft(0, size.height()); in distanceToClosestCorner() local
940 float bottomLeftDistance = FloatSize(p - bottomLeft).diagonalLength(); in distanceToClosestCorner()
954 corner = bottomLeft; in distanceToClosestCorner()
972 FloatPoint bottomLeft(0, size.height()); in distanceToFarthestCorner() local
973 float bottomLeftDistance = FloatSize(p - bottomLeft).diagonalLength(); in distanceToFarthestCorner()
987 corner = bottomLeft; in distanceToFarthestCorner()
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DBorderData.h124 const LengthSize& bottomLeft() const { return m_bottomLeft; } in bottomLeft() function
/external/deqp/modules/gles2/functional/
Des2fTextureFilteringTests.cpp356 tcu::Vec2 bottomLeft; member
366 , bottomLeft(bottomLeft_) in FilterCase()
563 …m_testCtx.getLog() << TestLog::Message << "Coordinates: " << curCase.bottomLeft << " -> " << curCa… in iterate()
571 computeQuadTexCoordCube(texCoord, face, curCase.bottomLeft, curCase.topRight); in iterate()
Des2fTextureMipmapTests.cpp190 Vec2 bottomLeft; in getBasicTexCoord2D() member
217 const Vec2& bottomLeft = s_basicCoords[cellNdx].bottomLeft; in getBasicTexCoord2D() local
220 computeQuadTexCoord2D(dst, bottomLeft, topRight); in getBasicTexCoord2D()

12