/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 | 106 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 …]
|
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/samples/angle/sample_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()
|
D | SkPathOpsCommon.cpp | 231 int* endIndex, SkPoint* topLeft, bool* unsortable, bool* done, bool firstPass) { in findTopSegment() argument 246 if (bounds.fBottom < topLeft->fY) { in findTopSegment() 250 if (bounds.fBottom == topLeft->fY && bounds.fRight < topLeft->fX) { in findTopSegment() 254 contour->topSortableSegment(*topLeft, &bestXY, &topStart); in findTopSegment() 262 *topLeft = bestXY; in findTopSegment() 320 int* endIndexPtr, SkPoint* topLeft, bool* unsortable, bool* done, bool* onlyVertical, in FindSortableTop() argument 322 SkOpSegment* current = findTopSegment(contourList, indexPtr, endIndexPtr, topLeft, unsortable, in FindSortableTop()
|
/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 WebCore::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/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/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/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/third_party/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/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/android_webview/java/src/org/chromium/android_webview/ |
D | ExternalVideoSurfaceContainer.java | 221 RenderCoordinates.NormalizedPoint topLeft = renderCoordinates.createNormalizedPoint(); in layOutSurfaceView() local 223 topLeft.setAbsoluteCss(mLeft, mTop); in layOutSurfaceView() 225 float top = topLeft.getYPix(); in layOutSurfaceView() 226 float left = topLeft.getXPix(); in layOutSurfaceView()
|
/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/skia/tests/ |
D | PathOpsBoundsTest.cpp | 77 SkPoint topLeft = {0, 0}; in DEF_TEST() local 78 bounds.setPointBounds(topLeft); in DEF_TEST()
|
/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/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
D | BoxShape.cpp | 105 …paths.shape.addRoundedRect(m_bounds.rect(), m_bounds.radii().topLeft(), m_bounds.radii().topRight(… in buildDisplayPaths() 107 …e.addRoundedRect(shapeMarginBounds().rect(), shapeMarginBounds().radii().topLeft(), shapeMarginBou… in buildDisplayPaths()
|