/external/chromium/chrome/browser/ui/views/infobars/ |
H A D | link_infobar.cc | 34 int available_width = EndX() - StartX(); local 36 std::min(label_1_size.width(), available_width), label_1_size.height()); 37 available_width = std::max(0, available_width - label_1_size.width()); 41 std::min(link_size.width(), available_width), link_size.height()); 42 available_width = std::max(0, available_width - link_size.width()); 46 std::min(label_2_size.width(), available_width), label_2_size.height());
|
H A D | before_translate_infobar.cc | 38 int available_width = std::max(0, EndX() - StartX() - ContentMinimumWidth()); local 41 std::min(label_1_size.width(), available_width), label_1_size.height()); 42 available_width = std::max(0, available_width - label_1_size.width()); 53 OffsetY(label_2_size), std::min(label_2_size.width(), available_width),
|
H A D | confirm_infobar.cc | 34 int available_width = std::max(0, EndX() - StartX() - ContentMinimumWidth()); local 37 std::min(label_size.width(), available_width), label_size.height()); 38 available_width = std::max(0, available_width - label_size.width()); 56 int link_width = std::min(link_size.width(), available_width);
|
H A D | after_translate_infobar.cc | 40 int available_width = std::max(0, EndX() - StartX() - ContentMinimumWidth()); local 43 std::min(label_1_size.width(), available_width), label_1_size.height()); 44 available_width = std::max(0, available_width - label_1_size.width()); 57 OffsetY(label_2_size), std::min(label_2_size.width(), available_width), 59 available_width = std::max(0, available_width - label_2_size.width()); 68 OffsetY(label_3_size), std::min(label_3_size.width(), available_width),
|
/external/chromium/chrome/browser/speech/ |
H A D | speech_input_bubble_views.cc | 200 int available_width = width() - kBubbleHorizMargin * 2; local 210 x += (available_width - cancel_width - try_again_width - 216 control_height = message_->GetHeightForWidth(available_width); 218 available_width, control_height); 222 mic_settings_->SetBounds(kBubbleHorizMargin, y, available_width, 230 icon_->SetBounds(x, y, available_width, control_height); 235 heading_->SetBounds(x, y, available_width, control_height); 242 cancel_->SetBounds(x + (available_width - width) / 2, y, width,
|
/external/chromium/chrome/browser/ui/views/download/ |
H A D | download_shelf_view.cc | 338 int available_width = width() - kRightPadding - close_button_size.width() - local 341 if (available_width <= 0) 345 return item_size.width() < available_width;
|
/external/chromium/chrome/browser/ui/views/ |
H A D | toolbar_view.cc | 481 int available_width = width() - kEdgeSpacing - app_menu_width - local 484 location_bar_->SetBounds(location_x, child_y, std::max(available_width, 0),
|
/external/chromium/chrome/browser/ui/views/tabs/ |
H A D | tab_strip.cc | 623 int available_width; local 625 available_width = width(); 626 available_width -= (kNewTabButtonHOffset + newtab_button_bounds_.width()); 637 available_width = available_width_for_tabs_; 641 available_width -= mini_tab_count * (Tab::GetMiniWidth() + kTabHOffset); 648 available_width -= mini_to_non_mini_gap_; 656 available_width - total_offset) / static_cast<double>(tab_count)), 675 available_width - total_offset - min_selected_width) / 680 *selected_width = std::max(available_width - total_offset -
|
/external/chromium/chrome/browser/ui/gtk/ |
H A D | location_bar_view_gtk.cc | 1161 int available_width = entry_box_width_ - text_width - kInnerPadding; local 1188 } else if (full_box_width >= available_width) { 1192 } else if (full_box_width < available_width) { 1206 } else if (full_width >= available_width) { 1210 } else if (full_width < available_width) {
|
/external/chromium/chrome/browser/ui/views/location_bar/ |
H A D | location_bar_view.cc | 535 const int available_width = AvailableWidth(max_edit_width); local 614 LayoutView(selected_keyword_view_, kItemEditPadding, available_width, 626 LayoutView(keyword_hint_view_, kItemEditPadding, available_width, false, 863 int available_width, 868 if ((view_size.width() + padding) > available_width) 861 LayoutView(views::View* view, int padding, int available_width, bool leading, gfx::Rect* bounds) argument
|
/external/chromium/chrome/browser/ui/gtk/tabs/ |
H A D | tab_strip_gtk.cc | 1394 int available_width = tabstrip_->allocation.width; local 1396 available_width = bounds_.width(); 1397 available_width -= 1409 available_width = available_width_for_tabs_; 1413 available_width -= mini_tab_count * (TabGtk::GetMiniWidth() + kTabHOffset); 1420 available_width -= mini_to_non_mini_gap_; 1428 (static_cast<double>(available_width - total_offset) / 1449 available_width - total_offset - min_selected_width) / 1454 *selected_width = std::max(available_width - total_offset -
|
/external/webkit/Source/WebKit/efl/ewk/ |
H A D | ewk_view.cpp | 1015 int available_width = (int) priv->page->chrome()->client()->pageRect().width(); local 1021 WebCore::IntSize available_size = WebCore::IntSize(available_width, available_height);
|