Home
last modified time | relevance | path

Searched refs:topRight (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DRoundedRect.cpp105 m_topRight = edges.topRight(); in includeLogicalEdges()
111 m_topRight = edges.topRight(); in includeLogicalEdges()
148 RoundedRect::RoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, cons… in RoundedRect() argument
150 , m_radii(topLeft, topRight, bottomLeft, bottomRight) in RoundedRect()
158 int minY = m_rect.y() + max(m_radii.topLeft().height(), m_radii.topRight().height()); in radiusCenterRect()
159 int maxX = m_rect.maxX() - max(m_radii.topRight().width(), m_radii.bottomRight().width()); in radiusCenterRect()
176 return m_radii.topLeft().width() + m_radii.topRight().width() <= m_rect.width() in isRenderable()
179 && m_radii.topRight().height() + m_radii.bottomRight().height() <= m_rect.height(); in isRenderable()
184 …int maxRadiusWidth = std::max(m_radii.topLeft().width() + m_radii.topRight().width(), m_radii.bott… in adjustRadii()
185 …max(m_radii.topLeft().height() + m_radii.bottomLeft().height(), m_radii.topRight().height() + m_ra… in adjustRadii()
[all …]
DFloatRoundedRect.h43 …Radii(const FloatSize& topLeft, const FloatSize& topRight, const FloatSize& bottomLeft, const Floa… in Radii() argument
45 , m_topRight(topRight) in Radii()
56 const FloatSize& topRight() const { return m_topRight; } in topRight() function
77 …FloatRoundedRect(const FloatRect&, const FloatSize& topLeft, const FloatSize& topRight, const Floa…
98 …urn FloatRect(m_rect.maxX() - m_radii.topRight().width(), m_rect.y(), m_radii.topRight().width(), … in topRightCorner()
118 …return a.topLeft() == b.topLeft() && a.topRight() == b.topRight() && a.bottomLeft() == b.bottomLef…
DRoundedRect.h43 …Radii(const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& b… in Radii() argument
45 , m_topRight(topRight) in Radii()
56 const IntSize& topRight() const { return m_topRight; } in topRight() function
80 …RoundedRect(const IntRect&, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottom…
116 …return a.topLeft() == b.topLeft() && a.topRight() == b.topRight() && a.bottomLeft() == b.bottomLef…
DFloatRoundedRectTest.cpp60 << ::testing::PrintToString(radii.topRight()) << ", " in PrintTo()
91 EXPECT_EQ(FloatSize(), r.radii().topRight()); in TEST()
127 EXPECT_EQ(cornerRadii, r.radii().topRight()); in TEST()
DFloatRoundedRect.cpp48 …dRect(const FloatRect& rect, const FloatSize& topLeft, const FloatSize& topRight, const FloatSize&… in FloatRoundedRect() argument
50 , m_radii(topLeft, topRight, bottomLeft, bottomRight) in FloatRoundedRect()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
DFELighting.cpp89 inline void FELighting::LightingData::topRight(int offset, IntPoint& normalVector) in topRight() function in WebCore::FELighting::LightingData
106 int topRight = 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()
121 int topRight = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset)); in interior() local
126 normalVector.setX(-topLeft + topRight - (left << 1) + (right << 1) - bottomLeft + bottomRight); in interior()
127 normalVector.setY(-topLeft - (top << 1) - topRight + bottomLeft + (bottom << 1) + bottomRight); in interior()
150 int topRight = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset)); in bottomLeft() local
151 normalVector.setX(-top + topRight - (center << 1) + (right << 1)); in bottomLeft()
152 normalVector.setY(-(top << 1) - topRight + (center << 1) + right); in bottomLeft()
[all …]
DFELighting.h69 inline void topRight(int offset, IntPoint& normalVector);
/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/
DPerformanceResultsPerspective.java58 IFolderLayout topRight = in addViews() local
64 topRight.addView(IPageLayout.ID_PROP_SHEET); //NON-NLS-1 in addViews()
/external/chromium/chrome/browser/ui/cocoa/
Dprofile_menu_button_unittest.mm78 NSPoint topRight = NSMakePoint(NSMaxX(mouseRect), NSMaxY(mouseRect));
82 // Without profile display name. Only topRight should hit.
83 EXPECT_NSEQ([button_ hitTest:topRight], button_);
90 EXPECT_NSEQ([button_ hitTest:topRight], button_);
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
DTerrainPatch.java358 TerrainPatch topRight, in fixNormalEdges() argument
396 if (topRight != null) { in fixNormalEdges()
836 …Vector3f topRight = worldCoordinateToLocal(new Vector3f(bbox.getCenter().x+bbox.getXExtent(), 0, b… in collideWithBoundingBox() local
843 t = getTriangle(topRight.x, topRight.z); in collideWithBoundingBox()
855 for (float x=topLeft.x; x<topRight.x; x+=1) { in collideWithBoundingBox()
DTerrainQuad.java1620 TerrainPatch topRight = null;
1622 topRight = findRightPatch(top);
1627 … tp.fixNormalEdges(right, bottom, top, left, bottomRight, bottomLeft, topRight, topLeft);
/external/chromium/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_view.mm32 NSPoint topRight = NSMakePoint(NSMaxX(rect), NSMaxY(rect));
61 [path curveToPoint:topRight
/external/chromium_org/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_view.mm34 NSPoint topRight = NSMakePoint(NSMaxX(rect), NSMaxY(rect));
63 [path curveToPoint:topRight
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderBoxModelObject.cpp463 if (!clipRect.radii().topRight().isEmpty() || !clipRect.radii().bottomLeft().isEmpty()) { in clipRoundedInnerRect()
466 topCornerRadii.setTopRight(clipRect.radii().topRight()); in clipRoundedInnerRect()
1407 LayoutRect topRightRect(boundingRect.location(), radii.topRight()); in allCornersClippedOut()
1662 …].style) || borderWillArcInnerEdge(innerBorder.radii().topLeft(), innerBorder.radii().topRight())); in paintBorderSides()
1686 …yle) || borderWillArcInnerEdge(innerBorder.radii().bottomRight(), innerBorder.radii().topRight())); in paintBorderSides()
2091 if (!innerBorder.radii().topRight().isZero()) { in clipBorderSidePolygon()
2094 quad[2].x() - innerBorder.radii().topRight().width(), in clipBorderSidePolygon()
2098 quad[2].y() + innerBorder.radii().topRight().height()), in clipBorderSidePolygon()
2167 if (!innerBorder.radii().topRight().isZero()) { in clipBorderSidePolygon()
2170 quad[1].x() - innerBorder.radii().topRight().width(), in clipBorderSidePolygon()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSGradientValue.cpp904 FloatPoint topRight(size.width(), 0); in distanceToClosestCorner() local
905 float topRightDistance = FloatSize(p - topRight).diagonalLength(); in distanceToClosestCorner()
917 corner = topRight; in distanceToClosestCorner()
937 FloatPoint topRight(size.width(), 0); in distanceToFarthestCorner() local
938 float topRightDistance = FloatSize(p - topRight).diagonalLength(); in distanceToFarthestCorner()
950 corner = topRight; in distanceToFarthestCorner()
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DBorderData.h110 const LengthSize& topRight() const { return m_topRight; } in topRight() function
DRenderStyle.cpp912 IntSize(valueForLength(border.topRight().width(), size.width(), renderView), in calcRadiiFor()
913 valueForLength(border.topRight().height(), size.height(), renderView)), in calcRadiiFor()
929 …c_cast<unsigned>(radii.topLeft().width()) + static_cast<unsigned>(radii.topRight().width()); // Ca… in calcConstraintScaleFor()
944 …radiiSum = static_cast<unsigned>(radii.topRight().height()) + static_cast<unsigned>(radii.bottomRi… in calcConstraintScaleFor()
DRenderStyle.h492 LengthSize borderTopRightRadius() const { return surround->border.topRight(); } in borderTopRightRadius()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsContext.cpp1363 …phicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, in fillRoundedRect() argument
1369 if (topLeft.width() + topRight.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 …fillRoundedRect(rect.rect(), rect.radii().topLeft(), rect.radii().topRight(), rect.radii().bottomL… in fillRoundedRect()
1844 void GraphicsContext::setRadii(SkVector* radii, IntSize topLeft, IntSize topRight, IntSize bottomRi… in setRadii() argument
1848 radii[SkRRect::kUpperRight_Corner].set(SkIntToScalar(topRight.width()), in setRadii()
1849 SkIntToScalar(topRight.height())); in setRadii()
DPath.cpp354 …addRoundedRect(r.rect(), r.radii().topLeft(), r.radii().topRight(), r.radii().bottomLeft(), r.radi… in addRoundedRect()
DGraphicsContext.h238 …void fillRoundedRect(const IntRect&, const IntSize& topLeft, const IntSize& topRight, const IntSiz…
/external/chromium/chrome/browser/ui/cocoa/download/
Ddownload_item_cell.mm380 NSPoint topRight = NSMakePoint(NSMaxX(rect), NSMaxY(rect));
384 [path moveToPoint:topRight];
398 NSPoint topRight = NSMakePoint(NSMaxX(rect), NSMaxY(rect));
404 toPoint:topRight
406 [path appendBezierPathWithArcFromPoint:topRight
/external/chromium_org/chrome/browser/ui/cocoa/download/
Ddownload_item_cell.mm339 NSPoint topRight = NSMakePoint(NSMaxX(rect), NSMaxY(rect));
343 [path moveToPoint:topRight];
357 NSPoint topRight = NSMakePoint(NSMaxX(rect), NSMaxY(rect));
363 toPoint:topRight
365 [path appendBezierPathWithArcFromPoint:topRight
/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/
DRenderDeviceJme.java345 Color topLeft, Color topRight, Color bottomRight, Color bottomLeft) { in renderQuad() argument
350 buf.putInt(convertColor(topRight)); in renderQuad()
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dtab_view.mm1035 NSPoint topRight =
1057 [path lineToPoint:topRight];
1059 controlPoint1:NSMakePoint(topRight.x + bottomControlPointInset,
1060 topRight.y)

12