/external/chromium_org/chrome/browser/ui/panels/ |
H A D | detached_panel_drag_handler.cc | 18 gfx::Rect new_bounds(panel->GetBounds()); 19 new_bounds.set_origin(target_position); 20 panel->SetPanelBoundsInstantly(new_bounds);
|
H A D | docked_panel_drag_handler.cc | 24 gfx::Rect new_bounds(panel->GetBounds()); 25 new_bounds.set_x(target_position.x()); 26 int delta_x = new_bounds.x() - panel->GetBounds().x(); 29 if (new_bounds.bottom() != bottom) { 30 new_bounds.set_y(target_position.y()); 31 if (new_bounds.bottom() > bottom) 32 new_bounds.set_y(bottom - new_bounds.height()); 34 panel->SetPanelBoundsInstantly(new_bounds);
|
/external/chromium_org/ui/keyboard/ |
H A D | keyboard_controller_observer.h | 21 virtual void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) = 0;
|
/external/chromium_org/ash/wm/ |
H A D | window_resizer.cc | 137 gfx::Rect new_bounds(origin, size); 156 new_bounds.right() < work_area.x() + kMinimumOnScreenArea) { 157 int delta = work_area.x() + kMinimumOnScreenArea - new_bounds.right(); 158 new_bounds.set_width(new_bounds.width() + delta); 159 } else if (new_bounds.x() > work_area.right() - kMinimumOnScreenArea) { 160 int width = new_bounds.right() - work_area.right() + 162 new_bounds.set_x(work_area.right() - kMinimumOnScreenArea); 163 new_bounds.set_width(width); 168 new_bounds [all...] |
H A D | system_background_controller.h | 38 const gfx::Rect& new_bounds) OVERRIDE;
|
H A D | resize_shadow_controller.cc | 45 const gfx::Rect& new_bounds) { 48 shadow->Layout(new_bounds); 42 OnWindowBoundsChanged( aura::Window* window, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument
|
H A D | window_animations.cc | 71 const gfx::Rect& new_bounds) { 76 int new_area = new_bounds.width() * new_bounds.height(); 330 const gfx::Rect new_bounds(window->bounds()); 331 const bool old_on_top = (old_bounds.width() > new_bounds.width()); 335 old_bounds, new_bounds); 348 float scale_x = static_cast<float>(new_bounds.width()) / 350 float scale_y = static_cast<float>(new_bounds.height()) / 352 out_transform.Translate(new_bounds.x() - old_bounds.x(), 353 new_bounds 69 GetCrossFadeDuration(aura::Window* window, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument [all...] |
/external/chromium_org/chrome/browser/ui/ash/ |
H A D | shelf_browsertest.cc | 26 const gfx::Rect new_bounds( 31 browser()->window()->SetBounds(new_bounds);
|
/external/chromium_org/ash/wm/dock/ |
H A D | docked_window_layout_manager_observer.h | 30 virtual void OnDockBoundsChanging(const gfx::Rect& new_bounds,
|
/external/chromium_org/mojo/services/public/cpp/view_manager/lib/ |
H A D | view_private.h | 45 const gfx::Rect& new_bounds) { 46 view_->LocalSetBounds(old_bounds, new_bounds); 44 LocalSetBounds(const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument
|
/external/chromium_org/ui/aura/ |
H A D | window_tree_host_ozone.cc | 25 void WindowTreeHostOzone::OnBoundsChanged(const gfx::Rect& new_bounds) { argument 27 OnHostResized(new_bounds.size()); 28 OnHostMoved(new_bounds.origin());
|
/external/chromium_org/mojo/aura/ |
H A D | window_tree_host_mojo.cc | 165 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/ui/platform_window/ |
H A D | platform_window_delegate.h | 30 // Note that |new_bounds| is in physical screen coordinates. 31 virtual void OnBoundsChanged(const gfx::Rect& new_bounds) = 0;
|
/external/chromium_org/chrome/browser/ui/autofill/ |
H A D | autofill_popup_controller_interactive_uitest.cc | 109 gfx::Rect new_bounds = browser()->window()->GetBounds() - gfx::Vector2d(1, 1); local 110 browser()->window()->SetBounds(new_bounds);
|
/external/chromium_org/content/browser/web_contents/aura/ |
H A D | image_window_delegate.cc | 40 const gfx::Rect& new_bounds) { 41 window_size_ = new_bounds.size(); 39 OnBoundsChanged(const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument
|
/external/chromium_org/mojo/services/native_viewport/ |
H A D | platform_viewport_ozone.cc | 58 virtual void OnBoundsChanged(const gfx::Rect& new_bounds) OVERRIDE { 59 delegate_->OnBoundsChanged(new_bounds);
|
H A D | platform_viewport_win.cc | 61 virtual void OnBoundsChanged(const gfx::Rect& new_bounds) OVERRIDE { 62 delegate_->OnBoundsChanged(new_bounds);
|
H A D | platform_viewport_x11.cc | 73 virtual void OnBoundsChanged(const gfx::Rect& new_bounds) OVERRIDE { 74 bounds_ = new_bounds; 75 delegate_->OnBoundsChanged(new_bounds);
|
/external/chromium_org/mojo/services/public/cpp/view_manager/ |
H A D | view_observer.h | 58 const gfx::Rect& new_bounds) {} 61 const gfx::Rect& new_bounds) {} 56 OnViewBoundsChanging(View* view, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument 59 OnViewBoundsChanged(View* view, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument
|
/external/chromium_org/ui/aura/test/ |
H A D | test_screen.cc | 60 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
|
/external/chromium_org/ui/message_center/views/ |
H A D | toast_contents_view.cc | 124 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/views/controls/menu/ |
H A D | display_change_listener_aura.cc | 25 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/cc/resources/ |
H A D | picture_layer_tiling_set_unittest.cc | 305 void SyncTilings(const gfx::Size& new_bounds, argument 314 *source_.get(), new_bounds, invalidation, minimum_scale); 316 void SyncTilings(const gfx::Size& new_bounds) { argument 318 SyncTilings(new_bounds, invalidation, 0.f); 320 void SyncTilings(const gfx::Size& new_bounds, const Region& invalidation) { argument 321 SyncTilings(new_bounds, invalidation, 0.f); 323 void SyncTilings(const gfx::Size& new_bounds, float minimum_scale) { argument 325 SyncTilings(new_bounds, invalidation, minimum_scale); 328 void VerifyTargetEqualsSource(const gfx::Size& new_bounds) { argument 329 ASSERT_FALSE(new_bounds 408 gfx::Size new_bounds; local [all...] |
/external/chromium_org/ash/host/ |
H A D | transformer_helper.cc | 42 gfx::RectF new_bounds(ui::ConvertRectToDIP(root_window_->layer(), bounds)); 43 transform_.TransformRect(&new_bounds); 44 return gfx::Rect(gfx::ToFlooredSize(new_bounds.size()));
|
/external/chromium_org/extensions/browser/app_window/ |
H A D | app_window_geometry_cache_unittest.cc | 216 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...] |