Searched refs:item_bounds (Results 1 - 4 of 4) 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;
H A Dmenu_scroll_view_container.cc77 gfx::Rect item_bounds(0, 0, width(), height());
82 NativeTheme::kNormal, item_bounds, extra);
H A Dmenu_item_view.cc770 gfx::Rect item_bounds(0, 0, width(), height());
771 AdjustBoundsForRTLUI(&item_bounds);
776 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 333 milliseconds