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