Home
last modified time | relevance | path

Searched refs:old_bounds (Results 1 – 25 of 102) sorted by relevance

12345

/external/chromium_org/chrome/browser/ui/ash/
Dshelf_browsertest.cc25 const gfx::Rect old_bounds = browser()->window()->GetBounds(); in IN_PROC_BROWSER_TEST_F() local
27 old_bounds.x(), in IN_PROC_BROWSER_TEST_F()
28 old_bounds.y(), in IN_PROC_BROWSER_TEST_F()
29 old_bounds.width(), in IN_PROC_BROWSER_TEST_F()
30 shelf->GetIdealBounds().y() - old_bounds.y()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/ash/wm/
Dwindow_animations.cc70 const gfx::Rect& old_bounds, in GetCrossFadeDuration() argument
75 int old_area = old_bounds.width() * old_bounds.height(); in GetCrossFadeDuration()
329 const gfx::Rect old_bounds(old_layer_owner->root()->bounds()); in CrossFadeAnimation() local
331 const bool old_on_top = (old_bounds.width() > new_bounds.width()); in CrossFadeAnimation()
335 old_bounds, new_bounds); in CrossFadeAnimation()
349 static_cast<float>(old_bounds.width()); in CrossFadeAnimation()
351 static_cast<float>(old_bounds.height()); in CrossFadeAnimation()
352 out_transform.Translate(new_bounds.x() - old_bounds.x(), in CrossFadeAnimation()
353 new_bounds.y() - old_bounds.y()); in CrossFadeAnimation()
368 const float scale_x = static_cast<float>(old_bounds.width()) / in CrossFadeAnimation()
[all …]
Dtoplevel_window_event_handler_unittest.cc406 gfx::Rect old_bounds = target->bounds(); in TEST_F() local
420 EXPECT_NE(old_bounds.ToString(), target->bounds().ToString()); in TEST_F()
423 old_bounds = target->bounds(); in TEST_F()
433 EXPECT_NE(old_bounds.ToString(), target->bounds().ToString()); in TEST_F()
439 old_bounds = target->bounds(); in TEST_F()
449 EXPECT_NE(old_bounds.ToString(), target->bounds().ToString()); in TEST_F()
451 EXPECT_EQ(old_bounds.ToString(), in TEST_F()
455 target->SetBounds(old_bounds); in TEST_F()
464 EXPECT_NE(old_bounds.ToString(), target->bounds().ToString()); in TEST_F()
467 EXPECT_EQ(old_bounds.ToString(), in TEST_F()
[all …]
Dsystem_background_controller.h37 const gfx::Rect& old_bounds,
Dscreen_dimmer.h49 const gfx::Rect& old_bounds,
Dresize_shadow_controller.h41 const gfx::Rect& old_bounds,
Dsystem_background_controller.cc37 const gfx::Rect& old_bounds, in OnWindowBoundsChanged() argument
Dscreen_dimmer.cc60 const gfx::Rect& old_bounds, in OnWindowBoundsChanged() argument
/external/chromium_org/ui/aura/
Dwindow_tree_host_win.cc125 gfx::Rect old_bounds = bounds_; in OnBoundsChanged() local
127 if (bounds_.origin() != old_bounds.origin()) in OnBoundsChanged()
129 if (bounds_.size() != old_bounds.size()) in OnBoundsChanged()
/external/chromium_org/mojo/aura/
Dwindow_tree_host_mojo.cc164 const gfx::Rect& old_bounds, in OnViewBoundsChanged() argument
167 if (old_bounds.origin() != new_bounds.origin()) in OnViewBoundsChanged()
169 if (old_bounds.size() != new_bounds.size()) in OnViewBoundsChanged()
/external/chromium_org/mojo/services/public/cpp/view_manager/lib/
Dview_private.h44 void LocalSetBounds(const gfx::Rect& old_bounds, in LocalSetBounds() argument
46 view_->LocalSetBounds(old_bounds, new_bounds); in LocalSetBounds()
Dview.cc153 const gfx::Rect& old_bounds, in ScopedSetBoundsNotifier() argument
156 old_bounds_(old_bounds), in ScopedSetBoundsNotifier()
396 void View::LocalSetBounds(const gfx::Rect& old_bounds, in LocalSetBounds() argument
398 DCHECK(old_bounds == bounds_); in LocalSetBounds()
399 ScopedSetBoundsNotifier notifier(this, old_bounds, new_bounds); in LocalSetBounds()
/external/chromium_org/ui/keyboard/
Dkeyboard_layout_manager.cc50 gfx::Rect old_bounds = child->bounds(); in SetChildBounds() local
52 if (old_bounds.height() == 0 && child->bounds().height() != 0 && in SetChildBounds()
/external/chromium_org/mojo/services/public/cpp/view_manager/
Dview_observer.h57 const gfx::Rect& old_bounds, in OnViewBoundsChanging() argument
60 const gfx::Rect& old_bounds, in OnViewBoundsChanged() argument
/external/chromium_org/ui/views/controls/menu/
Ddisplay_change_listener_aura.cc24 const gfx::Rect& old_bounds,
50 const gfx::Rect& old_bounds, in OnWindowBoundsChanged() argument
/external/chromium_org/mojo/services/view_manager/
Dconnection_manager.cc143 const gfx::Rect& old_bounds, in ProcessViewBoundsChanged() argument
149 view, old_bounds, new_bounds, IsChangeSource(i->first)); in ProcessViewBoundsChanged()
267 const gfx::Rect& old_bounds, in OnViewBoundsChanged() argument
269 ProcessViewBoundsChanged(view, old_bounds, new_bounds); in OnViewBoundsChanged()
274 display_manager_.SchedulePaint(view->parent(), old_bounds); in OnViewBoundsChanged()
Dconnection_manager.h124 const gfx::Rect& old_bounds,
172 const gfx::Rect& old_bounds,
Dserver_view.cc82 const gfx::Rect old_bounds = bounds_; in SetBounds() local
84 delegate_->OnViewBoundsChanged(this, old_bounds, bounds); in SetBounds()
Dserver_view_delegate.h34 const gfx::Rect& old_bounds,
/external/chromium_org/ui/v2/src/
Dview.cc196 gfx::Rect old_bounds = bounds_; in SetBounds() local
203 if (bounds_ != old_bounds) { in SetBounds()
205 old_bounds, bounds_)); in SetBounds()
/external/chromium_org/mojo/examples/window_manager/
Dwindow_manager.cc155 const gfx::Rect& old_bounds, in OnViewBoundsChanged() argument
160 new_bounds.width() - old_bounds.width()); in OnViewBoundsChanged()
198 const gfx::Rect& old_bounds, in OnViewBoundsChanged() argument
205 int delta_width = new_bounds.width() - old_bounds.width(); in OnViewBoundsChanged()
206 int delta_height = new_bounds.height() - old_bounds.height(); in OnViewBoundsChanged()
/external/chromium_org/chrome/browser/ui/cocoa/panels/
Dpanel_stack_window_cocoa.mm209 gfx::Rect old_bounds = iter->second;
213 if (old_bounds.width() != new_bounds.width() ||
214 old_bounds.height() != new_bounds.height()) {
221 delta = new_bounds.origin() - old_bounds.origin();
222 } else if (!(delta == new_bounds.origin() - old_bounds.origin())) {
/external/chromium_org/ui/v2/public/
Dview_observer.h54 const gfx::Rect& old_bounds, in OnViewBoundsChanged() argument
/external/chromium_org/ash/system/chromeos/brightness/
Dtray_brightness.cc69 virtual void OnBoundsChanged(const gfx::Rect& old_bounds) OVERRIDE;
143 void BrightnessView::OnBoundsChanged(const gfx::Rect& old_bounds) { in OnBoundsChanged() argument
/external/chromium_org/chrome/browser/ui/panels/
Ddocked_panel_collection.cc663 gfx::Rect old_bounds = panel->GetBounds(); in RefreshLayout() local
664 gfx::Rect new_bounds = old_bounds; in RefreshLayout()
674 if (x < old_bounds.x() || in RefreshLayout()
675 (x == old_bounds.x() && new_bounds.width() <= old_bounds.width())) in RefreshLayout()

12345