Home | History | Annotate | Download | only in shelf

Lines Matching full:bounds

55   gfx::Rect bounds(GetContentsBounds());
63 bounds.x() + ((bounds.width() - kButtonHoverSize) / 2) - 1,
64 bounds.y() + kBackgroundOffset - 1));
68 bounds.x() + kBackgroundOffset - 1,
69 bounds.y() + ((bounds.height() - kButtonHoverSize) / 2) - 1));
90 gfx::Rect bounds(GetContentsBounds());
103 bounds = gfx::Rect(
104 bounds.right() - background->width() -
106 bounds.y() + (bounds.height() - background->height()) / 2,
109 bounds = gfx::Rect(
110 bounds.x() + ShelfLayoutManager::kShelfItemInset,
111 bounds.y() + (bounds.height() - background->height()) / 2,
114 bounds = gfx::Rect(
115 bounds.x() + (bounds.width() - background->width()) / 2,
116 bounds.y() + ShelfLayoutManager::kShelfItemInset,
119 canvas->DrawImageInt(*background, bounds.x(), bounds.y());
147 bounds.x() + ((bounds.width() - image->width()) / 2),
148 bounds.y() + ((bounds.height() - image->height()) / 2));