/external/chromium/chrome/browser/ui/views/tabs/ |
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, false)) 302 gfx::Rect bounds2; local 417 gfx::Rect bounds2; local [all...] |
/external/skia/tests/ |
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);
|
CanvasTest.cpp | 601 SkRect bounds1, bounds2; local 603 canvas1->getClipBounds(&bounds1) == canvas2->getClipBounds(&bounds2), 605 REPORTER_ASSERT_MESSAGE(reporter, bounds1 == bounds2, [all...] |
PathOpsExtendedTest.cpp | 345 const SkRect& bounds2 = two.getBounds(); 347 larger.join(bounds2);
|
PathTest.cpp | 3256 SkRect bounds, bounds2; local [all...] |
/external/chromium_org/chrome/browser/ui/panels/ |
panel_drag_controller.cc | 36 int GetHorizontalOverlap(const gfx::Rect& bounds1, const gfx::Rect& bounds2) { 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.x() [all...] |
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();
|
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 [all...] |
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.x() - bounds1.width() - bounds1.x() 174 gfx::Rect bounds2 = panel2->GetBounds(); local [all...] |
/external/chromium_org/chrome/renderer/resources/extensions/ |
app_window_custom_bindings.js | 167 function boundsEqual(bounds1, bounds2) { 168 if (!bounds1 || !bounds2) 170 return (bounds1.left == bounds2.left && bounds1.top == bounds2.top && 171 bounds1.width == bounds2.width && bounds1.height == bounds2.height);
|
/external/chromium_org/apps/ |
shell_window_geometry_cache_unittest.cc | 266 gfx::Rect bounds2(200, 400, 600, 800); 287 cache_->SaveGeometry(extension_id, kWindowId, bounds2, 294 cache_->SaveGeometry(extension_id, kWindowId, bounds2, 301 cache_->SaveGeometry(extension_id, kWindowId, bounds2,
|
/external/chromium_org/ash/wm/overview/ |
window_selector_unittest.cc | 734 gfx::Rect bounds2(650, 0, 400, 400); 738 scoped_ptr<aura::Window> window3(CreateWindow(bounds2)); 739 scoped_ptr<aura::Window> window4(CreateWindow(bounds2)); 742 scoped_ptr<aura::Window> panel3(CreatePanelWindow(bounds2)); 743 scoped_ptr<aura::Window> panel4(CreatePanelWindow(bounds2)); [all...] |
/external/chromium_org/ash/wm/panels/ |
panel_layout_manager.cc | 174 bool BoundsAdjacent(const gfx::Rect& bounds1, const gfx::Rect& bounds2) { 175 return bounds1.x() == bounds2.right() || 176 bounds1.y() == bounds2.bottom() || 177 bounds1.right() == bounds2.x() || 178 bounds1.bottom() == bounds2.y(); [all...] |
/external/chromium_org/ash/wm/dock/ |
docked_window_layout_manager.cc | 302 bool compare_two_windows(const gfx::Rect bounds1, const gfx::Rect bounds2) { 305 bool result1 = compare_bounds(bounds1, bounds2); 306 bool result2 = compare_bounds(bounds2, bounds1); 312 return bounds1.CenterPoint().y() < bounds2.CenterPoint().y(); [all...] |
/external/chromium_org/third_party/skia/src/pathops/ |
SkDCubicIntersection.cpp | 313 const SkDRect& bounds2) { 332 if (!bounds2.intersects(&lineBounds)) {
|
/external/skia/src/pathops/ |
SkDCubicIntersection.cpp | 313 const SkDRect& bounds2) { 332 if (!bounds2.intersects(&lineBounds)) {
|
/external/chromium_org/ui/aura/ |
root_window_unittest.cc | 108 gfx::Rect bounds2(300, 400, kWindowWidth, kWindowHeight); 112 delegate2.get(), -5678, bounds2, root_window())); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
CanvasViewInfoTest.java | 622 Rectangle bounds2 = bounds.get(1); local 624 assertEquals(new Rectangle(0, 40, 49, 19), bounds2); [all...] |