Home
last modified time | relevance | path

Searched refs:background_bounds (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/ash/shelf/
Dalternate_app_list_button.cc128 gfx::Rect background_bounds, forground_bounds; in OnPaint() local
131 background_bounds.set_size(background_image->size()); in OnPaint()
133 background_bounds.set_x(contents_bounds.width() - in OnPaint()
135 background_bounds.set_y(contents_bounds.y() + in OnPaint()
138 background_bounds.set_x(ShelfLayoutManager::kShelfItemInset); in OnPaint()
139 background_bounds.set_y(contents_bounds.y() + in OnPaint()
142 background_bounds.set_y(ShelfLayoutManager::kShelfItemInset); in OnPaint()
143 background_bounds.set_x(contents_bounds.x() + in OnPaint()
148 forground_bounds.set_x(background_bounds.x() + in OnPaint()
150 (background_bounds.width() - forground_bounds.width()) / 2)); in OnPaint()
[all …]
Dapp_list_button.cc145 gfx::Rect background_bounds, forground_bounds; in OnPaint() local
148 background_bounds.set_size(background_image->size()); in OnPaint()
150 background_bounds.set_x(contents_bounds.width() - in OnPaint()
152 background_bounds.set_y(contents_bounds.y() + in OnPaint()
155 background_bounds.set_x(ShelfLayoutManager::kShelfItemInset); in OnPaint()
156 background_bounds.set_y(contents_bounds.y() + in OnPaint()
159 background_bounds.set_y(ShelfLayoutManager::kShelfItemInset); in OnPaint()
160 background_bounds.set_x(contents_bounds.x() + in OnPaint()
165 forground_bounds.set_x(background_bounds.x() + in OnPaint()
167 (background_bounds.width() - forground_bounds.width()) / 2)); in OnPaint()
[all …]
/external/chromium_org/chrome/browser/chromeos/login/ui/
Dlogin_display.h99 LoginDisplay(Delegate* delegate, const gfx::Rect& background_bounds);
143 gfx::Rect background_bounds() const { return background_bounds_; } in background_bounds() function
144 void set_background_bounds(const gfx::Rect& background_bounds) { in set_background_bounds() argument
145 background_bounds_ = background_bounds; in set_background_bounds()
Dlogin_display.cc12 const gfx::Rect& background_bounds) in LoginDisplay() argument
15 background_bounds_(background_bounds), in LoginDisplay()
Dlogin_display_host_impl.h60 explicit LoginDisplayHostImpl(const gfx::Rect& background_bounds);
103 const gfx::Rect& background_bounds() const { return background_bounds_; } in background_bounds() function
Dlogin_display_host_impl.cc271 LoginDisplayHostImpl::LoginDisplayHostImpl(const gfx::Rect& background_bounds) in LoginDisplayHostImpl() argument
272 : background_bounds_(background_bounds), in LoginDisplayHostImpl()
440 webui_login_display_->set_background_bounds(background_bounds()); in CreateLoginDisplay()
1059 params.bounds = background_bounds(); in InitLoginWindowAndView()
/external/chromium_org/chrome/browser/ui/views/
Dfind_bar_view.cc253 gfx::Rect background_bounds = text_bounds; in OnPaint() local
254 background_bounds.Inset(kBorderCornerRadius, kBorderCornerRadius); in OnPaint()
258 canvas->DrawRoundRect(background_bounds, kBorderCornerRadius, paint); in OnPaint()
/external/chromium_org/ash/wm/dock/
Ddocked_window_layout_manager.cc1253 gfx::Rect background_bounds(docked_bounds_); in UpdateDockBounds() local
1255 background_bounds.Subtract(shelf_observer_->shelf_bounds_in_screen()); in UpdateDockBounds()
1256 background_widget_->SetBackgroundBounds(background_bounds, alignment_); in UpdateDockBounds()