Home
last modified time | relevance | path

Searched refs:top_height (Results 1 – 12 of 12) sorted by relevance

/external/chromium/chrome/browser/chromeos/frame/
Dbubble_frame_view.cc112 int top_height = insets.top(); in GetWindowBoundsForClientBounds() local
116 top_height += kTitleContentPadding + std::max( in GetWindowBoundsForClientBounds()
121 std::max(0, client_bounds.y() - top_height), in GetWindowBoundsForClientBounds()
123 client_bounds.height() + top_height + insets.bottom()); in GetWindowBoundsForClientBounds()
195 int top_height = insets.top(); in Layout() local
199 top_height += kTitleContentPadding + std::max( in Layout()
203 client_view_bounds_.SetRect(insets.left(), top_height, in Layout()
205 std::max(0, height() - top_height - insets.bottom())); in Layout()
/external/chromium_org/ui/message_center/views/
Dgroup_view.cc197 int top_height = top_view_->GetHeightForWidth(content_width); in GetHeightForWidth() local
199 int content_height = std::max(top_height, kIconSize) + bottom_height; in GetHeightForWidth()
220 int top_height = top_view_->GetHeightForWidth(content_width); in Layout() local
221 top_view_->SetBounds(insets.left(), insets.top(), content_width, top_height); in Layout()
227 int bottom_y = insets.top() + std::max(top_height, kIconSize); in Layout()
Dnotification_view.cc490 int top_height = top_view_->GetHeightForWidth(content_width); in GetHeightForWidth() local
500 top_height -= GetMessageHeight(content_width, used_limit); in GetHeightForWidth()
501 top_height += GetMessageHeight(content_width, correct_limit); in GetHeightForWidth()
505 int content_height = std::max(top_height, kIconSize) + bottom_height; in GetHeightForWidth()
530 int top_height = top_view_->GetHeightForWidth(content_width); in Layout() local
531 top_view_->SetBounds(insets.left(), insets.top(), content_width, top_height); in Layout()
537 int bottom_y = insets.top() + std::max(top_height, kIconSize); in Layout()
/external/chromium/chrome/browser/ui/views/frame/
Dapp_panel_browser_frame_view.cc137 int top_height = NonClientTopBorderHeight(); in GetWindowBoundsForClientBounds() local
140 std::max(0, client_bounds.y() - top_height), in GetWindowBoundsForClientBounds()
142 client_bounds.height() + top_height + border_thickness); in GetWindowBoundsForClientBounds()
507 int top_height = NonClientTopBorderHeight(); in CalculateClientAreaBounds() local
509 return gfx::Rect(border_thickness, top_height, in CalculateClientAreaBounds()
511 std::max(0, height - top_height - border_thickness)); in CalculateClientAreaBounds()
Dglass_browser_frame_view.cc191 int top_height = NonClientTopBorderHeight(false, false); in GetWindowBoundsForClientBounds() local
194 std::max(0, client_bounds.y() - top_height), in GetWindowBoundsForClientBounds()
196 client_bounds.height() + top_height + border_thickness); in GetWindowBoundsForClientBounds()
549 int top_height = NonClientTopBorderHeight(false, false); in CalculateClientAreaBounds() local
551 return gfx::Rect(border_thickness, top_height, in CalculateClientAreaBounds()
553 std::max(0, height - top_height - border_thickness)); in CalculateClientAreaBounds()
Dopaque_browser_frame_view.cc297 int top_height = NonClientTopBorderHeight(false, false); in GetWindowBoundsForClientBounds() local
300 std::max(0, client_bounds.y() - top_height), in GetWindowBoundsForClientBounds()
302 client_bounds.height() + top_height + border_thickness); in GetWindowBoundsForClientBounds()
1095 int top_height = NonClientTopBorderHeight(false, false); in CalculateClientAreaBounds() local
1097 return gfx::Rect(border_thickness, top_height, in CalculateClientAreaBounds()
1100 top_height - border_thickness)); in CalculateClientAreaBounds()
/external/chromium_org/chrome/browser/ui/views/frame/
Dapp_panel_browser_frame_view.cc136 int top_height = NonClientTopBorderHeight(); in GetWindowBoundsForClientBounds() local
139 std::max(0, client_bounds.y() - top_height), in GetWindowBoundsForClientBounds()
141 client_bounds.height() + top_height + border_thickness); in GetWindowBoundsForClientBounds()
509 int top_height = NonClientTopBorderHeight(); in CalculateClientAreaBounds() local
511 return gfx::Rect(border_thickness, top_height, in CalculateClientAreaBounds()
513 std::max(0, height - top_height - border_thickness)); in CalculateClientAreaBounds()
Dopaque_browser_frame_view_layout.cc188 int top_height = NonClientTopBorderHeight(false); in GetWindowBoundsForClientBounds() local
191 std::max(0, client_bounds.y() - top_height), in GetWindowBoundsForClientBounds()
193 client_bounds.height() + top_height + border_thickness); in GetWindowBoundsForClientBounds()
251 int top_height = NonClientTopBorderHeight(false); in CalculateClientAreaBounds() local
253 return gfx::Rect(border_thickness, top_height, in CalculateClientAreaBounds()
255 std::max(0, height - top_height - border_thickness)); in CalculateClientAreaBounds()
Dglass_browser_frame_view.cc499 const int top_height = NonClientTopBorderHeight(); in GetClientAreaInsets() local
501 return gfx::Insets(top_height, in GetClientAreaInsets()
/external/chromium/chrome/browser/ui/views/
Dconstrained_window_views.cc309 int top_height = NonClientTopBorderHeight(); in GetWindowBoundsForClientBounds() local
312 std::max(0, client_bounds.y() - top_height), in GetWindowBoundsForClientBounds()
314 client_bounds.height() + top_height + border_thickness); in GetWindowBoundsForClientBounds()
543 int top_height = NonClientTopBorderHeight(); in CalculateClientAreaBounds() local
545 return gfx::Rect(border_thickness, top_height, in CalculateClientAreaBounds()
547 std::max(0, height - top_height - border_thickness)); in CalculateClientAreaBounds()
/external/chromium_org/ui/views/window/
Dcustom_frame_view.cc138 int top_height = NonClientTopBorderHeight(); in GetWindowBoundsForClientBounds() local
141 std::max(0, client_bounds.y() - top_height), in GetWindowBoundsForClientBounds()
143 client_bounds.height() + top_height + border_thickness); in GetWindowBoundsForClientBounds()
552 int top_height = NonClientTopBorderHeight(); in LayoutClientView() local
554 client_view_bounds_.SetRect(border_thickness, top_height, in LayoutClientView()
556 std::max(0, height() - top_height - border_thickness)); in LayoutClientView()
/external/chromium_org/ash/wm/
Dcustom_frame_view_ash.cc421 int top_height = NonClientTopBorderHeight(); in GetBoundsForClientView() local
422 return HeaderPainter::GetBoundsForClientView(top_height, bounds()); in GetBoundsForClientView()
427 int top_height = NonClientTopBorderHeight(); in GetWindowBoundsForClientBounds() local
428 return HeaderPainter::GetWindowBoundsForClientBounds(top_height, in GetWindowBoundsForClientBounds()