Searched refs:topRight (Results 1 - 25 of 38) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DFloatRoundedRect.h44 Radii(const FloatSize& topLeft, const FloatSize& topRight, const FloatSize& bottomLeft, const FloatSize& bottomRight) argument
46 , m_topRight(topRight)
54 , m_topRight(intRadii.topRight())
65 const FloatSize& topRight() const { return m_topRight; } function in class:blink::FloatRoundedRect::Radii
86 FloatRoundedRect(const FloatRect&, const FloatSize& topLeft, const FloatSize& topRight, const FloatSize& bottomLeft, const FloatSize& bottomRight);
107 return FloatRect(m_rect.maxX() - m_radii.topRight().width(), m_rect.y(), m_radii.topRight().width(), m_radii.topRight().height());
127 return a.topLeft() == b.topLeft() && a.topRight() == b.topRight()
[all...]
H A DRoundedRect.cpp103 m_topRight = edges.topRight();
109 m_topRight = edges.topRight();
146 RoundedRect::RoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight) argument
148 , m_radii(topLeft, topRight, bottomLeft, bottomRight)
156 int minY = m_rect.y() + std::max(m_radii.topLeft().height(), m_radii.topRight().height());
157 int maxX = m_rect.maxX() - std::max(m_radii.topRight().width(), m_radii.bottomRight().width());
174 return m_radii.topLeft().width() + m_radii.topRight().width() <= m_rect.width()
177 && m_radii.topRight().height() + m_radii.bottomRight().height() <= m_rect.height();
182 int maxRadiusWidth = std::max(m_radii.topLeft().width() + m_radii.topRight().width(), m_radii.bottomLeft().width() + m_radii.bottomRight().width());
183 int maxRadiusHeight = std::max(m_radii.topLeft().height() + m_radii.bottomLeft().height(), m_radii.topRight()
[all...]
H A DRoundedRect.h43 Radii(const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight) argument
45 , m_topRight(topRight)
56 const IntSize& topRight() const { return m_topRight; } function in class:blink::RoundedRect::Radii
80 RoundedRect(const IntRect&, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight);
116 return a.topLeft() == b.topLeft() && a.topRight() == b.topRight() && a.bottomLeft() == b.bottomLeft() && a.bottomRight() == b.bottomRight();
H A DFloatRoundedRect.cpp48 FloatRoundedRect::FloatRoundedRect(const FloatRect& rect, const FloatSize& topLeft, const FloatSize& topRight, const FloatSize& bottomLeft, const FloatSize& bottomRight) argument
50 , m_radii(topLeft, topRight, bottomLeft, bottomRight)
H A DFloatRoundedRectTest.cpp60 << ::testing::PrintToString(radii.topRight()) << ", "
91 EXPECT_EQ(FloatSize(), r.radii().topRight());
127 EXPECT_EQ(cornerRadii, r.radii().topRight());
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/
H A DPerformanceResultsPerspective.java58 IFolderLayout topRight =
60 "topRight", //NON-NLS-1
64 topRight.addView(IPageLayout.ID_PROP_SHEET); //NON-NLS-1
/external/chromium_org/third_party/skia/debugger/QT/
H A DSkListWidget.cpp35 painter->drawLine(r.topLeft(),r.topRight());
36 painter->drawLine(r.topRight(),r.bottomRight());
48 painter->drawLine(r.topLeft(),r.topRight());
49 painter->drawLine(r.topRight(),r.bottomRight());
/external/skia/debugger/QT/
H A DSkListWidget.cpp35 painter->drawLine(r.topLeft(),r.topRight());
36 painter->drawLine(r.topRight(),r.bottomRight());
48 painter->drawLine(r.topLeft(),r.topRight());
49 painter->drawLine(r.topRight(),r.bottomRight());
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
H A DBoxShape.cpp101 paths.shape.addRoundedRect(m_bounds.rect(), m_bounds.radii().topLeft(), m_bounds.radii().topRight(), m_bounds.radii().bottomLeft(), m_bounds.radii().bottomRight());
103 paths.marginShape.addRoundedRect(shapeMarginBounds().rect(), shapeMarginBounds().radii().topLeft(), shapeMarginBounds().radii().topRight(), shapeMarginBounds().radii().bottomLeft(), shapeMarginBounds().radii().bottomRight());
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DFELighting.cpp96 inline void FELighting::LightingData::topRight(int offset, IntPoint& normalVector) function in class:blink::FELighting::LightingData
113 int topRight = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset)); local
117 normalVector.setX(-top + topRight - (center << 1) + (right << 1) - bottom + bottomRight);
118 normalVector.setY(-(top << 1) - topRight + (bottom << 1) + bottomRight);
128 int topRight = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset)); local
133 normalVector.setX(-topLeft + topRight - (left << 1) + (right << 1) - bottomLeft + bottomRight);
134 normalVector.setY(-topLeft - (top << 1) - topRight + bottomLeft + (bottom << 1) + bottomRight);
157 int topRight = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset)); local
158 normalVector.setX(-top + topRight - (center << 1) + (right << 1));
159 normalVector.setY(-(top << 1) - topRight
170 int topRight = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset)); local
[all...]
H A DFELighting.h66 inline void topRight(int offset, IntPoint& normalVector);
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DBorderData.h123 const LengthSize& topRight() const { return m_topRight; } function in class:blink::BorderData
H A DRenderStyle.cpp941 IntSize(valueForLength(border.topRight().width(), size.width()),
942 valueForLength(border.topRight().height(), size.height())),
1676 radiiSum = radii.topLeft().width() + radii.topRight().width(); // Casts to avoid integer overflow.
1691 radiiSum = radii.topRight().height() + radii.bottomRight().height();
/external/deqp/modules/gles3/functional/
H A Des3fTextureWrapTests.cpp100 tcu::Vec2 topRight; member in struct:deqp::gles3::Functional::TextureWrapCase::Case
103 Case (const tcu::Vec2& bl, const tcu::Vec2& tr) : bottomLeft(bl), topRight(tr) {}
325 computeQuadTexCoord2D(texCoord, m_cases[m_caseNdx].bottomLeft, m_cases[m_caseNdx].topRight);
345 log << TestLog::Message << "Note: lookup coordinates: bottom-left " << m_cases[m_caseNdx].bottomLeft << ", top-right " << m_cases[m_caseNdx].topRight << TestLog::EndMessage;
H A Des3fTextureShadowTests.cpp430 tcu::Vec2 topRight; member in struct:deqp::gles3::Functional::TextureCubeShadowCase::FilterCase
442 , topRight (topRight_)
630 << "Coordinates: " << curCase.bottomLeft << " -> " << curCase.topRight
639 computeQuadTexCoordCube(texCoord, face, curCase.bottomLeft, curCase.topRight);
/external/deqp/modules/gles31/functional/
H A Des31fTextureFilteringTests.cpp139 tcu::Vec2 topRight; member in struct:deqp::gles31::Functional::TextureCubeArrayFilteringCase::FilterCase
150 , topRight (topRight_)
351 m_testCtx.getLog() << TestLog::Message << "Coordinates: " << curCase.bottomLeft << " -> " << curCase.topRight << TestLog::EndMessage;
359 computeQuadTexCoordCubeArray(texCoord, face, curCase.bottomLeft, curCase.topRight, curCase.layerRange);
/external/deqp/modules/glshared/
H A DglsTextureTestUtil.hpp372 void computeQuadTexCoord2D (std::vector<float>& dst, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight);
373 void computeQuadTexCoord2DArray (std::vector<float>& dst, int layerNdx, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight);
376 void computeQuadTexCoordCube (std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight);
377 void computeQuadTexCoordCubeArray (std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight, const tcu::Vec2& layerRange);
H A DglsTextureTestUtil.cpp1469 void computeQuadTexCoord2D (std::vector<float>& dst, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight) argument
1474 dst[2] = bottomLeft.x(); dst[3] = topRight.y();
1475 dst[4] = topRight.x(); dst[5] = bottomLeft.y();
1476 dst[6] = topRight.x(); dst[7] = topRight.y();
1479 void computeQuadTexCoord2DArray (std::vector<float>& dst, int layerNdx, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight) argument
1484 dst[3] = bottomLeft.x(); dst[ 4] = topRight.y(); dst[ 5] = (float)layerNdx;
1485 dst[6] = topRight.x(); dst[ 7] = bottomLeft.y(); dst[ 8] = (float)layerNdx;
1486 dst[9] = topRight.x(); dst[10] = topRight
1574 computeQuadTexCoordCube(std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight) argument
1614 computeQuadTexCoordCubeArray(std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight, const tcu::Vec2& layerRange) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSGradientValue.cpp936 FloatPoint topRight(size.width(), 0);
937 float topRightDistance = FloatSize(p - topRight).diagonalLength();
949 corner = topRight;
969 FloatPoint topRight(size.width(), 0);
970 float topRightDistance = FloatSize(p - topRight).diagonalLength();
982 corner = topRight;
/external/chromium_org/third_party/WebKit/Source/core/paint/
H A DBoxPainter.cpp260 if (!clipRect.radii().topRight().isEmpty() || !clipRect.radii().bottomLeft().isEmpty()) {
263 topCornerRadii.setTopRight(clipRect.radii().topRight());
1254 overshoot = newRadii.topLeft().width() + newRadii.topRight().width() - newRect.width();
1256 ASSERT(!(newRadii.topLeft().width() && newRadii.topRight().width()));
1263 maxRadii = std::max(newRadii.topLeft().height(), newRadii.topRight().height());
1301 overshoot = newRadii.topRight().height() + newRadii.bottomRight().height() - newRect.height();
1303 ASSERT(!(newRadii.topRight().height() && newRadii.bottomRight().height()));
1305 if (!newRadii.topRight().height())
1310 maxRadii = std::max(newRadii.topRight().width(), newRadii.bottomRight().width());
1342 LayoutRect topRightRect(boundingRect.location(), radii.topRight());
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DGraphicsContext.cpp1393 fillBetweenRoundedRects(outer.rect(), outer.radii().topLeft(), outer.radii().topRight(), outer.radii().bottomLeft(), outer.radii().bottomRight(),
1394 inner.rect(), inner.radii().topLeft(), inner.radii().topRight(), inner.radii().bottomLeft(), inner.radii().bottomRight(), color);
1397 void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, argument
1404 if (topLeft.width() + topRight.width() > rect.width()
1407 || topRight.height() + bottomRight.height() > rect.height()) {
1416 setRadii(radii, topLeft, topRight, bottomRight, bottomLeft);
1501 setRadii(radii, wkRadii.topLeft(), wkRadii.topRight(), wkRadii.bottomRight(), wkRadii.bottomLeft());
1728 fillRoundedRect(rect.rect(), rect.radii().topLeft(), rect.radii().topRight(), rect.radii().bottomLeft(), rect.radii().bottomRight(), color);
1840 void GraphicsContext::setRadii(SkVector* radii, IntSize topLeft, IntSize topRight, IntSize bottomRight, IntSize bottomLeft) argument
1844 radii[SkRRect::kUpperRight_Corner].set(SkIntToScalar(topRight
[all...]
/external/deqp/modules/gles2/accuracy/
H A Des2aTextureMipmapTests.cpp187 Vec2 topRight; member in struct:deqp::gles2::Accuracy::__anon19855
214 const Vec2& topRight = s_basicCoords[cellNdx].topRight; local
216 computeQuadTexCoord2D(dst, bottomLeft, topRight);
/external/deqp/modules/gles3/accuracy/
H A Des3aTextureMipmapTests.cpp179 Vec2 topRight; member in struct:deqp::gles3::Accuracy::__anon19979
206 const Vec2& topRight = s_basicCoords[cellNdx].topRight; local
208 computeQuadTexCoord2D(dst, bottomLeft, topRight);
/external/deqp/modules/gles2/functional/
H A Des2fTextureFilteringTests.cpp357 tcu::Vec2 topRight; member in struct:deqp::gles2::Functional::TextureCubeFilteringCase::FilterCase
367 , topRight (topRight_)
563 m_testCtx.getLog() << TestLog::Message << "Coordinates: " << curCase.bottomLeft << " -> " << curCase.topRight << TestLog::EndMessage;
571 computeQuadTexCoordCube(texCoord, face, curCase.bottomLeft, curCase.topRight);
H A Des2fTextureMipmapTests.cpp191 Vec2 topRight; member in struct:deqp::gles2::Functional::__anon19917
218 const Vec2& topRight = s_basicCoords[cellNdx].topRight; local
220 computeQuadTexCoord2D(dst, bottomLeft, topRight);

Completed in 477 milliseconds

12