Searched defs:new_bounds (Results 1 - 25 of 76) sorted by last modified time

1234

/external/chromium_org/ui/aura/test/
H A Dtest_screen.cc60 gfx::Rect new_bounds(bounds_in_pixel);
62 new_bounds.set_width(bounds_in_pixel.height());
63 new_bounds.set_height(bounds_in_pixel.width());
66 display_.SetScaleAndBounds(display_.device_scale_factor(), new_bounds);
73 gfx::Rect new_bounds = gfx::ToNearestRect( local
75 display_.SetScaleAndBounds(display_.device_scale_factor(), new_bounds);
117 Window* window, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) {
120 gfx::ScaleSize(new_bounds.size(), display_.device_scale_factor())));
116 OnWindowBoundsChanged( Window* window, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument
H A Dtest_window_delegate.cc50 const gfx::Rect& new_bounds) {
49 OnBoundsChanged(const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument
/external/chromium_org/ui/aura/
H A Dwindow.cc436 void Window::SetBounds(const gfx::Rect& new_bounds) { argument
438 parent_->layout_manager()->SetChildBounds(this, new_bounds);
441 gfx::Rect final_bounds(new_bounds);
890 void Window::SetBoundsInternal(const gfx::Rect& new_bounds) { argument
891 gfx::Rect actual_new_bounds(new_bounds);
897 const gfx::Vector2d origin_delta = new_bounds.OffsetFromOrigin() -
899 bounds_ = new_bounds;
H A Dwindow_event_dispatcher.cc620 const gfx::Rect& new_bounds) {
626 "size", new_bounds.size().ToString());
636 gfx::Rect old_bounds_in_root = old_bounds, new_bounds_in_root = new_bounds;
618 OnWindowBoundsChanged(Window* window, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument
H A Dwindow_observer.h76 // |new_bounds| are in parent coordinates.
79 const gfx::Rect& new_bounds) {}
77 OnWindowBoundsChanged(Window* window, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument
H A Dwindow_tree_host_ozone.cc25 void WindowTreeHostOzone::OnBoundsChanged(const gfx::Rect& new_bounds) { argument
27 OnHostResized(new_bounds.size());
28 OnHostMoved(new_bounds.origin());
H A Dwindow_tree_host_win.cc124 void WindowTreeHostWin::OnBoundsChanged(const gfx::Rect& new_bounds) { argument
126 bounds_ = new_bounds;
/external/chromium_org/ui/keyboard/
H A Dkeyboard_controller.cc93 const gfx::Rect& new_bounds) OVERRIDE {
94 bounds_ = new_bounds;
211 const gfx::Rect& new_bounds) OVERRIDE;
222 const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) {
301 const gfx::Rect& new_bounds) {
302 current_keyboard_bounds_ = new_bounds;
306 OnKeyboardBoundsChanging(new_bounds));
329 new_bounds);
221 OnWindowBoundsChanged(aura::Window* window, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument
300 NotifyKeyboardBoundsChanging( const gfx::Rect& new_bounds) argument
H A Dkeyboard_controller_proxy.cc191 const gfx::Rect& new_bounds) {
201 shadow_->SetContentBounds(new_bounds);
188 OnWindowBoundsChanged( aura::Window* window, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument
/external/chromium_org/ui/message_center/views/
H A Dmessage_center_view.cc520 gfx::Rect new_bounds = child->bounds(); local
521 new_bounds.set_x(new_bounds.right() + kMarginBetweenItems);
522 animator_->AnimateViewTo(child, new_bounds);
H A Dtoast_contents_view.cc124 void ToastContentsView::SetBoundsInstantly(gfx::Rect new_bounds) { argument
125 if (new_bounds == bounds())
128 origin_ = new_bounds.origin();
131 GetWidget()->SetBounds(new_bounds);
134 void ToastContentsView::SetBoundsWithAnimation(gfx::Rect new_bounds) { argument
135 if (new_bounds == bounds())
138 origin_ = new_bounds.origin();
147 animated_bounds_end_ = new_bounds;
/external/chromium_org/ui/v2/public/
H A Dview_observer.h55 const gfx::Rect& new_bounds) {}
53 OnViewBoundsChanged(View* view, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument
/external/chromium_org/ui/views/animation/
H A Dbounds_animator.cc232 gfx::Rect new_bounds = local
234 if (new_bounds != view->bounds()) {
235 gfx::Rect total_bounds = gfx::UnionRects(new_bounds, view->bounds());
241 view->SetBoundsRect(new_bounds);
/external/chromium_org/ui/views/bubble/
H A Dbubble_delegate.cc173 const gfx::Rect& new_bounds) {
172 OnWidgetBoundsChanged(Widget* widget, const gfx::Rect& new_bounds) argument
/external/chromium_org/ui/views/controls/menu/
H A Ddisplay_change_listener_aura.cc25 const gfx::Rect& new_bounds) OVERRIDE;
51 const gfx::Rect& new_bounds) {
48 OnWindowBoundsChanged( aura::Window* window, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument
/external/chromium_org/ui/views/touchui/
H A Dtouch_selection_controller_impl.cc527 const gfx::Rect& new_bounds) {
525 OnWidgetBoundsChanged( Widget* widget, const gfx::Rect& new_bounds) argument
/external/chromium_org/ui/views/widget/
H A Dnative_widget_aura.cc738 const gfx::Rect& new_bounds) {
742 if (old_bounds.origin() != new_bounds.origin() ||
743 (old_bounds == gfx::Rect(0, 0, 0, 0) && !new_bounds.IsEmpty())) {
746 if (old_bounds.size() != new_bounds.size())
747 delegate_->OnNativeWidgetSizeChanged(new_bounds.size());
737 OnBoundsChanged(const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument
H A Dwidget_observer.h47 const gfx::Rect& new_bounds) {}
46 OnWidgetBoundsChanged(Widget* widget, const gfx::Rect& new_bounds) argument
/external/chromium_org/ui/views/win/
H A Dhwnd_message_handler.cc1577 void HWNDMessageHandler::OnMoving(UINT param, const RECT* new_bounds) { argument
/external/chromium_org/ui/wm/core/
H A Dshadow_controller.cc108 const gfx::Rect& new_bounds) OVERRIDE;
181 const gfx::Rect& new_bounds) {
184 shadow->SetContentBounds(gfx::Rect(new_bounds.size()));
178 OnWindowBoundsChanged( aura::Window* window, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument
/external/chromium_org/extensions/browser/app_window/
H A Dapp_window_geometry_cache_unittest.cc216 gfx::Rect new_bounds; local
220 extension_id, kWindowId, &new_bounds, &new_screen_bounds, &new_state));
221 ASSERT_EQ(bounds, new_bounds);
234 gfx::Rect new_bounds; local
238 extension_id, kWindowId, &new_bounds, &new_screen_bounds, &new_state));
239 ASSERT_TRUE(new_bounds.IsEmpty());
252 gfx::Rect new_bounds; local
256 extension_id, kWindowId, &new_bounds, &new_screen_bounds, &new_state));
257 ASSERT_TRUE(new_bounds.IsEmpty());
270 gfx::Rect new_bounds; local
296 gfx::Rect new_bounds; local
[all...]
/external/chromium_org/mojo/aura/
H A Dwindow_tree_host_mojo.cc165 const gfx::Rect& new_bounds) {
166 bounds_ = new_bounds;
167 if (old_bounds.origin() != new_bounds.origin())
169 if (old_bounds.size() != new_bounds.size())
162 OnViewBoundsChanged( View* view, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument
/external/chromium_org/mojo/services/html_viewer/
H A Dhtml_document_view.cc242 const gfx::Rect& new_bounds) {
240 OnViewBoundsChanged(View* view, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument
/external/chromium_org/mojo/services/public/cpp/view_manager/lib/
H A Dview.cc154 const gfx::Rect& new_bounds)
157 new_bounds_(new_bounds) {
397 const gfx::Rect& new_bounds) {
399 ScopedSetBoundsNotifier notifier(this, old_bounds, new_bounds);
400 bounds_ = new_bounds;
152 ScopedSetBoundsNotifier(View* view, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument
396 LocalSetBounds(const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument
H A Dview_manager_client_impl.cc294 RectPtr new_bounds) {
297 new_bounds.To<gfx::Rect>());
292 OnViewBoundsChanged(Id view_id, RectPtr old_bounds, RectPtr new_bounds) argument

Completed in 393 milliseconds

1234