Home
last modified time | relevance | path

Searched refs:setLTRB (Results 1 – 25 of 83) sorted by relevance

1234

/external/skia/tests/
DClipCubicTest.cpp92 clipRect.setLTRB(-2, -2, 6, 14); in DEF_TEST()
100 clipRect.setLTRB(-2, 0, 6, 14); in DEF_TEST()
108 clipRect.setLTRB(-2, -2, 6, 12); in DEF_TEST()
116 clipRect.setLTRB(-2, 14, 6, 20); in DEF_TEST()
122 clipRect.setLTRB(-2, 1, 6, 14); in DEF_TEST()
134 clipRect.setLTRB(-2, 2, 6, 14); in DEF_TEST()
146 clipRect.setLTRB(-2, -2, 6, 11); in DEF_TEST()
158 clipRect.setLTRB(-2, -2, 6, 10); in DEF_TEST()
DPathOpsBoundsTest.cpp53 expected.setLTRB(0, 0, 3, 4); in DEF_TEST()
57 ordinal.setLTRB(1, 2, 3, 4); in DEF_TEST()
68 expected.setLTRB(0, 0, 3, 4); in DEF_TEST()
72 expected.setLTRB(0, 0, 5, 6); in DEF_TEST()
DFillPathTest.cpp39 clip.setLTRB(0, height - expected_lines, width, height); in DEF_TEST()
DInfRectTest.cpp16 rect.setLTRB(l, t, r, b); in check_invalid()
DParsePathTest.cpp57 r.setLTRB(0, 0, 10, 10.5f); in DEF_TEST()
/external/skia/gm/
Dcomplexclip2.cpp68 fRects[0].setLTRB(xB, yB, xE, yE); in onOnceBeforeDraw()
73 fRects[1].setLTRB(xA, yA, xD, yD); in onOnceBeforeDraw()
78 fRects[2].setLTRB(xC, yA, xF, yD); in onOnceBeforeDraw()
83 fRects[3].setLTRB(xA, yC, xD, yF); in onOnceBeforeDraw()
88 fRects[4].setLTRB(xC, yC, xF, yF); in onOnceBeforeDraw()
Dimage.cpp91 src2.setLTRB(SkIntToScalar(-surf->width() / 2), SkIntToScalar(-surf->height() / 2), in test_surface()
96 dst1.setLTRB(0, 240, 65, 305); in test_surface()
97 dst2.setLTRB(0, 320, 65, 385); in test_surface()
98 dst3.setLTRB(0, 400, 65, 465); in test_surface()
99 dst4.setLTRB(0, 480, 65, 545); in test_surface()
Dfontscaler.cpp63 r.setLTRB(x - 3, 15, x - 1, 280); in onDraw()
Dbigmatrix.cpp67 rect.setLTRB(pt.fX - small, pt.fY - small, pt.fX + small, pt.fY + small);
Dsamplerstress.cpp115 temp.setLTRB(115, 75, 144, 110); in onDraw()
/external/skia/samplecode/
DSampleXfermodesBlur.cpp53 r.setLTRB(0, 0, ww*3/4, hh*3/4); in draw_mode()
62 r.setLTRB(ww/3, hh/3, ww*19/20, hh*19/20); in draw_mode()
114 r.setLTRB(x, y, x+w, y+h); in onDrawContent()
DSampleMegaStroke.cpp16 fClip.setLTRB(0, 0, 950, 600); in MegaStrokeView()
32 fClip.setLTRB(0, 0, 950, 600); in onChar()
DSample.cpp35 r.setLTRB(0, 0, fWidth, fHeight); in draw()
/external/skia/src/pathops/
DSkPathOpsCurve.cpp68 bounds->setLTRB(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop), in setConicBounds()
78 bounds->setLTRB(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop), in setCubicBounds()
88 bounds->setLTRB(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop), in setQuadBounds()
/external/skia/src/core/
DSkRect.cpp89 this->setLTRB(std::min(min[0], min[2]), std::min(min[1], min[3]), in setBoundsCheck()
99 this->setLTRB(SK_ScalarNaN, SK_ScalarNaN, SK_ScalarNaN, SK_ScalarNaN); in setBoundsNoCheck()
113 this->setLTRB(L, T, R, B); in intersect()
119 this->setLTRB(L, T, R, B); in intersect()
DSkMaskFilter.cpp126 innerR.setLTRB(outerR.left() + cx - mask.fBounds.left(), in draw_nine_clipped()
142 r.setLTRB(innerR.left(), outerR.top(), innerR.right(), innerR.top()); in draw_nine_clipped()
155 r.setLTRB(innerR.left(), innerR.bottom(), innerR.right(), outerR.bottom()); in draw_nine_clipped()
168 r.setLTRB(outerR.left(), innerR.top(), innerR.left(), innerR.bottom()); in draw_nine_clipped()
179 r.setLTRB(innerR.right(), innerR.top(), outerR.right(), innerR.bottom()); in draw_nine_clipped()
DSkScan_Hairline.cpp92 clipR.setLTRB(SkIntToFDot6(bounds.fLeft), SkIntToFDot6(bounds.fTop), in HairLineRgn()
94 ptsR.setLTRB(x0, y0, x1, y1); in HairLineRgn()
686 outer.setLTRB(r.fLeft - rx, r.fTop - ry, r.fRight + rx, r.fBottom + ry); in FrameRect()
693 tmp.setLTRB(outer.fLeft, outer.fTop, outer.fRight, outer.fTop + dy); in FrameRect()
699 tmp.setLTRB(outer.fLeft, outer.fTop + dy, outer.fLeft + dx, outer.fBottom - dy); in FrameRect()
/external/skia/include/core/
DSkRect.h249 void setLTRB(int32_t left, int32_t top, int32_t right, int32_t bottom) { in setLTRB() function
870 void setLTRB(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom) { in setLTRB() function
1235 dst->setLTRB(SkScalarRoundToInt(fLeft), SkScalarRoundToInt(fTop), in round()
1248 dst->setLTRB(SkScalarFloorToInt(fLeft), SkScalarFloorToInt(fTop), in roundOut()
1260 dst->setLTRB(SkScalarFloorToScalar(fLeft), SkScalarFloorToScalar(fTop), in roundOut()
1273 dst->setLTRB(SkScalarCeilToInt(fLeft), SkScalarCeilToInt(fTop), in roundIn()
/external/skia/docs/examples/
DRect_setLTRB.cpp10 rect2.setLTRB(3, 4, 1, 2); in draw()
DIRect_setLTRB.cpp10 rect2.setLTRB(3, 4, 1, 2); in draw()
/external/skia/src/gpu/
DGrSoftwarePathRenderer.cpp120 rect.setLTRB(SkIntToScalar(devClipBounds.fLeft), SkIntToScalar(devClipBounds.fTop), in DrawAroundInvPath()
126 rect.setLTRB(SkIntToScalar(devClipBounds.fLeft), SkIntToScalar(devPathBounds.fTop), in DrawAroundInvPath()
132 rect.setLTRB(SkIntToScalar(devPathBounds.fRight), SkIntToScalar(devPathBounds.fTop), in DrawAroundInvPath()
138 rect.setLTRB(SkIntToScalar(devClipBounds.fLeft), SkIntToScalar(devPathBounds.fBottom), in DrawAroundInvPath()
/external/skqp/src/core/
DSkRect.cpp98 this->setLTRB(L, T, R, B); in intersect()
108 this->setLTRB(L, T, R, B); in intersect()
/external/skqp/src/gpu/
DGrRenderTarget.cpp41 fResolveRect.setLTRB(0, 0, this->width(), this->height()); in flagAsNeedingResolve()
/external/skqp/gm/
Dbigmatrix.cpp63 rect.setLTRB(pt.fX - small, pt.fY - small,
/external/skia/src/gpu/text/
DGrSDFMaskFilter.cpp86 dst->setLTRB(src.fLeft - SK_DistanceFieldPad, src.fTop - SK_DistanceFieldPad, in computeFastBounds()

1234