Home
last modified time | relevance | path

Searched refs:GetPrimaryAxisSize (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/ui/views/controls/
Dsingle_split_view.cc118 divider_at = GetPrimaryAxisSize(bounds.width(), bounds.height()); in CalculateChildrenBounds()
150 drag_info_.initial_mouse_offset = GetPrimaryAxisSize(event.x(), event.y()); in OnMousePressed()
160 int delta_offset = GetPrimaryAxisSize(event.x(), event.y()) - in OnMouseDragged()
166 int new_size = std::max(GetPrimaryAxisSize(min.width(), min.height()), in OnMouseDragged()
172 new_size = std::min(GetPrimaryAxisSize() - kDividerSize - in OnMouseDragged()
173 GetPrimaryAxisSize(min.width(), min.height()), new_size); in OnMouseDragged()
245 int primary_axis_size = GetPrimaryAxisSize(bounds.width(), bounds.height()); in NormalizeDividerOffset()
Dsingle_split_view.h107 int GetPrimaryAxisSize() const { in GetPrimaryAxisSize() function
108 return GetPrimaryAxisSize(width(), height()); in GetPrimaryAxisSize()
111 int GetPrimaryAxisSize(int h, int v) const { in GetPrimaryAxisSize() function