Home
last modified time | relevance | path

Searched refs:testRect (Results 1 – 11 of 11) sorted by relevance

/external/skia/docs/examples/
DCanvas_quickReject.cpp7 SkRect testRect = {30, 30, 120, 129 }; in draw() local
11 SkDebugf("quickReject %s\n", canvas->quickReject(testRect) ? "true" : "false"); in draw()
15 SkDebugf("quickReject %s\n", canvas->quickReject(testRect) ? "true" : "false"); in draw()
/external/skia/tests/
DClipStackTest.cpp656 SkRect testRect = SkRect::MakeLTRB(10, 10, 40, 40); in test_quickContains() local
675 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
682 REPORTER_ASSERT(reporter, true == stack.quickContains(testRect)); in test_quickContains()
690 REPORTER_ASSERT(reporter, true == stack.quickContains(testRect)); in test_quickContains()
699 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
709 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
716 REPORTER_ASSERT(reporter, true == stack.quickContains(testRect)); in test_quickContains()
722 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
728 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
734 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
[all …]
DSurfaceTest.cpp417 const SkRect testRect = in test_copy_on_write() local
444 testRRect.setRectXY(testRect, SK_Scalar1, SK_Scalar1); in test_copy_on_write()
462 EXPECT_COPY_ON_WRITE(drawOval(testRect, testPaint)) in test_copy_on_write()
463 EXPECT_COPY_ON_WRITE(drawRect(testRect, testPaint)) in test_copy_on_write()
467 EXPECT_COPY_ON_WRITE(drawImageRect(testBitmap.asImage(), testRect, SkSamplingOptions())) in test_copy_on_write()
DPathTest.cpp2233 const SkRect testRect = SkRect::MakeXYWH(10, 10, 50, 70); in test_is_closed_rect() local
2239 path.addRect(testRect, dir, start); in test_is_closed_rect()
2240 check_simple_rect(reporter, path, true, testRect, dir, start); in test_is_closed_rect()
2242 check_simple_rect(reporter, path, true, testRect, dir, start); in test_is_closed_rect()
2252 path2.addRect(testRect, dir, start); in test_is_closed_rect()
2276 check_simple_rect(reporter, path2, false, testRect, dir, start); in test_is_closed_rect()
2279 check_simple_rect(reporter, path2, true, testRect, dir, start); in test_is_closed_rect()
2285 SkRect degenRect = testRect; in test_is_closed_rect()
2291 degenRect = testRect; in test_is_closed_rect()
2303 SkRect swapRect = testRect; in test_is_closed_rect()
[all …]
/external/skqp/tests/
DClipStackTest.cpp653 SkRect testRect = SkRect::MakeLTRB(10, 10, 40, 40); in test_quickContains() local
672 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
679 REPORTER_ASSERT(reporter, true == stack.quickContains(testRect)); in test_quickContains()
687 REPORTER_ASSERT(reporter, true == stack.quickContains(testRect)); in test_quickContains()
696 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
706 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
713 REPORTER_ASSERT(reporter, true == stack.quickContains(testRect)); in test_quickContains()
719 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
725 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
731 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
[all …]
DSurfaceTest.cpp382 const SkRect testRect = in test_copy_on_write() local
409 testRRect.setRectXY(testRect, SK_Scalar1, SK_Scalar1); in test_copy_on_write()
427 EXPECT_COPY_ON_WRITE(drawOval(testRect, testPaint)) in test_copy_on_write()
428 EXPECT_COPY_ON_WRITE(drawRect(testRect, testPaint)) in test_copy_on_write()
432 EXPECT_COPY_ON_WRITE(drawBitmapRect(testBitmap, testRect, nullptr)) in test_copy_on_write()
433 EXPECT_COPY_ON_WRITE(drawBitmapNine(testBitmap, testIRect, testRect, nullptr)) in test_copy_on_write()
DPathTest.cpp2250 const SkRect testRect = SkRect::MakeXYWH(10, 10, 50, 70); in test_is_simple_closed_rect() local
2256 path.addRect(testRect, dir, start); in test_is_simple_closed_rect()
2257 check_simple_closed_rect(reporter, path, testRect, dir, start); in test_is_simple_closed_rect()
2259 check_simple_closed_rect(reporter, path, testRect, dir, start); in test_is_simple_closed_rect()
2267 path2.addRect(testRect, dir, start); in test_is_simple_closed_rect()
2292 check_simple_closed_rect(reporter, path2, testRect, dir, start); in test_is_simple_closed_rect()
2295 check_simple_closed_rect(reporter, path2, testRect, dir, start); in test_is_simple_closed_rect()
2300 SkRect degenRect = testRect; in test_is_simple_closed_rect()
2305 degenRect = testRect; in test_is_simple_closed_rect()
2316 SkRect swapRect = testRect; in test_is_simple_closed_rect()
[all …]
/external/python/cpython2/Mac/Modules/icn/
D_Icnmodule.c380 Rect testRect; in Icn_RectInIconID() local
388 PyMac_GetRect, &testRect, in Icn_RectInIconID()
393 _rv = RectInIconID(&testRect, in Icn_RectInIconID()
406 Rect testRect; in Icn_RectInIconSuite() local
414 PyMac_GetRect, &testRect, in Icn_RectInIconSuite()
419 _rv = RectInIconSuite(&testRect, in Icn_RectInIconSuite()
1164 Rect testRect; in Icn_RectInIconRef() local
1173 PyMac_GetRect, &testRect, in Icn_RectInIconRef()
1179 _rv = RectInIconRef(&testRect, in Icn_RectInIconRef()
/external/dng_sdk/source/
Ddng_bad_pixels.cpp430 dng_rect testRect (pt.v - radius, in IsPointIsolated() local
438 if ((testRect & Rect (n)).NotEmpty ()) in IsPointIsolated()
457 dng_rect testRect = Rect (index); in IsRectIsolated() local
459 testRect.t -= radius; in IsRectIsolated()
460 testRect.l -= radius; in IsRectIsolated()
461 testRect.b += radius; in IsRectIsolated()
462 testRect.r += radius; in IsRectIsolated()
470 if ((testRect & Rect (n)).NotEmpty ()) in IsRectIsolated()
/external/python/cpython2/Mac/Modules/qt/
D_Qtmodule.c14380 Rect testRect; in Qt_SCSetTestImagePictHandle() local
14392 &testRect, in Qt_SCSetTestImagePictHandle()
14396 PyMac_BuildRect, &testRect); in Qt_SCSetTestImagePictHandle()
14406 Rect testRect; in Qt_SCSetTestImagePictFile() local
14418 &testRect, in Qt_SCSetTestImagePictFile()
14422 PyMac_BuildRect, &testRect); in Qt_SCSetTestImagePictFile()
14432 Rect testRect; in Qt_SCSetTestImagePixMap() local
14444 &testRect, in Qt_SCSetTestImagePixMap()
14448 PyMac_BuildRect, &testRect); in Qt_SCSetTestImagePixMap()
/external/skqp/docs/
DSkCanvas_Reference.bmh2130 SkRect testRect = {30, 30, 120, 129 };
2134 SkDebugf("quickReject %s\n", canvas->quickReject(testRect) ? "true" : "false");
2138 SkDebugf("quickReject %s\n", canvas->quickReject(testRect) ? "true" : "false");