Searched defs:bounds1 (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/third_party/skia/tests/
H A DPathOpsBoundsTest.cpp51 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);
H A DImageFilterTest.cpp1017 SkRect bounds1 = SkRect::MakeXYWH(10, 10, 30, 30); local
1018 canvas.saveLayer(&bounds1, NULL);
1041 canvas.saveLayer(&bounds1, NULL);
H A DCanvasTest.cpp588 SkRect bounds1, bounds2; local
590 canvas1->getClipBounds(&bounds1) == canvas2->getClipBounds(&bounds2),
592 REPORTER_ASSERT_MESSAGE(reporter, bounds1 == bounds2,
/external/skia/tests/
H A DPathOpsBoundsTest.cpp51 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);
H A DImageFilterTest.cpp726 SkRect bounds1 = SkRect::MakeXYWH(10, 10, 30, 30); local
727 canvas.saveLayer(&bounds1, NULL);
750 canvas.saveLayer(&bounds1, NULL);
H A DCanvasTest.cpp621 SkRect bounds1, bounds2; local
623 canvas1->getClipBounds(&bounds1) == canvas2->getClipBounds(&bounds2),
625 REPORTER_ASSERT_MESSAGE(reporter, bounds1 == bounds2,
/external/chromium_org/chrome/browser/ui/panels/
H A Dstacked_panel_browsertest.cc549 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
1410 EXPECT_EQ(primary_work_area.x(), bounds1.x());
1411 EXPECT_LE(bounds1.x(), primary_work_area.right());
1412 EXPECT_LE(primary_work_area.y(), bounds1.y());
1413 EXPECT_EQ(new_primary_area_width, bounds1.width());
1416 EXPECT_EQ(bounds1
[all...]
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())
43 return bounds1.width();
45 if (bounds1.x() <= bounds2.x() && bounds2.right() <= bounds1.right())
49 return (bounds1.x() < bounds2.x()) ? (bounds1
53 GetVerticalOverlap(const gfx::Rect& bounds1, const gfx::Rect& bounds2) argument
[all...]
H A Dpanel_drag_browsertest.cc117 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
173 gfx::Rect bounds1 = panel1->GetBounds(); local
[all...]
H A Dpanel_manager.cc55 gfx::Rect bounds1 = panel1->GetBounds(); local
59 if (bounds1.x() > bounds2.x())
61 if (bounds1.x() < bounds2.x())
65 return bounds1.y() < bounds2.y();
/external/chromium_org/ash/wm/overview/
H A Dwindow_selector_unittest.cc645 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));
939 gfx::Rect bounds1(0, 0, 100, 100);
943 scoped_ptr<aura::Window> window2(CreateWindow(bounds1));
1031 gfx::RectF bounds1 = GetTransformedBoundsInRootWindow(window1); local
[all...]
/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/third_party/icu/source/test/intltest/
H A Drbbiapts.cpp596 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);
H A Drbbitst.cpp326 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);
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DEdgeWalker_TestUtility.cpp199 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
350 const SkRect& bounds1 = one.getBounds(); local
[all...]
/external/icu/icu4c/source/test/intltest/
H A Drbbiapts.cpp599 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);
H A Drbbitst.cpp326 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);
/external/skia/experimental/Intersection/
H A DEdgeWalker_TestUtility.cpp199 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
350 const SkRect& bounds1 = one.getBounds(); local
[all...]
/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();

Completed in 3232 milliseconds