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

1 2

  /external/chromium_org/chrome/browser/ui/panels/
panel_drag_controller.cc 282 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.bottom()
359 gfx::Rect target_bounds; local
439 gfx::Rect target_bounds = last_panel_to_unstack->GetBounds(); local
    [all...]
panel_drag_controller.h 72 // 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/
window_selector_item.h 68 // 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,
window_selector_window.cc 66 const gfx::Rect& target_bounds,
70 ShrinkRectToFitPreservingAspectRatio(src_rect, target_bounds));
window_selector_panels.h 40 const gfx::Rect& target_bounds,
window_selector_window.h 40 const gfx::Rect& target_bounds,
window_selector_item.cc 102 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());
window_grid.cc 221 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());
  /external/chromium_org/ash/shelf/
shelf_layout_manager.cc 282 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.shelf_bounds_in_root))
1150 TargetBounds target_bounds; local
    [all...]
shelf_layout_manager.h 269 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/
system_modal_container_layout_manager.cc 226 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...]
lock_layout_manager_unittest.cc 241 gfx::Rect target_bounds(screen_bounds);
242 target_bounds.set_height(target_bounds.height() -
244 EXPECT_EQ(target_bounds.ToString(), window->GetBoundsInScreen().ToString());
app_list_controller.cc 336 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);
window_animations.cc 102 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())));
  /external/chromium_org/ui/gfx/animation/
animation.cc 73 const gfx::Rect& target_bounds) const {
75 GetCurrentValue(), start_bounds, target_bounds);
tween.cc 158 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()));
tween.h 57 const gfx::Rect& target_bounds);
animation.h 48 const gfx::Rect& target_bounds) const;
  /external/chromium_org/ui/views/animation/
bounds_animator_unittest.cc 115 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),
bounds_animator.cc 63 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/
layer_animator_unittest.cc 231 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 = middle_bounds = gfx::Rect(0, 0, 50, 50)
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/
custom_frame_view.cc 512 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/
interpolated_transform_unittest.cc 178 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/
display_info_provider_chromeos.cc 350 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/
app_list_item_view.h 80 // Returns the icon bounds for the given |target_bounds| as
82 gfx::Rect GetIconBoundsForTargetViewBounds(const gfx::Rect& target_bounds);

Completed in 318 milliseconds

1 2