/external/chromium_org/third_party/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 | 191 const SkRect& bounds1 = scaledOne.getBounds(); 192 canvas.translate(-bounds1.fLeft + 1, -bounds1.fTop + 1); 196 canvas.translate(-bounds1.fLeft + 1 + bitWidth, -bounds1.fTop + 1); 233 const SkRect& bounds1 = one.getBounds(); 235 SkRect larger = bounds1; 252 canvas.translate(-bounds1.fLeft + 1, -bounds1.fTop + 1); 256 canvas.translate(-bounds1.fLeft + 1 + bitWidth, -bounds1.fTop + 1) [all...] |
CanvasTest.cpp | 588 SkRect bounds1, bounds2; local 590 canvas1->getClipBounds(&bounds1) == canvas2->getClipBounds(&bounds2), 592 REPORTER_ASSERT_MESSAGE(reporter, bounds1 == bounds2, [all...] |
ImageFilterTest.cpp | 1017 SkRect bounds1 = SkRect::MakeXYWH(10, 10, 30, 30); 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 | 308 const SkRect& bounds1 = scaledOne.getBounds(); 309 canvas.translate(-bounds1.fLeft + 1, -bounds1.fTop + 1); 313 canvas.translate(-bounds1.fLeft + 1 + bitWidth, -bounds1.fTop + 1); 350 const SkRect& bounds1 = one.getBounds(); 352 SkRect larger = bounds1; 369 canvas.translate(-bounds1.fLeft + 1, -bounds1.fTop + 1); 373 canvas.translate(-bounds1.fLeft + 1 + bitWidth, -bounds1.fTop + 1) [all...] |
CanvasTest.cpp | 621 SkRect bounds1, bounds2; local 623 canvas1->getClipBounds(&bounds1) == canvas2->getClipBounds(&bounds2), 625 REPORTER_ASSERT_MESSAGE(reporter, bounds1 == bounds2, [all...] |
ImageFilterTest.cpp | 726 SkRect bounds1 = SkRect::MakeXYWH(10, 10, 30, 30); local 727 canvas.saveLayer(&bounds1, NULL); 750 canvas.saveLayer(&bounds1, NULL);
|
/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 | 55 gfx::Rect bounds1 = panel1->GetBounds(); local 59 if (bounds1.x() > bounds2.x()) 61 if (bounds1.x() < bounds2.x()) 65 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()); 1409 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/third_party/skia/experimental/Intersection/ |
EdgeWalker_TestUtility.cpp | 199 const SkRect& bounds1 = scaledOne.getBounds(); local 200 canvas.translate(-bounds1.fLeft + 1, -bounds1.fTop + 1); 204 canvas.translate(-bounds1.fLeft + 1 + bitWidth, -bounds1.fTop + 1); 244 const SkRect& bounds1 = one.getBounds(); local 246 SkRect larger = bounds1; 264 canvas.translate(-bounds1.fLeft + 1, -bounds1.fTop + 1); 268 canvas.translate(-bounds1.fLeft + 1 + bitWidth, -bounds1.fTop + 1) 350 const SkRect& bounds1 = one.getBounds(); local [all...] |
/external/skia/experimental/Intersection/ |
EdgeWalker_TestUtility.cpp | 199 const SkRect& bounds1 = scaledOne.getBounds(); local 200 canvas.translate(-bounds1.fLeft + 1, -bounds1.fTop + 1); 204 canvas.translate(-bounds1.fLeft + 1 + bitWidth, -bounds1.fTop + 1); 244 const SkRect& bounds1 = one.getBounds(); local 246 SkRect larger = bounds1; 264 canvas.translate(-bounds1.fLeft + 1, -bounds1.fTop + 1); 268 canvas.translate(-bounds1.fLeft + 1 + bitWidth, -bounds1.fTop + 1) 350 const SkRect& bounds1 = one.getBounds(); local [all...] |
/external/chromium_org/extensions/renderer/resources/ |
app_window_custom_bindings.js | 318 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/ash/wm/overview/ |
window_selector_unittest.cc | 645 gfx::Rect bounds1(0, 0, 400, 400); 648 scoped_ptr<aura::Window> window1(CreateWindow(bounds1)); 649 scoped_ptr<aura::Window> window2(CreateWindow(bounds1)); 652 scoped_ptr<aura::Window> panel1(CreatePanelWindow(bounds1)); 653 scoped_ptr<aura::Window> panel2(CreatePanelWindow(bounds1)); 722 gfx::Rect bounds1(0, 0, 100, 100); 724 scoped_ptr<aura::Window> window1(CreateWindow(bounds1)); 726 scoped_ptr<aura::Window> window3(CreatePanelWindow(bounds1)); 1031 gfx::RectF bounds1 = GetTransformedBoundsInRootWindow(window1); local [all...] |
/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]) { 858 int32_t bounds1[] = {0, 4, 8}; local 867 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/icu/icu4c/source/test/intltest/ |
rbbiapts.cpp | 599 int32_t bounds1[] = {0, 3, 6, 7, 8, 11}; local 608 doBoundaryTest(*bi, testString1, bounds1); 626 int32_t bounds1[] = {0, 6, 7, 10, 11, 12}; local 635 doBoundaryTest(*bi, testString1, bounds1); 653 int32_t bounds1[] = {0, 5, 6, 10, 11, 17, 18, 20, 21}; local 670 doBoundaryTest(*bi, testString1, bounds1); 676 if (pos != bounds1[i]) { 861 int32_t bounds1[] = {0, 4, 8}; local 870 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/panels/ |
panel_layout_manager.cc | 175 bool BoundsAdjacent(const gfx::Rect& bounds1, const gfx::Rect& bounds2) { 176 return bounds1.x() == bounds2.right() || 177 bounds1.y() == bounds2.bottom() || 178 bounds1.right() == bounds2.x() || 179 bounds1.bottom() == bounds2.y(); [all...] |
/external/chromium_org/extensions/browser/app_window/ |
app_window_geometry_cache_unittest.cc | 351 gfx::Rect bounds1(100, 200, 300, 400); 367 extension_id, kWindowId, bounds1, screen_bounds1, ui::SHOW_STATE_NORMAL);
|
/external/chromium_org/ash/wm/dock/ |
docked_window_layout_manager.cc | 342 bool compare_two_windows(const gfx::Rect bounds1, const gfx::Rect bounds2) { 345 bool result1 = compare_bounds(bounds1, bounds2); 346 bool result2 = compare_bounds(bounds2, bounds1); 352 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/ |
window_event_dispatcher_unittest.cc | 110 gfx::Rect bounds1(100, 200, kWindowWidth, kWindowHeight); 113 delegate1.get(), -1234, bounds1, root_window())); [all...] |