Searched defs:item_bounds (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/ui/views/controls/menu/
H A Dsubmenu_view.cc475 gfx::Rect item_bounds = item->bounds(); local
478 item_bounds.Offset(0, -kDropIndicatorHeight / 2);
479 item_bounds.set_height(kDropIndicatorHeight);
480 return item_bounds;
483 item_bounds.Offset(0, item_bounds.height() - kDropIndicatorHeight / 2);
484 item_bounds.set_height(kDropIndicatorHeight);
485 return item_bounds;
/external/chromium_org/ash/shelf/
H A Dshelf_view_unittest.cc422 gfx::Rect item_bounds = test_api_->GetBoundsByIndex(i); local
423 EXPECT_GE(item_bounds.x(), 0);
424 EXPECT_GE(item_bounds.y(), 0);
425 EXPECT_LE(item_bounds.right(), shelf_view_bounds.width());
426 EXPECT_LE(item_bounds.bottom(), shelf_view_bounds.height());
685 gfx::Rect item_bounds = button->GetBoundsInScreen(); local
687 item_bounds.Offset(icon_offset.OffsetFromOrigin());
692 EXPECT_EQ(item_bounds.x(), ideal_bounds.x());
693 EXPECT_EQ(item_bounds.y(), ideal_bounds.y());

Completed in 188 milliseconds