Searched defs:bounds2 (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/third_party/skia/tests/
H A DPathOpsBoundsTest.cpp53 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 DImageFilterTest.cpp1021 SkRect bounds2 = SkRect::MakeXYWH(20, 20, 10, 10); local
1022 canvas.saveLayer(&bounds2, &filterPaint);
1025 canvas.drawRect(bounds2, greenPaint);
H A DCanvasTest.cpp588 SkRect bounds1, bounds2; local
590 canvas1->getClipBounds(&bounds1) == canvas2->getClipBounds(&bounds2),
592 REPORTER_ASSERT_MESSAGE(reporter, bounds1 == bounds2,
H A DPathTest.cpp3507 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 DPathOpsBoundsTest.cpp53 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 DImageFilterTest.cpp730 SkRect bounds2 = SkRect::MakeXYWH(20, 20, 10, 10); local
731 canvas.saveLayer(&bounds2, &filterPaint);
734 canvas.drawRect(bounds2, greenPaint);
H A DCanvasTest.cpp621 SkRect bounds1, bounds2; local
623 canvas1->getClipBounds(&bounds1) == canvas2->getClipBounds(&bounds2),
625 REPORTER_ASSERT_MESSAGE(reporter, bounds1 == bounds2,
H A DPathTest.cpp3394 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 Dlock_layout_manager_unittest.cc136 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 Dtest_change_tracker.h59 gfx::Rect bounds2; member in struct:mojo::service::Change
/external/chromium_org/chrome/browser/ui/panels/
H A Dstacked_panel_browsertest.cc550 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 Dpanel_drag_controller.cc36 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 Dpanel_drag_browsertest.cc118 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 Dpanel_manager.cc56 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 Dwindow_selector_unittest.cc646 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 Dpanel_layout_manager.cc175 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 DEdgeWalker_TestUtility.cpp245 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 DEdgeWalker_TestUtility.cpp245 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 Ddocked_window_layout_manager.cc342 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();

Completed in 3826 milliseconds