Searched defs:topLeft (Results 1 - 25 of 35) sorted by relevance

12

/external/chromium_org/third_party/skia/tests/
H A DPathOpsBoundsTest.cpp77 SkPoint topLeft = {0, 0}; local
78 bounds.setPointBounds(topLeft);
/external/skia/tests/
H A DPathOpsBoundsTest.cpp77 SkPoint topLeft = {0, 0}; local
78 bounds.setPointBounds(topLeft);
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DBorderData.h122 const LengthSize& topLeft() const { return m_topLeft; } function in class:WebCore::BorderData
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
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 DRoundedRect.h43 Radii(const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight) argument
44 : m_topLeft(topLeft)
55 const IntSize& topLeft() const { return m_topLeft; } 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.h44 Radii(const FloatSize& topLeft, const FloatSize& topRight, const FloatSize& bottomLeft, const FloatSize& bottomRight) argument
45 : m_topLeft(topLeft)
53 : m_topLeft(intRadii.topLeft())
64 const FloatSize& topLeft() const { return m_topLeft; } function in class:WebCore::FloatRoundedRect::Radii
86 FloatRoundedRect(const FloatRect&, const FloatSize& topLeft, const FloatSize& topRight, const FloatSize& bottomLeft, const FloatSize& bottomRight);
103 return FloatRect(m_rect.x(), m_rect.y(), m_radii.topLeft().width(), m_radii.topLeft().height());
127 return a.topLeft() == b.topLeft() && a.topRight() == b.topRight() && a.bottomLeft() == b.bottomLeft() && a.bottomRight() == b.bottomRight();
H A DRoundedRect.cpp106 m_topLeft = edges.topLeft();
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)
157 int minX = m_rect.x() + max(m_radii.topLeft().width(), m_radii.bottomLeft().width());
158 int minY = m_rect.y() + max(m_radii.topLeft().height(), m_radii.topRight().height());
176 return m_radii.topLeft().width() + m_radii.topRight().width() <= m_rect.width()
178 && m_radii.topLeft().height() + m_radii.bottomLeft().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().height() + m_radii.bottomRight().height());
202 const IntSize& topLeft
[all...]
/external/chromium_org/third_party/skia/src/gpu/
H A DSkGrPixelRef.cpp66 SkIPoint* topLeft; local
73 topLeft = &pointStorage;
77 topLeft = NULL;
87 context->copyTexture(texture, dst->asRenderTarget(), topLeft);
H A DGrContext.cpp1551 void GrContext::copyTexture(GrTexture* src, GrRenderTarget* dst, const SkIPoint* topLeft) { argument
1569 if (NULL != topLeft) {
1570 srcRect.offset(*topLeft);
/external/chromium_org/third_party/skia/src/pathops/
H A DSkPathOpsSimplify.cpp18 SkPoint topLeft = {SK_ScalarMin, SK_ScalarMin}; local
23 lastTopLeft = topLeft;
25 &index, &endIndex, &topLeft, &topUnsortable, &topDone, &onlyVertical, firstPass);
28 SkASSERT(topLeft.fX != SK_ScalarMin && topLeft.fY != SK_ScalarMin);
29 topLeft.fX = topLeft.fY = SK_ScalarMin;
36 firstPass = !topUnsortable || lastTopLeft != topLeft;
H A DSkPathOpsOp.cpp128 SkPoint topLeft = {SK_ScalarMin, SK_ScalarMin}; local
133 lastTopLeft = topLeft;
135 &index, &endIndex, &topLeft, &topUnsortable, &topDone, &onlyVertical, firstPass);
138 SkASSERT(topLeft.fX != SK_ScalarMin && topLeft.fY != SK_ScalarMin);
146 topLeft.fX = topLeft.fY = SK_ScalarMin;
153 firstPass = !topUnsortable || lastTopLeft != topLeft;
H A DSkPathOpsCommon.cpp231 int* endIndex, SkPoint* topLeft, bool* unsortable, bool* done, bool firstPass) {
246 if (bounds.fBottom < topLeft->fY) {
250 if (bounds.fBottom == topLeft->fY && bounds.fRight < topLeft->fX) {
254 contour->topSortableSegment(*topLeft, &bestXY, &topStart);
262 *topLeft = bestXY;
320 int* endIndexPtr, SkPoint* topLeft, bool* unsortable, bool* done, bool* onlyVertical,
322 SkOpSegment* current = findTopSegment(contourList, indexPtr, endIndexPtr, topLeft, unsortable,
230 findTopSegment(const SkTArray<SkOpContour*, true>& contourList, int* index, int* endIndex, SkPoint* topLeft, bool* unsortable, bool* done, bool firstPass) argument
318 FindSortableTop(const SkTArray<SkOpContour*, true>& contourList, SkOpAngle::IncludeType angleIncludeType, bool* firstContour, int* indexPtr, int* endIndexPtr, SkPoint* topLeft, bool* unsortable, bool* done, bool* onlyVertical, bool firstPass) argument
/external/eigen/test/
H A Dgeo_alignedbox.cpp124 Vector2f topLeft; topLeft << m[0], M[1]; local
126 VERIFY_IS_APPROX( topLeft, box.corner( BoxType::TopLeft ) );
/external/skia/src/gpu/
H A DSkGrPixelRef.cpp66 SkIPoint* topLeft; local
73 topLeft = &pointStorage;
77 topLeft = NULL;
87 context->copyTexture(texture, dst->asRenderTarget(), topLeft);
H A DGrContext.cpp1551 void GrContext::copyTexture(GrTexture* src, GrRenderTarget* dst, const SkIPoint* topLeft) { argument
1569 if (NULL != topLeft) {
1570 srcRect.offset(*topLeft);
/external/skia/src/pathops/
H A DSkPathOpsSimplify.cpp18 SkPoint topLeft = {SK_ScalarMin, SK_ScalarMin}; local
23 lastTopLeft = topLeft;
25 &index, &endIndex, &topLeft, &topUnsortable, &topDone, &onlyVertical, firstPass);
28 SkASSERT(topLeft.fX != SK_ScalarMin && topLeft.fY != SK_ScalarMin);
29 topLeft.fX = topLeft.fY = SK_ScalarMin;
36 firstPass = !topUnsortable || lastTopLeft != topLeft;
H A DSkPathOpsOp.cpp128 SkPoint topLeft = {SK_ScalarMin, SK_ScalarMin}; local
133 lastTopLeft = topLeft;
135 &index, &endIndex, &topLeft, &topUnsortable, &topDone, &onlyVertical, firstPass);
138 SkASSERT(topLeft.fX != SK_ScalarMin && topLeft.fY != SK_ScalarMin);
146 topLeft.fX = topLeft.fY = SK_ScalarMin;
153 firstPass = !topUnsortable || lastTopLeft != topLeft;
H A DSkPathOpsCommon.cpp231 int* endIndex, SkPoint* topLeft, bool* unsortable, bool* done, bool firstPass) {
246 if (bounds.fBottom < topLeft->fY) {
250 if (bounds.fBottom == topLeft->fY && bounds.fRight < topLeft->fX) {
254 contour->topSortableSegment(*topLeft, &bestXY, &topStart);
262 *topLeft = bestXY;
320 int* endIndexPtr, SkPoint* topLeft, bool* unsortable, bool* done, bool* onlyVertical,
322 SkOpSegment* current = findTopSegment(contourList, indexPtr, endIndexPtr, topLeft, unsortable,
230 findTopSegment(const SkTArray<SkOpContour*, true>& contourList, int* index, int* endIndex, SkPoint* topLeft, bool* unsortable, bool* done, bool firstPass) argument
318 FindSortableTop(const SkTArray<SkOpContour*, true>& contourList, SkOpAngle::IncludeType angleIncludeType, bool* firstContour, int* indexPtr, int* endIndexPtr, SkPoint* topLeft, bool* unsortable, bool* done, bool* onlyVertical, bool firstPass) argument
/external/chromium_org/third_party/angle/samples/angle/sample_util/win32/
H A DWin32Window.cpp159 POINT topLeft; local
160 topLeft.x = winRect.left;
161 topLeft.y = winRect.top;
162 ClientToScreen(hWnd, &topLeft);
166 event.Move.X = topLeft.x;
167 event.Move.Y = topLeft.y;
178 POINT topLeft; local
179 topLeft.x = winRect.left;
180 topLeft.y = winRect.top;
181 ClientToScreen(hWnd, &topLeft);
504 POINT topLeft; local
[all...]
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DShapeOps.cpp137 SkPoint topLeft = {SK_ScalarMin, SK_ScalarMin}; local
141 Segment* current = findSortableTop(contourList, firstContour, index, endIndex, topLeft,
146 SkASSERT(topLeft.fX != SK_ScalarMin && topLeft.fY != SK_ScalarMin);
147 topLeft.fX = topLeft.fY = SK_ScalarMin;
/external/skia/experimental/Intersection/
H A DShapeOps.cpp137 SkPoint topLeft = {SK_ScalarMin, SK_ScalarMin}; local
141 Segment* current = findSortableTop(contourList, firstContour, index, endIndex, topLeft,
146 SkASSERT(topLeft.fX != SK_ScalarMin && topLeft.fY != SK_ScalarMin);
147 topLeft.fX = topLeft.fY = SK_ScalarMin;
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DFELighting.cpp72 inline void FELighting::LightingData::topLeft(int offset, IntPoint& normalVector) function in class:WebCore::FELighting::LightingData
126 int topLeft = 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);
142 int topLeft = static_cast<int>(pixels->item(offset - cPixelSize + cAlphaChannelOffset)); local
147 normalVector.setX(-topLeft + top - (left << 1) + (center << 1) - bottomLeft + bottom);
148 normalVector.setY(-topLeft - (top << 1) + bottomLeft + (bottom << 1));
168 int topLeft = static_cast<int>(pixels->item(offset - cPixelSize + cAlphaChannelOffset)); local
171 normalVector.setX(-topLeft + topRight - (left << 1) + (right << 1));
172 normalVector.setY(-topLeft
180 int topLeft = static_cast<int>(pixels->item(offset - cPixelSize + cAlphaChannelOffset)); local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSGradientValue.cpp916 FloatPoint topLeft; local
917 float topLeftDistance = FloatSize(p - topLeft).diagonalLength();
928 corner = topLeft;
949 FloatPoint topLeft; local
950 float topLeftDistance = FloatSize(p - topLeft).diagonalLength();
961 corner = topLeft;
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DInlineBox.h52 InlineBox(RenderObject& obj, FloatPoint topLeft, float logicalWidth, bool firstLine, bool constructed, argument
58 , m_topLeft(topLeft)
201 const FloatPoint& topLeft() const { return m_topLeft; } function in class:WebCore::InlineBox
H A DRenderInline.cpp268 caretRect.moveBy(roundedLayoutPoint(firstBox->topLeft()));
550 yield(FloatRect(curr->topLeft(), curr->size()));
688 LayoutPoint topLeft; local
690 topLeft = flooredLayoutPoint(firstBox->topLeft());
691 return adjustedPositionRelativeToOffsetParent(topLeft).x();
696 LayoutPoint topLeft; local
698 topLeft = flooredLayoutPoint(firstBox->topLeft());
699 return adjustedPositionRelativeToOffsetParent(topLeft)
[all...]

Completed in 439 milliseconds

12