Searched refs:new_bounds (Results 1 - 25 of 175) sorted by relevance

1234567

/external/chromium_org/chrome/browser/ui/panels/
H A Ddetached_panel_drag_handler.cc18 gfx::Rect new_bounds(panel->GetBounds());
19 new_bounds.set_origin(target_position);
20 panel->SetPanelBoundsInstantly(new_bounds);
H A Ddocked_panel_drag_handler.cc24 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 Dkeyboard_controller_observer.h21 virtual void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) = 0;
/external/chromium_org/ash/wm/
H A Dwindow_resizer.cc137 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 Dsystem_background_controller.h38 const gfx::Rect& new_bounds) OVERRIDE;
H A Dresize_shadow_controller.cc45 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 Dwindow_animations.cc71 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 Dshelf_browsertest.cc26 const gfx::Rect new_bounds(
31 browser()->window()->SetBounds(new_bounds);
/external/chromium_org/ash/wm/dock/
H A Ddocked_window_layout_manager_observer.h30 virtual void OnDockBoundsChanging(const gfx::Rect& new_bounds,
/external/chromium_org/mojo/services/public/cpp/view_manager/lib/
H A Dview_private.h45 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 Dwindow_tree_host_ozone.cc25 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 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/ui/platform_window/
H A Dplatform_window_delegate.h30 // 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 Dautofill_popup_controller_interactive_uitest.cc109 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 Dimage_window_delegate.cc40 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 Dplatform_viewport_ozone.cc58 virtual void OnBoundsChanged(const gfx::Rect& new_bounds) OVERRIDE {
59 delegate_->OnBoundsChanged(new_bounds);
H A Dplatform_viewport_win.cc61 virtual void OnBoundsChanged(const gfx::Rect& new_bounds) OVERRIDE {
62 delegate_->OnBoundsChanged(new_bounds);
H A Dplatform_viewport_x11.cc73 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 Dview_observer.h58 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 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
/external/chromium_org/ui/message_center/views/
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/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/cc/resources/
H A Dpicture_layer_tiling_set_unittest.cc305 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 Dtransformer_helper.cc42 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 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...]

Completed in 450 milliseconds

1234567