Searched refs:min_width (Results 1 - 25 of 44) sorted by relevance

12

/external/chromium_org/ash/wm/
H A Dwindow_util.cc171 int min_width,
177 min_width = std::min(min_width, visible_area.width());
180 if (bounds->x() + min_width > visible_area.right()) {
181 bounds->set_x(visible_area.right() - min_width);
182 } else if (bounds->right() - min_width < 0) {
183 bounds->set_x(min_width - bounds->width());
170 AdjustBoundsToEnsureWindowVisibility(const gfx::Rect& visible_area, int min_width, int min_height, gfx::Rect* bounds) argument
H A Dwindow_resizer.h130 int min_width,
H A Dwindow_resizer.cc354 int min_width,
364 if (width < min_width) {
365 width = min_width;
367 min_width);
353 GetWidthForDrag(const Details& details, int min_width, int* delta_x) argument
H A Dwindow_util.h118 // safety margin given by |min_width| and |min_height|.
121 int min_width,
/external/chromium_org/ui/views/bubble/
H A Dtray_bubble_view.h91 int min_width,
95 int min_width; member in struct:views::TrayBubbleView::InitParams
H A Dtray_bubble_view.cc245 int min_width,
249 min_width(min_width),
294 preferred_width_(init_params.min_width),
343 width = std::max(std::min(width, params_.max_width), params_.min_width);
243 InitParams(AnchorType anchor_type, AnchorAlignment anchor_alignment, int min_width, int max_width) argument
/external/chromium_org/ui/views/layout/
H A Dgrid_layout.h278 // column, and is only used if size_type == FIXED. min_width gives the
290 int min_width);
314 int min_width,
H A Dgrid_layout.cc163 int min_width,
172 min_width_(min_width),
397 int min_width) {
399 min_width, false);
421 int min_width,
424 fixed_width, min_width, columns_.size(),
158 Column(GridLayout::Alignment h_align, GridLayout::Alignment v_align, float resize_percent, GridLayout::SizeType size_type, int fixed_width, int min_width, size_t index, bool is_padding) argument
392 AddColumn(GridLayout::Alignment h_align, GridLayout::Alignment v_align, float resize_percent, GridLayout::SizeType size_type, int fixed_width, int min_width) argument
416 AddColumn(GridLayout::Alignment h_align, GridLayout::Alignment v_align, float resize_percent, GridLayout::SizeType size_type, int fixed_width, int min_width, bool is_padding) argument
/external/chromium_org/remoting/host/
H A Ddesktop_resizer_linux.cc201 int min_width = 0, min_height = 0, max_width = 0, max_height = 0; local
203 &min_width, &min_height,
205 int width = std::min(std::max(preferred.width(), min_width), max_width);
/external/chromium_org/chrome/browser/ui/views/extensions/
H A Dextension_dialog.h48 int min_width,
H A Dextension_dialog.cc55 int min_width,
64 host->view()->SetPreferredSize(gfx::Size(min_width, min_height));
48 Show( const GURL& url, ui::BaseWindow* base_window, Profile* profile, WebContents* web_contents, int width, int height, int min_width, int min_height, const string16& title, ExtensionDialogObserver* observer) argument
/external/chromium_org/ui/message_center/views/
H A Dmessage_center_bubble.cc83 init_params.min_width += kMarginBetweenItems * 2;
/external/chromium_org/content/browser/media/
H A Dwebrtc_browsertest.cc22 std::string GenerateGetUserMediaCall(int min_width, argument
32 min_width,
/external/chromium_org/ui/views/controls/button/
H A Dtext_button.h162 void set_min_width(int min_width) { min_width_ = min_width; } argument
/external/chromium_org/chrome/browser/ui/gtk/apps/
H A Dnative_app_window_gtk.cc92 int min_width = params.minimum_size.width(); local
98 if (min_width || min_height) {
100 hints.min_width = min_width;
/external/chromium_org/ash/wm/workspace/
H A Dworkspace_layout_manager.cc265 int min_width = bounds.width() * kMinimumPercentOnScreenArea; local
274 display_area, min_width, min_height, &bounds);
/external/chromium_org/chrome/browser/extensions/api/app_window/
H A Dapp_window_api.cc237 if (options->min_width.get())
238 minimum_size.set_width(*options->min_width);
/external/chromium_org/content/renderer/browser_plugin/
H A Dbrowser_plugin.cc213 int min_width; local
215 &min_width); local
216 return min_width;
239 int min_width = GetMinWidthAttribute(); local
242 min_width = min_width ? min_width : width();
244 return std::min(min_width, GetAdjustedMaxWidth());
/external/chromium/chrome/browser/ui/views/download/
H A Ddownload_item_view.cc1078 int min_width = -1; local
1104 if (min_width == -1)
1105 min_width = size.width();
1108 if (size.width() > min_width) {
1112 min_width = size.width();
1122 if (min_width == -1)
/external/chromium_org/ash/system/user/
H A Dtray_user.cc536 int min_width = std::max( local
548 while (min_width < max_width) {
550 const int width = (min_width + max_width) / 2;
560 min_width = width + 1;
568 text_, font, min_width, INT_MAX, ui::TRUNCATE_LONG_WORDS, &lines);
570 if (min_width - font.GetStringWidth(lines.back()) <=
578 min_width + insets.width(),
/external/chromium/chrome/browser/ui/views/frame/
H A Dbrowser_view_layout.cc84 int min_width = *std::max_element(&widths[0], &widths[arraysize(widths)]); local
85 return gfx::Size(min_width, min_height);
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dbrowser_view_layout.cc195 int min_width = *std::max_element(&widths[0], &widths[arraysize(widths)]); local
196 return gfx::Size(min_width, min_height);
/external/chromium_org/chrome/browser/ui/views/download/
H A Ddownload_item_view.cc1181 int min_width = size.width(); local
1188 while (iter.Advance() && min_width > kDangerousTextWidth) {
1205 if (size.width() > min_width) {
1209 min_width = size.width();
/external/qemu/android/camera/
H A Dcamera-capture-linux.c583 (size_enum.stepwise.max_width - size_enum.stepwise.min_width) /
626 for (w = size_enum.stepwise.min_width;
640 arr[out_num].width = size_enum.stepwise.min_width;
645 (size_enum.stepwise.min_width + size_enum.stepwise.max_width) / 2;
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
H A DSDL_sysyuv.cc74 if ((r.source.min_width > width) ||

Completed in 620 milliseconds

12