Home
last modified time | relevance | path

Searched refs:topLeft (Results 1 – 25 of 56) sorted by relevance

123

/external/chromium-trace/trace-viewer/src/ui/
Drect_view.js44 var topLeft = vec2.fromValues(this.rect_.x, this.rect_.y);
46 topLeft[0] + this.rect_.width,
47 topLeft[1] + this.rect_.height);
48 vec2.transformMat2d(topLeft, topLeft,
50 vec2.scale(topLeft, topLeft, devicePixelsPerLayoutPixel);
54 this.style.width = botRight[0] - topLeft[0] + 'px';
55 this.style.height = DECORATION_HEIGHT + botRight[1] - topLeft[1] + 'px';
56 this.style.left = topLeft[0] + 'px';
57 this.style.top = DECORATION_HEIGHT + topLeft[1] + 'px';
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DRoundedRect.cpp106 m_topLeft = edges.topLeft(); 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()
157 int minX = m_rect.x() + max(m_radii.topLeft().width(), m_radii.bottomLeft().width()); in radiusCenterRect()
158 int minY = m_rect.y() + max(m_radii.topLeft().height(), m_radii.topRight().height()); in radiusCenterRect()
176 return m_radii.topLeft().width() + m_radii.topRight().width() <= m_rect.width() in isRenderable()
178 && m_radii.topLeft().height() + m_radii.bottomLeft().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 …int maxRadiusHeight = std::max(m_radii.topLeft().height() + m_radii.bottomLeft().height(), m_radii… in adjustRadii()
202 const IntSize& topLeft = m_radii.topLeft(); in intersectsQuad() local
[all …]
DFloatRoundedRect.h43 …Radii(const FloatSize& topLeft, const FloatSize& topRight, const FloatSize& bottomLeft, const Floa… in Radii() argument
44 : m_topLeft(topLeft) in Radii()
55 const FloatSize& topLeft() const { return m_topLeft; } in topLeft() function
77 …FloatRoundedRect(const FloatRect&, const FloatSize& topLeft, const FloatSize& topRight, const Floa…
94 … return FloatRect(m_rect.x(), m_rect.y(), m_radii.topLeft().width(), m_radii.topLeft().height()); in topLeftCorner()
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
44 : m_topLeft(topLeft) in Radii()
55 const IntSize& topLeft() const { return m_topLeft; } in topLeft() 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.cpp59 << ::testing::PrintToString(radii.topLeft()) << ", " in PrintTo()
90 EXPECT_EQ(FloatSize(), r.radii().topLeft()); in TEST()
126 EXPECT_EQ(cornerRadii, r.radii().topLeft()); in TEST()
DFloatRoundedRect.cpp48 FloatRoundedRect::FloatRoundedRect(const FloatRect& rect, const FloatSize& topLeft, const FloatSize… in FloatRoundedRect() argument
50 , m_radii(topLeft, topRight, bottomLeft, bottomRight) in FloatRoundedRect()
/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.java48 IFolderLayout topLeft = in addViews() local
54 topLeft.addView("org.eclipse.test.internal.performance.results.ui.ComponentsView"); //NON-NLS-1 in addViews()
55 topLeft.addView("org.eclipse.test.internal.performance.results.ui.BuildsView"); //NON-NLS-1 in addViews()
/external/chromium_org/third_party/skia/src/pathops/
DSkPathOpsSimplify.cpp16 SkPoint topLeft = {SK_ScalarMin, SK_ScalarMin}; in bridgeWinding() local
21 &index, &endIndex, &topLeft, &topUnsortable, &topDone); in bridgeWinding()
25 SkASSERT(topLeft.fX != SK_ScalarMin && topLeft.fY != SK_ScalarMin); in bridgeWinding()
26 topLeft.fX = topLeft.fY = SK_ScalarMin; in bridgeWinding()
DSkPathOpsOp.cpp143 SkPoint topLeft = {SK_ScalarMin, SK_ScalarMin}; in bridgeOp() local
148 &index, &endIndex, &topLeft, &topUnsortable, &done); in bridgeOp()
152 SkASSERT(topLeft.fX != SK_ScalarMin && topLeft.fY != SK_ScalarMin); in bridgeOp()
153 topLeft.fX = topLeft.fY = SK_ScalarMin; in bridgeOp()
DSkPathOpsCommon.cpp221 int* index, int* endIndex, SkPoint* topLeft, bool* unsortable, in findSortableTop() argument
235 if (bounds.fBottom < topLeft->fY) { in findSortableTop()
239 if (bounds.fBottom == topLeft->fY && bounds.fRight < topLeft->fX) { in findSortableTop()
243 contour->topSortableSegment(*topLeft, &bestXY, &topStart); in findSortableTop()
251 *topLeft = bestXY; in findSortableTop()
297 int* endIndexPtr, SkPoint* topLeft, bool* unsortable, bool* done) { in FindSortableTop() argument
298 SkOpSegment* current = findSortableTop(contourList, indexPtr, endIndexPtr, topLeft, unsortable, in FindSortableTop()
DSkOpContour.cpp300 void SkOpContour::topSortableSegment(const SkPoint& topLeft, SkPoint* bestXY, in topSortableSegment() argument
317 if (testXY.fY < topLeft.fY) { in topSortableSegment()
320 if (testXY.fY == topLeft.fY && testXY.fX < topLeft.fX) { in topSortableSegment()
DSkPathOpsCommon.h20 bool* firstContour, int* index, int* endIndex, SkPoint* topLeft,
/external/skia/src/pathops/
DSkPathOpsSimplify.cpp16 SkPoint topLeft = {SK_ScalarMin, SK_ScalarMin}; in bridgeWinding() local
21 &index, &endIndex, &topLeft, &topUnsortable, &topDone); in bridgeWinding()
25 SkASSERT(topLeft.fX != SK_ScalarMin && topLeft.fY != SK_ScalarMin); in bridgeWinding()
26 topLeft.fX = topLeft.fY = SK_ScalarMin; in bridgeWinding()
DSkPathOpsOp.cpp143 SkPoint topLeft = {SK_ScalarMin, SK_ScalarMin}; in bridgeOp() local
148 &index, &endIndex, &topLeft, &topUnsortable, &done); in bridgeOp()
152 SkASSERT(topLeft.fX != SK_ScalarMin && topLeft.fY != SK_ScalarMin); in bridgeOp()
153 topLeft.fX = topLeft.fY = SK_ScalarMin; in bridgeOp()
DSkPathOpsCommon.cpp221 int* index, int* endIndex, SkPoint* topLeft, bool* unsortable, in findSortableTop() argument
235 if (bounds.fBottom < topLeft->fY) { in findSortableTop()
239 if (bounds.fBottom == topLeft->fY && bounds.fRight < topLeft->fX) { in findSortableTop()
243 contour->topSortableSegment(*topLeft, &bestXY, &topStart); in findSortableTop()
251 *topLeft = bestXY; in findSortableTop()
297 int* endIndexPtr, SkPoint* topLeft, bool* unsortable, bool* done) { in FindSortableTop() argument
298 SkOpSegment* current = findSortableTop(contourList, indexPtr, endIndexPtr, topLeft, unsortable, in FindSortableTop()
DSkOpContour.cpp300 void SkOpContour::topSortableSegment(const SkPoint& topLeft, SkPoint* bestXY, in topSortableSegment() argument
317 if (testXY.fY < topLeft.fY) { in topSortableSegment()
320 if (testXY.fY == topLeft.fY && testXY.fX < topLeft.fX) { in topSortableSegment()
DSkPathOpsCommon.h20 bool* firstContour, int* index, int* endIndex, SkPoint* topLeft,
/external/chromium/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_view.mm31 NSPoint topLeft = NSMakePoint(NSMinX(rect), NSMaxY(rect));
47 [path moveToPoint:topLeft];
49 controlPoint1:NSMakePoint(midLeft1.x, topLeft.y)
50 controlPoint2:NSMakePoint(midLeft1.x, topLeft.y)];
62 controlPoint1:NSMakePoint(midRight2.x, topLeft.y)
63 controlPoint2:NSMakePoint(midRight2.x, topLeft.y)];
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
DFELighting.cpp65 inline void FELighting::LightingData::topLeft(int offset, IntPoint& normalVector) in topLeft() function in WebCore::FELighting::LightingData
119 int topLeft = 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()
135 int topLeft = static_cast<int>(pixels->item(offset - cPixelSize + cAlphaChannelOffset)); in rightColumn() local
140 normalVector.setX(-topLeft + top - (left << 1) + (center << 1) - bottomLeft + bottom); in rightColumn()
141 normalVector.setY(-topLeft - (top << 1) + bottomLeft + (bottom << 1)); in rightColumn()
161 int topLeft = static_cast<int>(pixels->item(offset - cPixelSize + cAlphaChannelOffset)); in bottomRow() local
164 normalVector.setX(-topLeft + topRight - (left << 1) + (right << 1)); in bottomRow()
165 normalVector.setY(-topLeft - (top << 1) - topRight + left + (center << 1) + right); in bottomRow()
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_view.mm33 NSPoint topLeft = NSMakePoint(NSMinX(rect), NSMaxY(rect));
49 [path moveToPoint:topLeft];
51 controlPoint1:NSMakePoint(midLeft1.x, topLeft.y)
52 controlPoint2:NSMakePoint(midLeft1.x, topLeft.y)];
64 controlPoint1:NSMakePoint(midRight2.x, topLeft.y)
65 controlPoint2:NSMakePoint(midRight2.x, topLeft.y)];
/external/chromium_org/third_party/skia/src/gpu/
DSkGrPixelRef.cpp62 SkIPoint* topLeft; in copyToTexturePixelRef() local
69 topLeft = &pointStorage; in copyToTexturePixelRef()
73 topLeft = NULL; in copyToTexturePixelRef()
91 context->copyTexture(texture, dst->asRenderTarget(), topLeft); in copyToTexturePixelRef()
/external/skia/src/gpu/
DSkGrPixelRef.cpp62 SkIPoint* topLeft; in copyToTexturePixelRef() local
69 topLeft = &pointStorage; in copyToTexturePixelRef()
73 topLeft = NULL; in copyToTexturePixelRef()
91 context->copyTexture(texture, dst->asRenderTarget(), topLeft); in copyToTexturePixelRef()
/external/eigen/test/
Dgeo_alignedbox.cpp117 Vector2f topLeft; topLeft << m[0], M[1]; in specificTest1() local
119 VERIFY_IS_APPROX( topLeft, box.corner( BoxType::TopLeft ) ); in specificTest1()
/external/skia/tests/
DPathOpsBoundsTest.cpp77 SkPoint topLeft = {0, 0}; in PathOpsBoundsTest() local
78 bounds.setPointBounds(topLeft); in PathOpsBoundsTest()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderInline.cpp257 caretRect.moveBy(roundedLayoutPoint(firstBox->topLeft())); in localCaretRect()
539 yield(FloatRect(curr->topLeft(), curr->size())); in generateLineBoxRects()
677 LayoutPoint topLeft; in offsetLeft() local
679 topLeft = flooredLayoutPoint(firstBox->topLeft()); in offsetLeft()
680 return adjustedPositionRelativeToOffsetParent(topLeft).x(); in offsetLeft()
685 LayoutPoint topLeft; in offsetTop() local
687 topLeft = flooredLayoutPoint(firstBox->topLeft()); in offsetTop()
688 return adjustedPositionRelativeToOffsetParent(topLeft).y(); in offsetTop()
1083 LayoutPoint topLeft = rect.location(); in computeRectForRepaint() local
1088 LayoutRect repaintRect(topLeft, rect.size()); in computeRectForRepaint()
[all …]

123