/external/chromium/chrome/browser/ui/views/infobars/ |
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());
|
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),
|
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);
|
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/ |
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/ |
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/ |
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/location_bar/ |
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) [all...] |
/external/chromium/chrome/browser/ui/views/tabs/ |
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 - [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
location_bar_view_gtk.cc | 1161 int available_width = entry_box_width_ - text_width - kInnerPadding; local [all...] |
/external/chromium/chrome/browser/ui/gtk/tabs/ |
tab_strip_gtk.cc | 1394 int available_width = tabstrip_->allocation.width; local [all...] |
/external/webkit/Source/WebKit/efl/ewk/ |
ewk_view.cpp | 1015 int available_width = (int) priv->page->chrome()->client()->pageRect().width(); local [all...] |