/external/chromium_org/third_party/skia/tests/ |
H A D | PathOpsBoundsTest.cpp | 53 const SkPathOpsBounds& bounds2 = static_cast<const SkPathOpsBounds&>(sectTests[index][1]); local 54 SkASSERT(ValidBounds(bounds2)); 55 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2); 61 const SkPathOpsBounds& bounds2 = static_cast<const SkPathOpsBounds&>(noSectTests[index][1]); local 62 SkASSERT(ValidBounds(bounds2)); 63 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2);
|
H A D | ImageFilterTest.cpp | 1021 SkRect bounds2 = SkRect::MakeXYWH(20, 20, 10, 10); local 1022 canvas.saveLayer(&bounds2, &filterPaint); 1025 canvas.drawRect(bounds2, greenPaint);
|
H A D | CanvasTest.cpp | 588 SkRect bounds1, bounds2; local 590 canvas1->getClipBounds(&bounds1) == canvas2->getClipBounds(&bounds2), 592 REPORTER_ASSERT_MESSAGE(reporter, bounds1 == bounds2,
|
H A D | PathTest.cpp | 3507 SkRect bounds, bounds2; local 3561 bounds2.set(pts, 4); 3562 REPORTER_ASSERT(reporter, bounds == bounds2); 3569 bounds2.setEmpty(); 3570 REPORTER_ASSERT(reporter, p.isRect(&bounds2)); 3571 REPORTER_ASSERT(reporter, bounds == bounds2);
|
/external/skia/tests/ |
H A D | PathOpsBoundsTest.cpp | 53 const SkPathOpsBounds& bounds2 = static_cast<const SkPathOpsBounds&>(sectTests[index][1]); local 54 SkASSERT(ValidBounds(bounds2)); 55 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2); 61 const SkPathOpsBounds& bounds2 = static_cast<const SkPathOpsBounds&>(noSectTests[index][1]); local 62 SkASSERT(ValidBounds(bounds2)); 63 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2);
|
H A D | ImageFilterTest.cpp | 730 SkRect bounds2 = SkRect::MakeXYWH(20, 20, 10, 10); local 731 canvas.saveLayer(&bounds2, &filterPaint); 734 canvas.drawRect(bounds2, greenPaint);
|
H A D | CanvasTest.cpp | 621 SkRect bounds1, bounds2; local 623 canvas1->getClipBounds(&bounds1) == canvas2->getClipBounds(&bounds2), 625 REPORTER_ASSERT_MESSAGE(reporter, bounds1 == bounds2,
|
H A D | PathTest.cpp | 3394 SkRect bounds, bounds2; local 3448 bounds2.set(pts, 4); 3449 REPORTER_ASSERT(reporter, bounds == bounds2); 3456 bounds2.setEmpty(); 3457 REPORTER_ASSERT(reporter, p.isRect(&bounds2)); 3458 REPORTER_ASSERT(reporter, bounds == bounds2);
|
/external/chromium_org/ash/wm/ |
H A D | lock_layout_manager_unittest.cc | 136 const gfx::Rect bounds2 = gfx::Rect(100, 100, 200, 200); local 137 window->SetBounds(bounds2); 138 EXPECT_EQ(bounds2.ToString(), window->GetBoundsInScreen().ToString()); 181 const gfx::Rect bounds2 = gfx::Rect(100, 100, 200, 200); local 182 maximized_window->SetBounds(bounds2); 183 fullscreen_window->SetBounds(bounds2);
|
/external/chromium_org/mojo/services/view_manager/ |
H A D | test_change_tracker.h | 59 gfx::Rect bounds2; member in struct:mojo::service::Change
|
/external/chromium_org/chrome/browser/ui/panels/ |
H A D | stacked_panel_browsertest.cc | 550 gfx::Rect bounds2 = panel2->GetBounds(); local 553 gfx::Vector2d drag_delta_to_stack(bounds2.x() - bounds1.x(), 554 bounds2.y() - bounds1.bottom()); 1415 gfx::Rect bounds2 = panel2->GetBounds(); local 1416 EXPECT_EQ(bounds1.x(), bounds2.x()); 1417 EXPECT_EQ(bounds1.width(), bounds2.width()); 1418 EXPECT_EQ(bounds1.bottom(), bounds2.y()); 1421 EXPECT_EQ(bounds2.x(), bounds3.x()); 1422 EXPECT_EQ(bounds2.width(), bounds3.width()); 1423 EXPECT_EQ(bounds2 [all...] |
H A D | panel_drag_controller.cc | 36 int GetHorizontalOverlap(const gfx::Rect& bounds1, const gfx::Rect& bounds2) { argument 38 if (bounds1.right() <= bounds2.x() || bounds1.x() >= bounds2.right()) 42 if (bounds2.x() <= bounds1.x() && bounds1.right() <= bounds2.right()) 45 if (bounds1.x() <= bounds2.x() && bounds2.right() <= bounds1.right()) 46 return bounds2.width(); 49 return (bounds1.x() < bounds2.x()) ? (bounds1.right() - bounds2 53 GetVerticalOverlap(const gfx::Rect& bounds1, const gfx::Rect& bounds2) argument [all...] |
H A D | panel_drag_browsertest.cc | 118 gfx::Rect bounds2 = panel2->GetBounds(); local 120 bounds2.x() - bounds1.x(), 121 bounds2.bottom() - bounds1.y() + 130 gfx::Rect bounds2 = panel2->GetBounds(); local 138 gfx::Rect bounds2 = panel2->GetBounds(); local 143 bounds2.x() - bounds1.x(), 144 bounds2.y() - bottom - 153 gfx::Rect bounds2 = panel2->GetBounds(); local 162 gfx::Rect bounds2 = panel2->GetBounds(); local 164 bounds2 174 gfx::Rect bounds2 = panel2->GetBounds(); local [all...] |
H A D | panel_manager.cc | 56 gfx::Rect bounds2 = panel2->GetBounds(); local 59 if (bounds1.x() > bounds2.x()) 61 if (bounds1.x() < bounds2.x()) 65 return bounds1.y() < bounds2.y();
|
/external/chromium_org/ash/wm/overview/ |
H A D | window_selector_unittest.cc | 646 gfx::Rect bounds2(650, 0, 400, 400); 650 scoped_ptr<aura::Window> window3(CreateWindow(bounds2)); 651 scoped_ptr<aura::Window> window4(CreateWindow(bounds2)); 654 scoped_ptr<aura::Window> panel3(CreatePanelWindow(bounds2)); 655 scoped_ptr<aura::Window> panel4(CreatePanelWindow(bounds2)); 723 gfx::Rect bounds2(450, 0, 100, 100); 725 scoped_ptr<aura::Window> window2(CreateWindow(bounds2)); 727 scoped_ptr<aura::Window> window4(CreatePanelWindow(bounds2)); 940 gfx::Rect bounds2(450, 0, 100, 100); 941 scoped_ptr<aura::Window> window4(CreateWindow(bounds2)); 1049 gfx::RectF bounds2 = GetTransformedBoundsInRootWindow(window2); local [all...] |
/external/chromium_org/ash/wm/panels/ |
H A D | panel_layout_manager.cc | 175 bool BoundsAdjacent(const gfx::Rect& bounds1, const gfx::Rect& bounds2) { argument 176 return bounds1.x() == bounds2.right() || 177 bounds1.y() == bounds2.bottom() || 178 bounds1.right() == bounds2.x() || 179 bounds1.bottom() == bounds2.y();
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
H A D | EdgeWalker_TestUtility.cpp | 245 const SkRect& bounds2 = two.getBounds(); local 247 larger.join(bounds2); 351 const SkRect& bounds2 = two.getBounds(); local 353 larger.join(bounds2); 367 canvas.translate(-bounds2.fLeft + 1, -bounds2.fTop + 1);
|
/external/skia/experimental/Intersection/ |
H A D | EdgeWalker_TestUtility.cpp | 245 const SkRect& bounds2 = two.getBounds(); local 247 larger.join(bounds2); 351 const SkRect& bounds2 = two.getBounds(); local 353 larger.join(bounds2); 367 canvas.translate(-bounds2.fLeft + 1, -bounds2.fTop + 1);
|
/external/chromium_org/ash/wm/dock/ |
H A D | docked_window_layout_manager.cc | 342 bool compare_two_windows(const gfx::Rect bounds1, const gfx::Rect bounds2) { argument 345 bool result1 = compare_bounds(bounds1, bounds2); 346 bool result2 = compare_bounds(bounds2, bounds1); 352 return bounds1.CenterPoint().y() < bounds2.CenterPoint().y();
|