Home
last modified time | relevance | path

Searched refs:test_rect (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/content/test/gpu/page_sets/
Dpixel_tests.py10 def __init__(self, url, name, test_rect, revision, page_set): argument
13 self.test_rect = test_rect
32 test_rect=[0, 0, 300, 300],
39 test_rect=[0, 0, 300, 300],
46 test_rect=[0, 0, 300, 300],
Dgpu_rasterization_tests.py66 self.test_rect = [0, 0, 220, 220]
/external/chromium_org/content/test/gpu/gpu_tests/
Dgpu_rasterization.py53 test_rect = [int(x * device_pixel_ratio) for x in page.test_rect]
55 test_rect[0], test_rect[1],
56 test_rect[2], test_rect[3])
Dpixel.py70 page.test_rect[0], page.test_rect[1],
71 page.test_rect[2], page.test_rect[3])
/external/chromium_org/ui/gfx/geometry/
Dr_tree_unittest.cc809 Rect test_rect(25, 25); in TEST_F() local
810 rt.AppendIntersectingRecords(test_rect, &results); in TEST_F()
822 Rect test_rect(1, 1); in TEST_F() local
823 rt.AppendIntersectingRecords(test_rect, &results); in TEST_F()
835 Rect test_rect(1, 1); in TEST_F() local
836 rt.AppendIntersectingRecords(test_rect, &results); in TEST_F()
850 Rect test_rect(1, 1); in TEST_F() local
851 rt.AppendIntersectingRecords(test_rect, &results); in TEST_F()
866 Rect test_rect(1, 1); in TEST_F() local
867 rt.AppendIntersectingRecords(test_rect, &results); in TEST_F()
[all …]
/external/chromium_org/cc/layers/
Drender_surface_unittest.cc47 gfx::Rect test_rect(3, 4, 5, 6); in TEST() local
52 EXECUTE_AND_VERIFY_SURFACE_CHANGED(render_surface->SetClipRect(test_rect)); in TEST()
53 EXECUTE_AND_VERIFY_SURFACE_CHANGED(render_surface->SetContentRect(test_rect)); in TEST()
62 render_surface->SetClipRect(test_rect)); in TEST()
64 render_surface->SetContentRect(test_rect)); in TEST()
/external/chromium_org/chrome/browser/thumbnails/
Dcontent_analysis_unittest.cc205 gfx::Rect test_rect(150, 80, 400, 100); in TEST_F() local
207 test_rect, in TEST_F()
215 EXPECT_EQ(255 * (test_rect.bottom() - draw_rect.y()) + in TEST_F()
216 255 * (draw_rect.right() - test_rect.x()), in TEST_F()
218 EXPECT_EQ(255 * (test_rect.bottom() - draw_rect.y()) + in TEST_F()
219 255 * (draw_rect.right() - test_rect.x()), in TEST_F()
/external/chromium_org/ui/views/widget/
Dwidget_unittest.cc3205 const gfx::Rect test_rect(0, 0, 500, 500); in TEST_F() local
3206 root_view->SetBoundsRect(test_rect); in TEST_F()
3208 EXPECT_NE(test_rect.size(), widget->GetWindowBoundsInScreen().size()); in TEST_F()
3210 EXPECT_EQ(test_rect, root_view->bounds()); in TEST_F()
3212 EXPECT_EQ(test_rect, root_view->bounds()); in TEST_F()