Searched defs:bounds2 (Results 1 - 9 of 9) sorted by relevance
/external/chromium/chrome/browser/ui/views/tabs/ |
H A D | tab_dragging_test.cc | 97 gfx::Rect bounds2; local 98 ASSERT_TRUE(window->GetViewBounds(VIEW_ID_TAB_1, &bounds2, false)); 99 EXPECT_LT(0, bounds2.width()); 100 EXPECT_LT(0, bounds2.height()); 101 EXPECT_LT(bounds1.x(), bounds2.x()); 102 EXPECT_EQ(bounds2.y(), bounds1.y()); 108 EXPECT_LT(bounds2.x(), bounds3.x()); 109 EXPECT_EQ(bounds3.y(), bounds2.y()); 195 gfx::Rect bounds2; local 196 ASSERT_TRUE(window->GetViewBounds(VIEW_ID_TAB_1, &bounds2, fals 302 gfx::Rect bounds2; local 417 gfx::Rect bounds2; local [all...] |
/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 | CanvasTest.cpp | 612 SkRect bounds1, bounds2; local 614 canvas1->getClipBounds(&bounds1) == canvas2->getClipBounds(&bounds2), 616 REPORTER_ASSERT_MESSAGE(reporter, bounds1 == bounds2,
|
H A D | PathTest.cpp | 2428 SkRect bounds, bounds2; local 2475 bounds2.set(pts, 4); 2476 REPORTER_ASSERT(reporter, bounds == bounds2); 2483 bounds2.setEmpty(); 2484 REPORTER_ASSERT(reporter, p.isRect(&bounds2)); 2485 REPORTER_ASSERT(reporter, bounds == bounds2);
|
/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()); 1433 gfx::Rect bounds2 = panel2->GetBounds(); local 1434 EXPECT_EQ(bounds1.x(), bounds2.x()); 1435 EXPECT_EQ(bounds1.width(), bounds2.width()); 1436 EXPECT_EQ(bounds1.bottom(), bounds2.y()); 1439 EXPECT_EQ(bounds2.x(), bounds3.x()); 1440 EXPECT_EQ(bounds2.width(), bounds3.width()); 1441 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 | 59 gfx::Rect bounds2 = panel2->GetBounds(); local 62 if (bounds1.x() > bounds2.x()) 64 if (bounds1.x() < bounds2.x()) 68 return bounds1.y() < bounds2.y();
|
/external/chromium_org/ash/wm/panels/ |
H A D | panel_layout_manager.cc | 177 bool BoundsAdjacent(const gfx::Rect& bounds1, const gfx::Rect& bounds2) { argument 178 return bounds1.x() == bounds2.right() || 179 bounds1.y() == bounds2.bottom() || 180 bounds1.right() == bounds2.x() || 181 bounds1.bottom() == bounds2.y();
|
Completed in 267 milliseconds