Searched refs:bounds2 (Results 1 - 25 of 29) sorted by relevance

12

/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 DCanvasTest.cpp588 SkRect bounds1, bounds2; local
590 canvas1->getClipBounds(&bounds1) == canvas2->getClipBounds(&bounds2),
592 REPORTER_ASSERT_MESSAGE(reporter, bounds1 == bounds2,
H A DPathOpsExtendedTest.cpp234 const SkRect& bounds2 = two.getBounds();
236 larger.join(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 DCanvasTest.cpp621 SkRect bounds1, bounds2; local
623 canvas1->getClipBounds(&bounds1) == canvas2->getClipBounds(&bounds2),
625 REPORTER_ASSERT_MESSAGE(reporter, 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 DPathOpsExtendedTest.cpp351 const SkRect& bounds2 = two.getBounds();
353 larger.join(bounds2);
/external/chromium_org/chrome/browser/ui/panels/
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_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();
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_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...]
/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/extensions/renderer/resources/
H A Dapp_window_custom_bindings.js318 function boundsEqual(bounds1, bounds2) {
319 if (!bounds1 || !bounds2)
321 return (bounds1.left == bounds2.left && bounds1.top == bounds2.top &&
322 bounds1.width == bounds2.width && bounds1.height == bounds2.height);
/external/chromium_org/mojo/services/view_manager/
H A Dtest_change_tracker.h59 gfx::Rect bounds2; member in struct:mojo::service::Change
H A Dtest_change_tracker.cc43 RectToString(change.bounds2).c_str());
157 change.bounds2 = new_bounds.To<gfx::Rect>();
/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/extensions/browser/app_window/
H A Dapp_window_geometry_cache_unittest.cc352 gfx::Rect bounds2(200, 400, 600, 800);
374 extension_id, kWindowId, bounds2, screen_bounds1, ui::SHOW_STATE_NORMAL);
381 extension_id, kWindowId, bounds2, screen_bounds2, ui::SHOW_STATE_NORMAL);
389 bounds2,
/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);
H A DCubicIntersection.cpp314 static bool intersectEnd(const Cubic& cubic1, bool start, const Cubic& cubic2, const _Rect& bounds2,
338 if (!bounds2.intersects(lineBounds)) {
/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);
H A DCubicIntersection.cpp314 static bool intersectEnd(const Cubic& cubic1, bool start, const Cubic& cubic2, const _Rect& bounds2,
338 if (!bounds2.intersects(lineBounds)) {
/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/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();
/external/chromium_org/third_party/skia/src/pathops/
H A DSkDCubicIntersection.cpp340 const SkDRect& bounds2) {
359 if (!bounds2.intersects(&lineBounds)) {
/external/skia/src/pathops/
H A DSkDCubicIntersection.cpp340 const SkDRect& bounds2) {
359 if (!bounds2.intersects(&lineBounds)) {

Completed in 451 milliseconds

12