Home
last modified time | relevance | path

Searched refs:bounds_in_parent (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/ash/wm/maximize_mode/
Dmaximize_mode_window_state.cc52 gfx::Rect GetCenteredBounds(const gfx::Rect& bounds_in_parent, in GetCenteredBounds() argument
56 work_area_in_parent.ClampToCenteredSize(bounds_in_parent.size()); in GetCenteredBounds()
65 gfx::Rect bounds_in_parent; in GetBoundsInMaximizedMode() local
68 bounds_in_parent.set_size(GetMaximumSizeOfWindow(state_object)); in GetBoundsInMaximizedMode()
74 bounds_in_parent = state_object->GetRestoreBoundsInParent(); in GetBoundsInMaximizedMode()
76 bounds_in_parent = state_object->window()->bounds(); in GetBoundsInMaximizedMode()
78 return GetCenteredBounds(bounds_in_parent, state_object); in GetBoundsInMaximizedMode()
86 gfx::Rect bounds_in_parent = GetBoundsInMaximizedMode(window_state); in UpdateWindowPosition() local
88 if (bounds_in_parent == window_state->window()->bounds()) in UpdateWindowPosition()
92 window_state->SetBoundsDirect(bounds_in_parent); in UpdateWindowPosition()
[all …]
/external/chromium_org/ash/wm/
Ddefault_state.cc493 gfx::Rect bounds_in_parent; in UpdateBoundsFromState() local
497 bounds_in_parent = state_type_ == WINDOW_STATE_TYPE_LEFT_SNAPPED ? in UpdateBoundsFromState()
506 bounds_in_parent = window_state->GetRestoreBoundsInParent(); in UpdateBoundsFromState()
508 bounds_in_parent = window->bounds(); in UpdateBoundsFromState()
511 work_area_in_parent, &bounds_in_parent); in UpdateBoundsFromState()
515 bounds_in_parent = ScreenUtil::GetMaximizedWindowBoundsInParent(window); in UpdateBoundsFromState()
519 bounds_in_parent = ScreenUtil::GetDisplayBoundsInParent(window); in UpdateBoundsFromState()
534 window_state->SetBoundsDirect(bounds_in_parent); in UpdateBoundsFromState()
537 window_state->SetBoundsDirectCrossFade(bounds_in_parent); in UpdateBoundsFromState()
541 window_state->SetBoundsDirect(bounds_in_parent); in UpdateBoundsFromState()
[all …]
Dwindow_state.cc325 gfx::Rect bounds_in_parent = in SetBoundsInScreen() local
328 window_->SetBounds(bounds_in_parent); in SetBoundsInScreen()
Dwindow_state.h157 void SetRestoreBoundsInParent(const gfx::Rect& bounds_in_parent);
/external/chromium_org/ash/wm/workspace/
Dworkspace_window_resizer.h161 const gfx::Rect& bounds_in_parent) const;
Dworkspace_window_resizer.cc1036 const gfx::Rect& bounds_in_parent) const { in AreBoundsValidSnappedBounds()
1042 snapped_bounds.set_x(snapped_bounds.right() - bounds_in_parent.width()); in AreBoundsValidSnappedBounds()
1043 snapped_bounds.set_width(bounds_in_parent.width()); in AreBoundsValidSnappedBounds()
1044 return bounds_in_parent == snapped_bounds; in AreBoundsValidSnappedBounds()