Home
last modified time | relevance | path

Searched refs:MakeRect (Results 1 – 24 of 24) sorted by relevance

/external/libchrome/mojo/public/cpp/bindings/tests/
Dstruct_unittest.cc20 RectPtr MakeRect(int32_t factor = 1) { in MakeRect() function
60 return MultiVersionStruct::New(123, MakeRect(5), std::string("hello"), in MakeMultiVersionStruct()
108 rect = MakeRect(); in TEST_F()
137 (*region->rects)[1] = MakeRect(); in TEST_F()
151 RectPtr rect(MakeRect()); in TEST_F()
180 RectPairPtr pair(RectPair::New(MakeRect(), MakeRect())); in TEST_F()
199 rects.push_back(MakeRect(static_cast<int32_t>(i) + 1)); in TEST_F()
262 MultiVersionStructV1Ptr input(MultiVersionStructV1::New(123, MakeRect(5))); in TEST_F()
264 MultiVersionStruct::New(123, MakeRect(5))); in TEST_F()
274 MultiVersionStructV3::New(123, MakeRect(5), std::string("hello"))); in TEST_F()
[all …]
/external/skqp/docs/
DSkRRect_Reference.bmh38 static SkRRect MakeRect(const SkRect& r);
122 SkRRect rrect = SkRRect::MakeRect({10, 10, 100, 50});
132 #SeeAlso operator=(const SkRRect& rrect) MakeRect
145 SkRRect rrect = SkRRect::MakeRect({40, 40, 100, 70});
155 #SeeAlso SkRRect(const SkRRect& rrect) MakeRect
268 SkRRect rrect = SkRRect::MakeRect({10, 10, 100, 50});
300 SkRRect rrect = SkRRect::MakeRect({10, 10, 100, 50});
356 SkRRect rrect = SkRRect::MakeRect({30, 10, 100, 60});
494 SkRRect::MakeRect sorts its input, so width() is always zero or larger.
496 SkRRect unsorted = SkRRect::MakeRect({ 15, 25, 10, 5 });
[all …]
DSkCanvas_Reference.bmh2755 SkRRect outer = SkRRect::MakeRect({20, 40, 210, 200});
2769 SkRRect outer = SkRRect::MakeRect({20, 40, 210, 200});
/external/skia/docs/
DSkRRect_Reference.bmh38 static SkRRect MakeRect(const SkRect& r);
122 SkRRect rrect = SkRRect::MakeRect({10, 10, 100, 50});
132 #SeeAlso operator=(const SkRRect& rrect) MakeRect
145 SkRRect rrect = SkRRect::MakeRect({40, 40, 100, 70});
155 #SeeAlso SkRRect(const SkRRect& rrect) MakeRect
268 SkRRect rrect = SkRRect::MakeRect({10, 10, 100, 50});
300 SkRRect rrect = SkRRect::MakeRect({10, 10, 100, 50});
356 SkRRect rrect = SkRRect::MakeRect({30, 10, 100, 60});
494 SkRRect::MakeRect sorts its input, so width() is always zero or larger.
496 SkRRect unsorted = SkRRect::MakeRect({ 15, 25, 10, 5 });
[all …]
DSkCanvas_Reference.bmh2698 SkRRect outer = SkRRect::MakeRect({20, 40, 210, 200});
2712 SkRRect outer = SkRRect::MakeRect({20, 40, 210, 200});
/external/skqp/tests/
DGpuDrawPathTest.cpp34 canvas->drawRRect(SkRRect::MakeRect(emptyRect), paint); in test_drawPathEmpty()
46 canvas->drawRRect(SkRRect::MakeRect(emptyRect), paint); in test_drawPathEmpty()
DRoundRectTest.cpp763 test_read_rrect(reporter, SkRRect::MakeRect(kRect), true); in test_read()
765 test_read_rrect(reporter, SkRRect::MakeRect(kInfRect), true); in test_read()
766 test_read_rrect(reporter, SkRRect::MakeRect(kNaNRect), true); in test_read()
DRRectInPathTest.cpp32 SkRRect xrr = SkRRect::MakeRect(SkRect::MakeEmpty()); in path_contains_rrect()
DGrShapeTest.cpp500 : RRectPathGeo(path, SkRRect::MakeRect(equivalentRect), rrectForStroke, invert) {} in RRectPathGeo()
1606 TestCase dashAndStrokeEmptyInvertedRectCase(reporter, SkRRect::MakeRect(emptyRect), kDir, in DEF_TEST()
2145 for (auto rr : { SkRRect::MakeRect(SkRect::MakeWH(10, 10)), in DEF_TEST()
/external/skia/tests/
DGpuDrawPathTest.cpp34 canvas->drawRRect(SkRRect::MakeRect(emptyRect), paint); in test_drawPathEmpty()
46 canvas->drawRRect(SkRRect::MakeRect(emptyRect), paint); in test_drawPathEmpty()
DRoundRectTest.cpp763 test_read_rrect(reporter, SkRRect::MakeRect(kRect), true); in test_read()
765 test_read_rrect(reporter, SkRRect::MakeRect(kInfRect), true); in test_read()
766 test_read_rrect(reporter, SkRRect::MakeRect(kNaNRect), true); in test_read()
DRRectInPathTest.cpp32 SkRRect xrr = SkRRect::MakeRect(SkRect::MakeEmpty()); in path_contains_rrect()
DGrShapeTest.cpp500 : RRectPathGeo(path, SkRRect::MakeRect(equivalentRect), rrectForStroke, invert) {} in RRectPathGeo()
1606 TestCase dashAndStrokeEmptyInvertedRectCase(reporter, SkRRect::MakeRect(emptyRect), kDir, in DEF_TEST()
2145 for (auto rr : { SkRRect::MakeRect(SkRect::MakeWH(10, 10)), in DEF_TEST()
DClipStackTest.cpp1440 SkRRect expected = SkRRect::MakeRect( in test_is_rrect_deep_rect_stack()
/external/skia/gm/
Dbigrrectaaeffect.cpp117 DEF_GM( return new BigRRectAAEffectGM (SkRRect::MakeRect(SkRect::MakeIWH(kSize, kSize)), "rect"); )
/external/skqp/gm/
Dbigrrectaaeffect.cpp128 DEF_GM( return new BigRRectAAEffectGM (SkRRect::MakeRect(SkRect::MakeIWH(kSize, kSize)), "rect"); )
/external/skqp/src/gpu/
DGrShape.h86 fRRectData.fRRect = SkRRect::MakeRect(rect); in GrShape()
109 fRRectData.fRRect = SkRRect::MakeRect(rect); in GrShape()
DGrShape.cpp639 fRRectData.fRRect = SkRRect::MakeRect(fRRectData.fRRect.rect().makeOutset(r, r)); in attemptToSimplifyRRect()
757 rrect = SkRRect::MakeRect(rect); in attemptToSimplifyStrokedLineToRRect()
/external/skia/src/gpu/
DGrShape.h86 fRRectData.fRRect = SkRRect::MakeRect(rect); in GrShape()
109 fRRectData.fRRect = SkRRect::MakeRect(rect); in GrShape()
DGrShape.cpp639 fRRectData.fRRect = SkRRect::MakeRect(fRRectData.fRRect.rect().makeOutset(r, r)); in attemptToSimplifyRRect()
757 rrect = SkRRect::MakeRect(rect); in attemptToSimplifyStrokedLineToRRect()
/external/skqp/include/core/
DSkRRect.h166 static SkRRect MakeRect(const SkRect& r) { in MakeRect() function
/external/skia/include/core/
DSkRRect.h166 static SkRRect MakeRect(const SkRect& r) { in MakeRect() function
/external/skia/site/user/api/
DSkRRect_Reference.md40 …static <a href='SkRRect_Reference#SkRRect'>SkRRect</a> <a href='#SkRRect_MakeRect'>MakeRect</a>(co…
143 …a>& <a href='#SkRRect_copy_const_SkRRect_rrect'>rrect</a>) <a href='#SkRRect_MakeRect'>MakeRect</a>
172 …ect</a>& <a href='#SkRRect_copy_operator_rrect'>rrect</a>) <a href='#SkRRect_MakeRect'>MakeRect</a>
440 …ef='SkRRect_Reference#SkRRect'>SkRRect</a>::<a href='#SkRRect_MakeRect'>MakeRect</a> sorts its inp…
473 …ef='SkRRect_Reference#SkRRect'>SkRRect</a>::<a href='#SkRRect_MakeRect'>MakeRect</a> sorts its inp…
559 <a href='#SkRRect_MakeRect'>MakeRect</a> <a href='#SkRRect_setRectXY'>setRectXY</a>
589 static <a href='SkRRect_Reference#SkRRect'>SkRRect</a> <a href='#SkRRect_MakeRect'>MakeRect</a>(con…
642 <a href='#SkRRect_setOval'>setOval</a> <a href='#SkRRect_MakeRect'>MakeRect</a> <a href='#SkRRect_M…
/external/skqp/site/user/api/
DSkRRect_Reference.md40 …static <a href='SkRRect_Reference#SkRRect'>SkRRect</a> <a href='#SkRRect_MakeRect'>MakeRect</a>(co…
143 …a>& <a href='#SkRRect_copy_const_SkRRect_rrect'>rrect</a>) <a href='#SkRRect_MakeRect'>MakeRect</a>
172 …ect</a>& <a href='#SkRRect_copy_operator_rrect'>rrect</a>) <a href='#SkRRect_MakeRect'>MakeRect</a>
440 …ef='SkRRect_Reference#SkRRect'>SkRRect</a>::<a href='#SkRRect_MakeRect'>MakeRect</a> sorts its inp…
473 …ef='SkRRect_Reference#SkRRect'>SkRRect</a>::<a href='#SkRRect_MakeRect'>MakeRect</a> sorts its inp…
559 <a href='#SkRRect_MakeRect'>MakeRect</a> <a href='#SkRRect_setRectXY'>setRectXY</a>
589 static <a href='SkRRect_Reference#SkRRect'>SkRRect</a> <a href='#SkRRect_MakeRect'>MakeRect</a>(con…
642 <a href='#SkRRect_setOval'>setOval</a> <a href='#SkRRect_MakeRect'>MakeRect</a> <a href='#SkRRect_M…