/external/chromium-trace/trace-viewer/src/ui/ |
D | rect_view.js | 44 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/ |
D | RoundedRect.cpp | 104 m_topLeft = edges.topLeft(); in includeLogicalEdges() 146 RoundedRect::RoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, cons… in RoundedRect() argument 148 , m_radii(topLeft, topRight, bottomLeft, bottomRight) in RoundedRect() 155 int minX = m_rect.x() + std::max(m_radii.topLeft().width(), m_radii.bottomLeft().width()); in radiusCenterRect() 156 int minY = m_rect.y() + std::max(m_radii.topLeft().height(), m_radii.topRight().height()); in radiusCenterRect() 174 return m_radii.topLeft().width() + m_radii.topRight().width() <= m_rect.width() in isRenderable() 176 && m_radii.topLeft().height() + m_radii.bottomLeft().height() <= m_rect.height() in isRenderable() 182 …int maxRadiusWidth = std::max(m_radii.topLeft().width() + m_radii.topRight().width(), m_radii.bott… in adjustRadii() 183 …int maxRadiusHeight = std::max(m_radii.topLeft().height() + m_radii.bottomLeft().height(), m_radii… in adjustRadii() 200 const IntSize& topLeft = m_radii.topLeft(); in intersectsQuad() local [all …]
|
D | FloatRoundedRect.h | 44 …Radii(const FloatSize& topLeft, const FloatSize& topRight, const FloatSize& bottomLeft, const Floa… in Radii() argument 45 : m_topLeft(topLeft) in Radii() 53 : m_topLeft(intRadii.topLeft()) in Radii() 64 const FloatSize& topLeft() const { return m_topLeft; } in topLeft() function 86 …FloatRoundedRect(const FloatRect&, const FloatSize& topLeft, const FloatSize& topRight, const Floa… 103 … return FloatRect(m_rect.x(), m_rect.y(), m_radii.topLeft().width(), m_radii.topLeft().height()); in topLeftCorner() 127 …return a.topLeft() == b.topLeft() && a.topRight() == b.topRight() && a.bottomLeft() == b.bottomLef…
|
D | RoundedRect.h | 43 …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…
|
D | FloatRoundedRectTest.cpp | 59 << ::testing::PrintToString(radii.topLeft()) << ", " in PrintTo() 90 EXPECT_EQ(FloatSize(), r.radii().topLeft()); in TEST() 126 EXPECT_EQ(cornerRadii, r.radii().topLeft()); in TEST()
|
/external/chromium_org/third_party/angle/util/win32/ |
D | Win32Window.cpp | 159 POINT topLeft; in WndProc() local 160 topLeft.x = winRect.left; in WndProc() 161 topLeft.y = winRect.top; in WndProc() 162 ClientToScreen(hWnd, &topLeft); in WndProc() 166 event.Move.X = topLeft.x; in WndProc() 167 event.Move.Y = topLeft.y; in WndProc() 178 POINT topLeft; in WndProc() local 179 topLeft.x = winRect.left; in WndProc() 180 topLeft.y = winRect.top; in WndProc() 181 ClientToScreen(hWnd, &topLeft); in WndProc() [all …]
|
/external/chromium_org/third_party/skia/src/pathops/ |
D | SkPathOpsSimplify.cpp | 18 SkPoint topLeft = {SK_ScalarMin, SK_ScalarMin}; in bridgeWinding() local 23 lastTopLeft = topLeft; in bridgeWinding() 25 &index, &endIndex, &topLeft, &topUnsortable, &topDone, &onlyVertical, firstPass); in bridgeWinding() 28 SkASSERT(topLeft.fX != SK_ScalarMin && topLeft.fY != SK_ScalarMin); in bridgeWinding() 29 topLeft.fX = topLeft.fY = SK_ScalarMin; in bridgeWinding() 36 firstPass = !topUnsortable || lastTopLeft != topLeft; in bridgeWinding()
|
D | SkPathOpsOp.cpp | 128 SkPoint topLeft = {SK_ScalarMin, SK_ScalarMin}; in bridgeOp() local 133 lastTopLeft = topLeft; in bridgeOp() 135 &index, &endIndex, &topLeft, &topUnsortable, &topDone, &onlyVertical, firstPass); in bridgeOp() 138 SkASSERT(topLeft.fX != SK_ScalarMin && topLeft.fY != SK_ScalarMin); in bridgeOp() 146 topLeft.fX = topLeft.fY = SK_ScalarMin; in bridgeOp() 153 firstPass = !topUnsortable || lastTopLeft != topLeft; in bridgeOp()
|
/external/skia/src/pathops/ |
D | SkPathOpsSimplify.cpp | 18 SkPoint topLeft = {SK_ScalarMin, SK_ScalarMin}; in bridgeWinding() local 23 lastTopLeft = topLeft; in bridgeWinding() 25 &index, &endIndex, &topLeft, &topUnsortable, &topDone, &onlyVertical, firstPass); in bridgeWinding() 28 SkASSERT(topLeft.fX != SK_ScalarMin && topLeft.fY != SK_ScalarMin); in bridgeWinding() 29 topLeft.fX = topLeft.fY = SK_ScalarMin; in bridgeWinding() 36 firstPass = !topUnsortable || lastTopLeft != topLeft; in bridgeWinding()
|
D | SkPathOpsOp.cpp | 128 SkPoint topLeft = {SK_ScalarMin, SK_ScalarMin}; in bridgeOp() local 133 lastTopLeft = topLeft; in bridgeOp() 135 &index, &endIndex, &topLeft, &topUnsortable, &topDone, &onlyVertical, firstPass); in bridgeOp() 138 SkASSERT(topLeft.fX != SK_ScalarMin && topLeft.fY != SK_ScalarMin); in bridgeOp() 146 topLeft.fX = topLeft.fY = SK_ScalarMin; in bridgeOp() 153 firstPass = !topUnsortable || lastTopLeft != topLeft; in bridgeOp()
|
/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/ |
D | PerformanceResultsPerspective.java | 48 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/WebKit/Source/platform/graphics/filters/ |
D | FELighting.cpp | 72 inline void FELighting::LightingData::topLeft(int offset, IntPoint& normalVector) in topLeft() function in blink::FELighting::LightingData 126 int topLeft = static_cast<int>(pixels->item(offset - cPixelSize + cAlphaChannelOffset)); in interior() local 133 normalVector.setX(-topLeft + topRight - (left << 1) + (right << 1) - bottomLeft + bottomRight); in interior() 134 normalVector.setY(-topLeft - (top << 1) - topRight + bottomLeft + (bottom << 1) + bottomRight); in interior() 142 int topLeft = static_cast<int>(pixels->item(offset - cPixelSize + cAlphaChannelOffset)); in rightColumn() local 147 normalVector.setX(-topLeft + top - (left << 1) + (center << 1) - bottomLeft + bottom); in rightColumn() 148 normalVector.setY(-topLeft - (top << 1) + bottomLeft + (bottom << 1)); in rightColumn() 168 int topLeft = static_cast<int>(pixels->item(offset - cPixelSize + cAlphaChannelOffset)); in bottomRow() local 171 normalVector.setX(-topLeft + topRight - (left << 1) + (right << 1)); in bottomRow() 172 normalVector.setY(-topLeft - (top << 1) - topRight + left + (center << 1) + right); in bottomRow() [all …]
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
D | ShapeOps.cpp | 137 SkPoint topLeft = {SK_ScalarMin, SK_ScalarMin}; in bridgeOp() local 141 Segment* current = findSortableTop(contourList, firstContour, index, endIndex, topLeft, in bridgeOp() 146 SkASSERT(topLeft.fX != SK_ScalarMin && topLeft.fY != SK_ScalarMin); in bridgeOp() 147 topLeft.fX = topLeft.fY = SK_ScalarMin; in bridgeOp()
|
/external/chromium_org/chrome/browser/ui/cocoa/find_bar/ |
D | find_bar_view.mm | 43 NSPoint topLeft = NSMakePoint(NSMinX(rect), NSMaxY(rect)); 59 [path moveToPoint:topLeft]; 61 controlPoint1:NSMakePoint(midLeft1.x, topLeft.y) 62 controlPoint2:NSMakePoint(midLeft1.x, topLeft.y)]; 74 controlPoint1:NSMakePoint(midRight2.x, topLeft.y) 75 controlPoint2:NSMakePoint(midRight2.x, topLeft.y)];
|
/external/skia/experimental/Intersection/ |
D | ShapeOps.cpp | 137 SkPoint topLeft = {SK_ScalarMin, SK_ScalarMin}; in bridgeOp() local 141 Segment* current = findSortableTop(contourList, firstContour, index, endIndex, topLeft, in bridgeOp() 146 SkASSERT(topLeft.fX != SK_ScalarMin && topLeft.fY != SK_ScalarMin); in bridgeOp() 147 topLeft.fX = topLeft.fY = SK_ScalarMin; in bridgeOp()
|
/external/skia/debugger/QT/ |
D | SkListWidget.cpp | 35 painter->drawLine(r.topLeft(),r.topRight()); in paint() 38 painter->drawLine(r.topLeft(),r.bottomLeft()); in paint() 48 painter->drawLine(r.topLeft(),r.topRight()); in paint() 51 painter->drawLine(r.topLeft(),r.bottomLeft()); in paint()
|
/external/skia/src/gpu/ |
D | SkGrPixelRef.cpp | 66 SkIPoint* topLeft; in copyToTexturePixelRef() local 73 topLeft = &pointStorage; in copyToTexturePixelRef() 77 topLeft = NULL; in copyToTexturePixelRef() 87 context->copyTexture(texture, dst->asRenderTarget(), topLeft); in copyToTexturePixelRef()
|
/external/chromium_org/third_party/skia/src/gpu/ |
D | SkGrPixelRef.cpp | 68 SkIPoint* topLeft; in copy_to_new_texture_pixelref() local 75 topLeft = &pointStorage; in copy_to_new_texture_pixelref() 79 topLeft = NULL; in copy_to_new_texture_pixelref() 89 context->copyTexture(texture, dst->asRenderTarget(), topLeft); in copy_to_new_texture_pixelref()
|
/external/chromium_org/third_party/skia/debugger/QT/ |
D | SkListWidget.cpp | 35 painter->drawLine(r.topLeft(),r.topRight()); in paint() 38 painter->drawLine(r.topLeft(),r.bottomLeft()); in paint() 48 painter->drawLine(r.topLeft(),r.topRight()); in paint() 51 painter->drawLine(r.topLeft(),r.bottomLeft()); in paint()
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
D | ExternalVideoSurfaceContainer.java | 220 RenderCoordinates.NormalizedPoint topLeft = renderCoordinates.createNormalizedPoint(); in layOutSurfaceView() local 222 topLeft.setAbsoluteCss(mLeft, mTop); in layOutSurfaceView() 224 float top = topLeft.getYPix(); in layOutSurfaceView() 225 float left = topLeft.getXPix(); in layOutSurfaceView()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderInline.cpp | 283 caretRect.moveBy(roundedLayoutPoint(firstBox->topLeft())); in localCaretRect() 568 yield(FloatRect(curr->topLeft(), curr->size())); in generateLineBoxRects() 706 LayoutPoint topLeft; in offsetLeft() local 708 topLeft = flooredLayoutPoint(firstBox->topLeft()); in offsetLeft() 709 return adjustedPositionRelativeToOffsetParent(topLeft).x(); in offsetLeft() 714 LayoutPoint topLeft; in offsetTop() local 716 topLeft = flooredLayoutPoint(firstBox->topLeft()); in offsetTop() 717 return adjustedPositionRelativeToOffsetParent(topLeft).y(); in offsetTop() 1087 LayoutPoint topLeft = rect.location(); in mapRectToPaintInvalidationBacking() local 1092 LayoutRect paintInvalidationRect(topLeft, rect.size()); in mapRectToPaintInvalidationBacking() [all …]
|
/external/eigen/test/ |
D | geo_alignedbox.cpp | 124 Vector2f topLeft; topLeft << m[0], M[1]; in specificTest1() local 126 VERIFY_IS_APPROX( topLeft, box.corner( BoxType::TopLeft ) ); in specificTest1()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
D | BoxShape.cpp | 101 …paths.shape.addRoundedRect(m_bounds.rect(), m_bounds.radii().topLeft(), m_bounds.radii().topRight(… in buildDisplayPaths() 103 …e.addRoundedRect(shapeMarginBounds().rect(), shapeMarginBounds().radii().topLeft(), shapeMarginBou… in buildDisplayPaths()
|
/external/chromium_org/third_party/skia/tests/ |
D | PathOpsBoundsTest.cpp | 77 SkPoint topLeft = {0, 0}; in DEF_TEST() local 78 bounds.setPointBounds(topLeft); in DEF_TEST()
|
/external/skia/tests/ |
D | PathOpsBoundsTest.cpp | 77 SkPoint topLeft = {0, 0}; in DEF_TEST() local 78 bounds.setPointBounds(topLeft); in DEF_TEST()
|