/external/chromium/chrome/browser/chromeos/frame/ |
D | bubble_frame_view.cc | 112 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/ |
D | group_view.cc | 197 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()
|
D | notification_view.cc | 490 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/ |
D | app_panel_browser_frame_view.cc | 137 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()
|
D | glass_browser_frame_view.cc | 191 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()
|
D | opaque_browser_frame_view.cc | 297 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/ |
D | app_panel_browser_frame_view.cc | 136 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()
|
D | opaque_browser_frame_view_layout.cc | 188 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()
|
D | glass_browser_frame_view.cc | 499 const int top_height = NonClientTopBorderHeight(); in GetClientAreaInsets() local 501 return gfx::Insets(top_height, in GetClientAreaInsets()
|
/external/chromium/chrome/browser/ui/views/ |
D | constrained_window_views.cc | 309 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/ |
D | custom_frame_view.cc | 138 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/ |
D | custom_frame_view_ash.cc | 421 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()
|