/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
RegionTest.cpp | 135 #define TEST_INTERSECT(a, b) \ 153 TEST_INTERSECT(r, IntRect(0, 0, 1, 1)); 154 TEST_INTERSECT(r, IntRect(0, 0, 2, 2)); 155 TEST_INTERSECT(r, IntRect(-1, 0, 2, 2)); 156 TEST_INTERSECT(r, IntRect(-1, -1, 2, 2)); 157 TEST_INTERSECT(r, IntRect(0, -1, 2, 2)); 158 TEST_INTERSECT(r, IntRect(-1, -1, 3, 3)); 164 TEST_INTERSECT(r, IntRect(1, 1, 1, 1)); 165 TEST_INTERSECT(r, IntRect(0, 0, 2, 2)); 166 TEST_INTERSECT(r, IntRect(1, 0, 2, 2)) [all...] |
/external/skia/tests/ |
RegionTest.cpp | 18 #define TEST_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, rgn.intersects(rect)) 27 TEST_INTERSECT(r, SkIRect::MakeXYWH(0, 0, 2, 2)); 28 TEST_INTERSECT(r, SkIRect::MakeXYWH(-1, 0, 2, 2)); 29 TEST_INTERSECT(r, SkIRect::MakeXYWH(-1, -1, 2, 2)); 30 TEST_INTERSECT(r, SkIRect::MakeXYWH(0, -1, 2, 2)); 31 TEST_INTERSECT(r, SkIRect::MakeXYWH(-1, -1, 3, 3)); 36 TEST_INTERSECT(r, SkIRect::MakeXYWH(-1, -1, 2, 2)); 37 TEST_INTERSECT(r, SkIRect::MakeXYWH(2, -1, 2, 2)); 38 TEST_INTERSECT(r, SkIRect::MakeXYWH(2, 2, 2, 2)); 39 TEST_INTERSECT(r, SkIRect::MakeXYWH(-1, 2, 2, 2)) [all...] |
/external/chromium_org/cc/base/ |
region_unittest.cc | 110 #define TEST_INTERSECT(a, b) { \ 130 TEST_INTERSECT(r, gfx::Rect(0, 0, 1, 1)); 131 TEST_INTERSECT(r, gfx::Rect(0, 0, 2, 2)); 132 TEST_INTERSECT(r, gfx::Rect(-1, 0, 2, 2)); 133 TEST_INTERSECT(r, gfx::Rect(-1, -1, 2, 2)); 134 TEST_INTERSECT(r, gfx::Rect(0, -1, 2, 2)); 135 TEST_INTERSECT(r, gfx::Rect(-1, -1, 3, 3)); 141 TEST_INTERSECT(r, gfx::Rect(1, 1, 1, 1)); 142 TEST_INTERSECT(r, gfx::Rect(0, 0, 2, 2)); 143 TEST_INTERSECT(r, gfx::Rect(1, 0, 2, 2)) [all...] |