Searched refs:top_height (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/cc/layers/
H A Dnine_patch_layer_impl.cc80 int top_height = image_aperture_.y(); local
96 int corner_total_height = top_height + bottom_height;
100 static_cast<float>(top_height) / corner_total_height;
102 top_height += top_height_crop;
103 bottom_height = bounds().height() - top_height;
108 gfx::Rect top_left(0, 0, left_width, top_height);
110 bounds().width() - right_width, 0, right_width, top_height);
115 gfx::Rect top(top_left.right(), 0, middle_width, top_height);
130 top_height,
136 top_height,
[all...]
/external/chromium/chrome/browser/chromeos/frame/
H A Dbubble_frame_view.cc112 int top_height = insets.top(); local
116 top_height += kTitleContentPadding + std::max(
121 std::max(0, client_bounds.y() - top_height),
123 client_bounds.height() + top_height + insets.bottom());
195 int top_height = insets.top(); local
199 top_height += kTitleContentPadding + std::max(
203 client_view_bounds_.SetRect(insets.left(), top_height,
205 std::max(0, height() - top_height - insets.bottom()));
/external/chromium_org/ash/wm/
H A Dcustom_frame_view_ash.cc81 int top_height = NonClientTopBorderHeight(); local
82 return frame_painter_->GetBoundsForClientView(top_height,
88 int top_height = NonClientTopBorderHeight(); local
89 return frame_painter_->GetWindowBoundsForClientBounds(top_height,
H A Dframe_painter.h83 gfx::Rect GetBoundsForClientView(int top_height,
86 int top_height,
H A Dframe_painter.cc301 int top_height,
305 top_height,
307 std::max(0, window_bounds.height() - top_height - kBorderThickness));
311 int top_height,
314 std::max(0, client_bounds.y() - top_height),
316 client_bounds.height() + top_height + kBorderThickness);
300 GetBoundsForClientView( int top_height, const gfx::Rect& window_bounds) const argument
310 GetWindowBoundsForClientBounds( int top_height, const gfx::Rect& client_bounds) const argument
/external/chromium/chrome/browser/ui/views/
H A Dconstrained_window_views.cc309 int top_height = NonClientTopBorderHeight(); local
312 std::max(0, client_bounds.y() - top_height),
314 client_bounds.height() + top_height + border_thickness);
543 int top_height = NonClientTopBorderHeight(); local
545 return gfx::Rect(border_thickness, top_height,
547 std::max(0, height - top_height - border_thickness));
/external/chromium/chrome/browser/ui/views/frame/
H A Dapp_panel_browser_frame_view.cc137 int top_height = NonClientTopBorderHeight(); local
140 std::max(0, client_bounds.y() - top_height),
142 client_bounds.height() + top_height + border_thickness);
507 int top_height = NonClientTopBorderHeight(); local
509 return gfx::Rect(border_thickness, top_height,
511 std::max(0, height - top_height - border_thickness));
H A Dglass_browser_frame_view.cc191 int top_height = NonClientTopBorderHeight(false, false); local
194 std::max(0, client_bounds.y() - top_height),
196 client_bounds.height() + top_height + border_thickness);
549 int top_height = NonClientTopBorderHeight(false, false); local
551 return gfx::Rect(border_thickness, top_height,
553 std::max(0, height - top_height - border_thickness));
H A Dopaque_browser_frame_view.cc297 int top_height = NonClientTopBorderHeight(false, false); local
300 std::max(0, client_bounds.y() - top_height),
302 client_bounds.height() + top_height + border_thickness);
1095 int top_height = NonClientTopBorderHeight(false, false); local
1097 return gfx::Rect(border_thickness, top_height,
1100 top_height - border_thickness));
/external/chromium_org/chrome/browser/ui/views/
H A Dconstrained_window_views.cc406 int top_height = NonClientTopBorderHeight(); local
409 std::max(0, client_bounds.y() - top_height),
411 client_bounds.height() + top_height + border_thickness);
583 int top_height = NonClientTopBorderHeight(); local
585 return gfx::Rect(border_thickness, top_height,
587 std::max(0, height - top_height - border_thickness));
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dapp_panel_browser_frame_view.cc138 int top_height = NonClientTopBorderHeight(); local
141 std::max(0, client_bounds.y() - top_height),
143 client_bounds.height() + top_height + border_thickness);
511 int top_height = NonClientTopBorderHeight(); local
513 return gfx::Rect(border_thickness, top_height,
515 std::max(0, height - top_height - border_thickness));
H A Dbrowser_non_client_frame_view_ash.cc160 int top_height = NonClientTopBorderHeight(false); local
161 return frame_painter_->GetBoundsForClientView(top_height, bounds());
166 int top_height = NonClientTopBorderHeight(false); local
167 return frame_painter_->GetWindowBoundsForClientBounds(top_height,
H A Dopaque_browser_frame_view.cc318 int top_height = NonClientTopBorderHeight(false); local
321 std::max(0, client_bounds.y() - top_height),
323 client_bounds.height() + top_height + border_thickness);
1093 int top_height = NonClientTopBorderHeight(false); local
1095 return gfx::Rect(border_thickness, top_height,
1098 top_height - border_thickness));
H A Dglass_browser_frame_view.cc434 const int top_height = NonClientTopBorderHeight(false); local
436 return gfx::Insets(top_height,
/external/chromium_org/ui/views/window/
H A Dcustom_frame_view.cc145 int top_height = NonClientTopBorderHeight(); local
148 std::max(0, client_bounds.y() - top_height),
150 client_bounds.height() + top_height + border_thickness);
548 int top_height = NonClientTopBorderHeight(); local
550 client_view_bounds_.SetRect(border_thickness, top_height,
552 std::max(0, height() - top_height - border_thickness));
/external/chromium_org/ui/message_center/views/
H A Dnotification_view.cc590 int top_height = top_view_->GetHeightForWidth(content_width); local
592 int content_height = std::max(top_height, kIconSize) + bottom_height;
629 int top_height = top_view_->GetHeightForWidth(content_width); local
630 top_view_->SetBounds(insets.left(), insets.top(), content_width, top_height);
636 int bottom_y = insets.top() + std::max(top_height, kIconSize);

Completed in 163 milliseconds