Searched refs:topRight (Results 1 - 25 of 37) 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:WebCore::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.cpp105 m_topRight = edges.topRight();
111 m_topRight = edges.topRight();
148 RoundedRect::RoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight) argument
150 , m_radii(topLeft, topRight, bottomLeft, bottomRight)
158 int minY = m_rect.y() + max(m_radii.topLeft().height(), m_radii.topRight().height());
159 int maxX = m_rect.maxX() - max(m_radii.topRight().width(), m_radii.bottomRight().width());
176 return m_radii.topLeft().width() + m_radii.topRight().width() <= m_rect.width()
179 && m_radii.topRight().height() + m_radii.bottomRight().height() <= m_rect.height();
184 int maxRadiusWidth = std::max(m_radii.topLeft().width() + m_radii.topRight().width(), m_radii.bottomLeft().width() + m_radii.bottomRight().width());
185 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:WebCore::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.cpp105 paths.shape.addRoundedRect(m_bounds.rect(), m_bounds.radii().topLeft(), m_bounds.radii().topRight(), m_bounds.radii().bottomLeft(), m_bounds.radii().bottomRight());
107 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:WebCore::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:WebCore::BorderData
H A DRenderStyle.cpp968 IntSize(valueForLength(border.topRight().width(), size.width()),
969 valueForLength(border.topRight().height(), size.height())),
1693 radiiSum = radii.topLeft().width() + radii.topRight().width(); // Casts to avoid integer overflow.
1708 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;
/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.cpp1464 void computeQuadTexCoord2D (std::vector<float>& dst, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight) argument
1469 dst[2] = bottomLeft.x(); dst[3] = topRight.y();
1470 dst[4] = topRight.x(); dst[5] = bottomLeft.y();
1471 dst[6] = topRight.x(); dst[7] = topRight.y();
1474 void computeQuadTexCoord2DArray (std::vector<float>& dst, int layerNdx, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight) argument
1479 dst[3] = bottomLeft.x(); dst[ 4] = topRight.y(); dst[ 5] = (float)layerNdx;
1480 dst[6] = topRight.x(); dst[ 7] = bottomLeft.y(); dst[ 8] = (float)layerNdx;
1481 dst[9] = topRight.x(); dst[10] = topRight
1569 computeQuadTexCoordCube(std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight) argument
1609 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/platform/graphics/
H A DGraphicsContext.cpp1233 fillBetweenRoundedRects(outer.rect(), outer.radii().topLeft(), outer.radii().topRight(), outer.radii().bottomLeft(), outer.radii().bottomRight(),
1234 inner.rect(), inner.radii().topLeft(), inner.radii().topRight(), inner.radii().bottomLeft(), inner.radii().bottomRight(), color);
1237 void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, argument
1243 if (topLeft.width() + topRight.width() > rect.width()
1246 || topRight.height() + bottomRight.height() > rect.height()) {
1255 setRadii(radii, topLeft, topRight, bottomRight, bottomLeft);
1340 setRadii(radii, wkRadii.topLeft(), wkRadii.topRight(), wkRadii.bottomRight(), wkRadii.bottomLeft());
1556 fillRoundedRect(rect.rect(), rect.radii().topLeft(), rect.radii().topRight(), rect.radii().bottomLeft(), rect.radii().bottomRight(), color);
1694 void GraphicsContext::setRadii(SkVector* radii, IntSize topLeft, IntSize topRight, IntSize bottomRight, IntSize bottomLeft) argument
1698 radii[SkRRect::kUpperRight_Corner].set(SkIntToScalar(topRight
[all...]
H A DGraphicsContext.h264 void fillRoundedRect(const IntRect&, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color&);
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSGradientValue.cpp919 FloatPoint topRight(size.width(), 0);
920 float topRightDistance = FloatSize(p - topRight).diagonalLength();
932 corner = topRight;
952 FloatPoint topRight(size.width(), 0);
953 float topRightDistance = FloatSize(p - topRight).diagonalLength();
965 corner = topRight;
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderBoxModelObject.cpp463 if (!clipRect.radii().topRight().isEmpty() || !clipRect.radii().bottomLeft().isEmpty()) {
466 topCornerRadii.setTopRight(clipRect.radii().topRight());
1409 LayoutRect topRightRect(boundingRect.location(), radii.topRight());
1664 bool usePath = renderRadii && (borderStyleHasInnerDetail(edges[BSTop].style) || borderWillArcInnerEdge(innerBorder.radii().topLeft(), innerBorder.radii().topRight()));
1688 bool usePath = renderRadii && (borderStyleHasInnerDetail(edges[BSRight].style) || borderWillArcInnerEdge(innerBorder.radii().bottomRight(), innerBorder.radii().topRight()));
2110 if (!innerBorder.radii().topRight().isZero()) {
2113 quad[2].x() - innerBorder.radii().topRight().width(),
2117 quad[2].y() + innerBorder.radii().topRight().height()),
2186 if (!innerBorder.radii().topRight().isZero()) {
2189 quad[1].x() - innerBorder.radii().topRight()
[all...]
/external/deqp/modules/gles2/accuracy/
H A Des2aTextureMipmapTests.cpp187 Vec2 topRight; member in struct:deqp::gles2::Accuracy::__anon19053
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::__anon19177
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::__anon19115
218 const Vec2& topRight = s_basicCoords[cellNdx].topRight; local
220 computeQuadTexCoord2D(dst, bottomLeft, topRight);

Completed in 566 milliseconds

12