Searched refs:target_bounds (Results 1 - 25 of 31) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/panels/
H A Dpanel_drag_controller.cc282 gfx::Rect target_bounds(target_position, dragging_panel_->GetBounds().size());
287 GetDisplayAreaMatching(target_bounds);
289 GetWorkAreaMatching(target_bounds);
308 gfx::Rect target_bounds(target_position, dragging_panel_->full_size());
313 GetWorkAreaMatching(target_bounds);
316 dock_work_area.bottom() - target_bounds.bottom() <
322 dragging_panel_->SetPanelBoundsInstantly(target_bounds);
335 gfx::Rect target_bounds(target_position, dragging_panel_->GetBounds().size());
341 GetWorkAreaMatching(target_bounds);
344 dock_work_area.bottom() - target_bounds
359 gfx::Rect target_bounds; local
439 gfx::Rect target_bounds = last_panel_to_unstack->GetBounds(); local
647 FindPanelToGlue( const gfx::Point& potential_position, GlueAction action, gfx::Rect* target_bounds, GlueEdge* target_edge) const argument
[all...]
H A Dpanel_drag_controller.h72 // snap to or stack with. If such panel is found, |target_bounds| contains the
77 gfx::Rect* target_bounds,
/external/chromium_org/ash/wm/overview/
H A Dwindow_selector_item.h68 // Sets the bounds of this window selector item to |target_bounds| in the
71 const gfx::Rect& target_bounds,
88 const gfx::Rect& target_bounds() const { return target_bounds_; } function in class:ash::WindowSelectorItem
98 // Sets the bounds of this selector's items to |target_bounds| in
102 const gfx::Rect& target_bounds,
123 void UpdateWindowLabels(const gfx::Rect& target_bounds,
H A Dwindow_selector_window.cc66 const gfx::Rect& target_bounds,
70 ShrinkRectToFitPreservingAspectRatio(src_rect, target_bounds));
65 SetItemBounds(aura::Window* root_window, const gfx::Rect& target_bounds, bool animate) argument
H A Dwindow_selector_item.cc102 const gfx::Rect& target_bounds,
108 target_bounds_ = target_bounds;
116 activate_window_button_->SetBounds(target_bounds);
118 UpdateWindowLabels(target_bounds, root_window, animate);
120 gfx::Rect inset_bounds(target_bounds);
167 gfx::Rect target_bounds = ToEnclosingRect(align_bounds); local
170 close_button_transform.Translate(target_bounds.right(), target_bounds.y());
101 SetBounds(aura::Window* root_window, const gfx::Rect& target_bounds, bool animate) argument
H A Dwindow_grid.cc221 gfx::Rect target_bounds(window_size.width() * column + x_offset,
225 window_list_[i]->SetBounds(root_window_, target_bounds, animate);
411 const gfx::Rect target_bounds = SelectedWindow()->target_bounds(); local
413 GetSlideVectorForFadeIn(direction, target_bounds);
415 GetDisplayMatching(target_bounds);
417 target_bounds - fade_out_direction, dst_display);
472 selection_widget_->SetBounds(SelectedWindow()->target_bounds());
476 selection_widget_->SetBounds(SelectedWindow()->target_bounds());
H A Dwindow_selector_panels.h40 const gfx::Rect& target_bounds,
H A Dwindow_selector_window.h40 const gfx::Rect& target_bounds,
/external/chromium_org/ash/shelf/
H A Dshelf_layout_manager.cc282 TargetBounds target_bounds; local
283 CalculateTargetBounds(state_, &target_bounds);
284 UpdateBoundsAndOpacity(target_bounds, false, NULL);
294 target_bounds.shelf_bounds_in_shelf);
633 TargetBounds target_bounds; local
634 CalculateTargetBounds(state_, &target_bounds);
635 UpdateBoundsAndOpacity(target_bounds, true,
650 const TargetBounds& target_bounds,
680 GetLayer(shelf_)->SetOpacity(target_bounds.opacity);
683 target_bounds
649 UpdateBoundsAndOpacity( const TargetBounds& target_bounds, bool animate, ui::ImplicitAnimationObserver* observer) argument
752 CalculateTargetBounds( const State& state, TargetBounds* target_bounds) argument
1150 TargetBounds target_bounds; local
[all...]
H A Dshelf_layout_manager.h269 void UpdateBoundsAndOpacity(const TargetBounds& target_bounds,
284 void CalculateTargetBounds(const State& state, TargetBounds* target_bounds);
288 void UpdateTargetBoundsForGesture(TargetBounds* target_bounds) const;
/external/chromium_org/ash/wm/
H A Dsystem_modal_container_layout_manager.cc226 gfx::Rect target_bounds = window->bounds(); local
227 target_bounds.AdjustToFit(GetUsableDialogArea());
228 window->SetBounds(target_bounds);
267 gfx::Rect target_bounds; local
271 target_bounds = usable_area;
272 target_bounds.ClampToCenteredSize(window->bounds().size());
275 target_bounds = window->bounds();
276 target_bounds.AdjustToFit(usable_area);
282 target_bounds.set_size(window->bounds().size());
284 return target_bounds;
[all...]
H A Dwindow_animations.cc102 gfx::Rect target_bounds = GetMinimizeAnimationTargetBoundsInScreen(window); local
103 target_bounds =
104 ScreenUtil::ConvertRectFromScreen(window->parent(), target_bounds);
106 float scale_x = static_cast<float>(target_bounds.width()) / bounds.width();
107 float scale_y = static_cast<float>(target_bounds.height()) / bounds.height();
116 gfx::Point(target_bounds.x() - bounds.x(),
117 target_bounds.y() - bounds.y())));
H A Dlock_layout_manager_unittest.cc241 gfx::Rect target_bounds(screen_bounds);
242 target_bounds.set_height(target_bounds.height() -
244 EXPECT_EQ(target_bounds.ToString(), window->GetBoundsInScreen().ToString());
H A Dapp_list_controller.cc336 gfx::Rect target_bounds; local
338 target_bounds = widget->GetWindowBoundsInScreen();
339 widget->SetBounds(OffsetTowardsShelf(target_bounds, widget));
341 target_bounds = OffsetTowardsShelf(widget->GetWindowBoundsInScreen(),
352 widget->SetBounds(target_bounds);
/external/chromium_org/ui/gfx/animation/
H A Danimation.cc73 const gfx::Rect& target_bounds) const {
75 GetCurrentValue(), start_bounds, target_bounds);
H A Dtween.cc158 const gfx::Rect& target_bounds) {
160 LinearIntValueBetween(value, start_bounds.x(), target_bounds.x()),
161 LinearIntValueBetween(value, start_bounds.y(), target_bounds.y()),
162 LinearIntValueBetween(value, start_bounds.width(), target_bounds.width()),
164 value, start_bounds.height(), target_bounds.height()));
156 RectValueBetween(double value, const gfx::Rect& start_bounds, const gfx::Rect& target_bounds) argument
H A Dtween.h57 const gfx::Rect& target_bounds);
H A Danimation.h48 const gfx::Rect& target_bounds) const;
/external/chromium_org/ui/views/animation/
H A Dbounds_animator_unittest.cc115 gfx::Rect target_bounds(10, 10, 20, 20);
116 animator()->AnimateViewTo(child(), target_bounds); local
128 EXPECT_EQ(target_bounds, child()->bounds());
132 EXPECT_EQ(gfx::UnionRects(target_bounds, initial_bounds),
H A Dbounds_animator.cc63 data.target_bounds = target;
79 data_[view].target_bounds = target;
85 return data_[view].target_bounds;
233 animation->CurrentValueBetween(data.start_bounds, data.target_bounds);
/external/chromium_org/ui/compositor/
H A Dlayer_animator_unittest.cc231 gfx::Rect target_bounds(0, 0, 50, 50);
233 animator->SetBounds(target_bounds);
239 CheckApproximatelyEqual(delegate.GetBoundsForAnimation(), target_bounds);
251 gfx::Rect target_bounds(0, 0, 50, 50);
253 animator->SetBounds(target_bounds);
258 CheckApproximatelyEqual(delegate.GetBoundsForAnimation(), target_bounds);
274 gfx::Rect target_bounds(0, 0, 50, 50);
276 animator->SetBounds(target_bounds);
383 gfx::Rect start_bounds, target_bounds, middle_bounds; local
384 start_bounds = target_bounds
435 gfx::Rect start_bounds, target_bounds, middle_bounds; local
553 gfx::Rect start_bounds, target_bounds, middle_bounds; local
631 gfx::Rect start_bounds, target_bounds, middle_bounds; local
[all...]
/external/chromium_org/ui/views/window/
H A Dcustom_frame_view.cc512 gfx::Rect target_bounds(gfx::Point(next_button_x, caption_y),
515 target_bounds.set_width(target_bounds.width() + extra_width);
516 LayoutButton(button, target_bounds);
528 gfx::Rect target_bounds(gfx::Point(next_button_x, caption_y),
531 target_bounds.set_width(target_bounds.width() + extra_width);
532 target_bounds.Offset(-target_bounds.width(), 0);
533 LayoutButton(button, target_bounds);
[all...]
/external/chromium_org/ui/gfx/
H A Dinterpolated_transform_unittest.cc178 gfx::Rect target_bounds(0, 0, 1920, 1080);
182 target_bounds.height()) / initial_bounds.width();
184 target_bounds.width()) / initial_bounds.height();
193 gfx::Point(target_bounds.x() - initial_bounds.x(),
194 target_bounds.y() - initial_bounds.y())));
/external/chromium_org/chrome/browser/extensions/
H A Ddisplay_info_provider_chromeos.cc350 gfx::Rect target_bounds = target.bounds(); local
351 target_bounds.Offset(new_bounds_origin.x() - target.bounds().x(),
354 primary.bounds(), primary.id(), target_bounds, target.id());
/external/chromium_org/ui/app_list/views/
H A Dapp_list_item_view.h80 // Returns the icon bounds for the given |target_bounds| as
82 gfx::Rect GetIconBoundsForTargetViewBounds(const gfx::Rect& target_bounds);

Completed in 304 milliseconds

12