HomeSort by relevance Sort by last modified time
    Searched refs:new_bounds (Results 1 - 25 of 119) sorted by null

1 2 3 4 5

  /external/chromium_org/chrome/browser/ui/panels/
detached_panel_drag_handler.cc 18 gfx::Rect new_bounds(panel->GetBounds());
19 new_bounds.set_origin(target_position);
20 panel->SetPanelBoundsInstantly(new_bounds);
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);
native_panel_stack_window.h 75 const gfx::Rect& new_bounds) = 0;
  /external/chromium_org/ash/wm/dock/
docked_window_layout_manager_observer.h 22 virtual void OnDockBoundsChanging(const gfx::Rect& new_bounds) = 0;
  /external/chromium_org/ui/keyboard/
keyboard_controller_observer.h 21 virtual void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) = 0;
  /external/chromium_org/ash/wm/
window_resizer.cc 201 gfx::Rect new_bounds(origin, size);
214 new_bounds.right() < work_area.x() + kMinimumOnScreenArea) {
215 int delta = work_area.x() + kMinimumOnScreenArea - new_bounds.right();
216 new_bounds.set_width(new_bounds.width() + delta);
217 } else if (new_bounds.x() > work_area.right() - kMinimumOnScreenArea) {
218 int width = new_bounds.right() - work_area.right() +
220 new_bounds.set_x(work_area.right() - kMinimumOnScreenArea);
221 new_bounds.set_width(width);
226 new_bounds.y() > work_area.bottom() - kMinimumOnScreenArea)
    [all...]
window_animations.h 43 // Animate a cross-fade of |window| from its current bounds to |new_bounds|.
45 const gfx::Rect& new_bounds);
56 // and |new_bounds| of the window.
58 const gfx::Rect& new_bounds);
system_background_controller.h 43 const gfx::Rect& new_bounds) OVERRIDE;
window_animations.cc 323 const gfx::Rect new_bounds(window->bounds());
324 const bool old_on_top = (old_bounds.width() > new_bounds.width());
327 const base::TimeDelta duration = GetCrossFadeDuration(old_bounds, new_bounds);
339 float scale_x = static_cast<float>(new_bounds.width()) /
341 float scale_y = static_cast<float>(new_bounds.height()) /
343 out_transform.Translate(new_bounds.x() - old_bounds.x(),
344 new_bounds.y() - old_bounds.y());
360 static_cast<float>(new_bounds.width());
362 static_cast<float>(new_bounds.height());
363 in_transform.Translate(old_bounds.x() - new_bounds.x()
    [all...]
resize_shadow_controller.h 44 const gfx::Rect& new_bounds) OVERRIDE;
screen_dimmer.h 55 const gfx::Rect& new_bounds) OVERRIDE;
  /external/chromium_org/chrome/browser/ui/ash/
shelf_browsertest.cc 26 const gfx::Rect new_bounds(
31 browser()->window()->SetBounds(new_bounds);
  /external/chromium_org/ui/views/widget/
widget_observer.h 44 const gfx::Rect& new_bounds) {}
  /external/chromium_org/cc/resources/
picture_layer_tiling_set_unittest.cc 165 void SyncTilings(gfx::Size new_bounds,
174 *source_.get(), new_bounds, invalidation, minimum_scale);
176 void SyncTilings(gfx::Size new_bounds) {
178 SyncTilings(new_bounds, invalidation, 0.f);
180 void SyncTilings(gfx::Size new_bounds, const Region& invalidation) {
181 SyncTilings(new_bounds, invalidation, 0.f);
183 void SyncTilings(gfx::Size new_bounds, float minimum_scale) {
185 SyncTilings(new_bounds, invalidation, minimum_scale);
188 void VerifyTargetEqualsSource(gfx::Size new_bounds) const {
189 ASSERT_FALSE(new_bounds.IsEmpty())
263 gfx::Size new_bounds; local
    [all...]
  /external/chromium_org/apps/
shell_window_geometry_cache_unittest.cc 134 gfx::Rect new_bounds; local
138 extension_id, kWindowId, &new_bounds, &new_screen_bounds, &new_state));
139 ASSERT_EQ(bounds, new_bounds);
152 gfx::Rect new_bounds; local
156 extension_id, kWindowId, &new_bounds, &new_screen_bounds, &new_state));
157 ASSERT_TRUE(new_bounds.IsEmpty());
170 gfx::Rect new_bounds; local
174 extension_id, kWindowId, &new_bounds, &new_screen_bounds, &new_state));
175 ASSERT_TRUE(new_bounds.IsEmpty());
188 gfx::Rect new_bounds; local
214 gfx::Rect new_bounds; local
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/app_window/
app_window_apitest.cc 69 gfx::Rect new_bounds(100, 200, 300, 400);
70 new_bounds.Inset(-window->GetBaseWindow()->GetFrameInsets());
71 window->GetBaseWindow()->SetBounds(new_bounds);
  /external/chromium_org/content/browser/web_contents/aura/
image_window_delegate.cc 39 const gfx::Rect& new_bounds) {
40 window_size_ = new_bounds.size();
  /external/chromium_org/ui/message_center/views/
toast_contents_view.cc 125 void ToastContentsView::SetBoundsInstantly(gfx::Rect new_bounds) {
126 if (new_bounds == bounds())
129 origin_ = new_bounds.origin();
132 GetWidget()->SetBounds(new_bounds);
135 void ToastContentsView::SetBoundsWithAnimation(gfx::Rect new_bounds) {
136 if (new_bounds == bounds())
139 origin_ = new_bounds.origin();
148 animated_bounds_end_ = new_bounds;
  /external/chromium_org/ui/views/controls/menu/
display_change_listener_aura.cc 26 const gfx::Rect& new_bounds) OVERRIDE;
52 const gfx::Rect& new_bounds) {
  /external/chromium_org/chrome/browser/ui/views/frame/
browser_frame_aura.cc 71 const gfx::Rect& new_bounds) OVERRIDE {
78 if ((old_bounds.y() == 0 && new_bounds.y() != 0) ||
79 (old_bounds.y() != 0 && new_bounds.y() == 0))
  /external/chromium_org/chrome/browser/chromeos/ui/
focus_ring_controller.h 47 const gfx::Rect& new_bounds) OVERRIDE;
  /external/chromium_org/chrome/browser/ui/views/autofill/
autocheckout_bubble_views.h 43 const gfx::Rect& new_bounds) OVERRIDE;
  /external/chromium_org/ui/aura/test/
test_screen.cc 56 gfx::Rect new_bounds = gfx::ToNearestRect( local
58 display_.SetScaleAndBounds(display_.device_scale_factor(), new_bounds);
97 Window* window, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) {
99 display_.SetSize(new_bounds.size());
  /external/chromium_org/ui/aura/
window_delegate.h 44 const gfx::Rect& new_bounds) = 0;
  /external/chromium/chrome/browser/ui/panels/
panel_manager.cc 155 gfx::Rect new_bounds(active_panels_[dragging_panel_index_]->bounds());
156 new_bounds.set_x(new_bounds.x() + delta_x);
157 active_panels_[dragging_panel_index_]->SetBounds(new_bounds);
274 gfx::Rect new_bounds((*iter)->bounds());
275 ComputeBoundsForNextPanel(&new_bounds, false);
276 if (new_bounds != (*iter)->bounds())
277 (*iter)->SetBounds(new_bounds);

Completed in 559 milliseconds

1 2 3 4 5