/external/chromium/chrome/browser/ui/views/tabs/ |
tab_dragging_test.cc | 91 gfx::Rect bounds1; local 92 ASSERT_TRUE(window->GetViewBounds(VIEW_ID_TAB_0, &bounds1, false)); 93 EXPECT_LT(0, bounds1.x()); 94 EXPECT_LT(0, bounds1.width()); 95 EXPECT_LT(0, bounds1.height()); 101 EXPECT_LT(bounds1.x(), bounds2.x()); 102 EXPECT_EQ(bounds2.y(), bounds1.y()); 133 gfx::Point start(bounds1.x() + bounds1.width() / 2, 134 bounds1.y() + bounds1.height() / 2) 189 gfx::Rect bounds1; local 296 gfx::Rect bounds1; local 411 gfx::Rect bounds1; local [all...] |
/external/skia/tests/ |
PathOpsBoundsTest.cpp | 51 const SkPathOpsBounds& bounds1 = static_cast<const SkPathOpsBounds&>(sectTests[index][0]); local 52 SkASSERT(ValidBounds(bounds1)); 55 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2); 59 const SkPathOpsBounds& bounds1 = static_cast<const SkPathOpsBounds&>(noSectTests[index][0]); local 60 SkASSERT(ValidBounds(bounds1)); 63 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2);
|
PathOpsExtendedTest.cpp | 299 const SkRect& bounds1 = scaledOne.getBounds(); 300 canvas.translate(-bounds1.fLeft + 1, -bounds1.fTop + 1); 304 canvas.translate(-bounds1.fLeft + 1 + bitWidth, -bounds1.fTop + 1); 344 const SkRect& bounds1 = one.getBounds(); 346 SkRect larger = bounds1; 364 canvas.translate(-bounds1.fLeft + 1, -bounds1.fTop + 1); 368 canvas.translate(-bounds1.fLeft + 1 + bitWidth, -bounds1.fTop + 1) [all...] |
CanvasTest.cpp | 601 SkRect bounds1, bounds2; local 603 canvas1->getClipBounds(&bounds1) == canvas2->getClipBounds(&bounds2), 605 REPORTER_ASSERT_MESSAGE(reporter, bounds1 == bounds2, [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()) 43 return bounds1.width(); 45 if (bounds1.x() <= bounds2.x() && bounds2.right() <= bounds1.right()) 49 return (bounds1.x() < bounds2.x()) ? (bounds1.right() - bounds2.x() [all...] |
panel_manager.cc | 58 gfx::Rect bounds1 = panel1->GetBounds(); local 62 if (bounds1.x() > bounds2.x()) 64 if (bounds1.x() < bounds2.x()) 68 return bounds1.y() < bounds2.y();
|
stacked_panel_browsertest.cc | 549 gfx::Rect bounds1 = panel1->GetBounds(); local 551 mouse_location = bounds1.origin(); 553 gfx::Vector2d drag_delta_to_stack(bounds2.x() - bounds1.x(), 554 bounds2.y() - bounds1.bottom()); 1427 gfx::Rect bounds1 = panel1->GetBounds(); local [all...] |
panel_drag_browsertest.cc | 117 gfx::Rect bounds1 = panel1->GetBounds(); local 120 bounds2.x() - bounds1.x(), 121 bounds2.bottom() - bounds1.y() + 129 gfx::Rect bounds1 = panel1->GetBounds(); local 137 gfx::Rect bounds1 = panel1->GetBounds(); local 141 : bounds1.bottom(); 143 bounds2.x() - bounds1.x(), 152 gfx::Rect bounds1 = panel1->GetBounds(); local 161 gfx::Rect bounds1 = panel1->GetBounds(); local 164 bounds2.x() - bounds1.width() - bounds1.x() 173 gfx::Rect bounds1 = panel1->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/third_party/icu/source/test/intltest/ |
rbbiapts.cpp | 596 int32_t bounds1[] = {0, 3, 6, 7, 8, 11}; local 605 doBoundaryTest(*bi, testString1, bounds1); 623 int32_t bounds1[] = {0, 6, 7, 10, 11, 12}; local 632 doBoundaryTest(*bi, testString1, bounds1); 650 int32_t bounds1[] = {0, 5, 6, 10, 11, 17, 18, 20, 21}; local 667 doBoundaryTest(*bi, testString1, bounds1); 673 if (pos != bounds1[i]) { 859 int32_t bounds1[] = {0, 4, 8}; local 868 doBoundaryTest(*bi, testString1, bounds1); [all...] |
rbbitst.cpp | 385 int32_t bounds1[] = {0, 3, 6, 7, 8, 11, 12, 16, 17, 19, 20, 25, 27, 28, -1}; local 399 if (pos != bounds1[i]) { 400 errln("FAIL: expected break at %d, got %d\n", bounds1[i], pos); [all...] |
/external/icu4c/test/intltest/ |
rbbiapts.cpp | 596 int32_t bounds1[] = {0, 3, 6, 7, 8, 11}; local 605 doBoundaryTest(*bi, testString1, bounds1); 623 int32_t bounds1[] = {0, 6, 7, 10, 11, 12}; local 632 doBoundaryTest(*bi, testString1, bounds1); 650 int32_t bounds1[] = {0, 5, 6, 10, 11, 17, 18, 20, 21}; local 667 doBoundaryTest(*bi, testString1, bounds1); 673 if (pos != bounds1[i]) { 859 int32_t bounds1[] = {0, 4, 8}; local 868 doBoundaryTest(*bi, testString1, bounds1); [all...] |
rbbitst.cpp | 326 int32_t bounds1[] = {0, 3, 6, 7, 8, 11, 12, 16, 17, 19, 20, 25, 27, 28, -1}; local 340 if (pos != bounds1[i]) { 341 errln("FAIL: expected break at %d, got %d\n", bounds1[i], pos); [all...] |
/external/chromium_org/ash/wm/overview/ |
window_selector_unittest.cc | 733 gfx::Rect bounds1(0, 0, 400, 400); 736 scoped_ptr<aura::Window> window1(CreateWindow(bounds1)); 737 scoped_ptr<aura::Window> window2(CreateWindow(bounds1)); 740 scoped_ptr<aura::Window> panel1(CreatePanelWindow(bounds1)); 741 scoped_ptr<aura::Window> panel2(CreatePanelWindow(bounds1)); [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/apps/ |
shell_window_geometry_cache_unittest.cc | 265 gfx::Rect bounds1(100, 200, 300, 400); 280 cache_->SaveGeometry(extension_id, kWindowId, bounds1,
|
/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...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
CanvasViewInfoTest.java | 621 Rectangle bounds1 = bounds.get(0); local 623 assertEquals(new Rectangle(0, 20, 49, 19), bounds1); 651 Rectangle bounds1 = bounds.get(0); local 652 assertEquals(new Rectangle(0, 40, 49, 19), bounds1); [all...] |
/external/chromium_org/ui/aura/ |
root_window_unittest.cc | 107 gfx::Rect bounds1(100, 200, kWindowWidth, kWindowHeight); 110 delegate1.get(), -1234, bounds1, root_window())); [all...] |