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

/external/chromium_org/printing/
H A Dpage_size_margins.h19 double content_width; member in struct:printing::PageSizeMargins
/external/chromium_org/ui/message_center/views/
H A Dgroup_view.cc196 int content_width = width - GetInsets().width(); local
197 int top_height = top_view_->GetHeightForWidth(content_width);
198 int bottom_height = bottom_view_->GetHeightForWidth(content_width);
212 int content_width = width() - insets.width(); local
217 content_width, height() - insets.height());
220 int top_height = top_view_->GetHeightForWidth(content_width);
221 top_view_->SetBounds(insets.left(), insets.top(), content_width, top_height);
228 int bottom_height = bottom_view_->GetHeightForWidth(content_width);
230 content_width, bottom_height);
H A Dnotification_view.cc489 int content_width = width - GetInsets().width(); local
490 int top_height = top_view_->GetHeightForWidth(content_width);
491 int bottom_height = bottom_view_->GetHeightForWidth(content_width);
500 top_height -= GetMessageHeight(content_width, used_limit);
501 top_height += GetMessageHeight(content_width, correct_limit);
518 int content_width = width() - insets.width(); local
527 content_width, height() - insets.height());
530 int top_height = top_view_->GetHeightForWidth(content_width);
531 top_view_->SetBounds(insets.left(), insets.top(), content_width, top_height);
538 int bottom_height = bottom_view_->GetHeightForWidth(content_width);
[all...]
H A Dnotifier_settings_view.cc168 int content_width = width(); local
169 int content_height = content->GetHeightForWidth(content_width);
171 content->SetBounds(0, y, content_width, content_height);
649 int content_width = width(); local
650 int content_height = contents_view->GetHeightForWidth(content_width);
652 content_width -= scroller_->GetScrollBarWidth();
653 content_height = contents_view->GetHeightForWidth(content_width);
655 contents_view->SetBounds(0, 0, content_width, content_height);
H A Dmessage_center_view.cc109 int content_width = width(); local
110 int content_height = contents()->GetHeightForWidth(content_width);
112 content_width = std::max(content_width - GetScrollBarWidth(), 0);
113 content_height = contents()->GetHeightForWidth(content_width);
115 if (contents()->bounds().size() != gfx::Size(content_width, content_height))
116 contents()->SetBounds(0, 0, content_width, content_height);
876 int content_width = std::max(source_view_->GetPreferredSize().width(), local
878 int width = std::max(content_width,
/external/chromium_org/ui/views/controls/button/
H A Dtext_button.cc438 int content_width = text_size_.width() + extra_width; local
445 content_x = width() - insets.right() - content_width;
451 (available_width - content_width) / 2);
454 content_width = std::min(content_width,
459 gfx::Rect bounds(content_x, content_y, content_width, text_size_.height());
/external/chromium_org/android_webview/renderer/
H A Dprint_web_view_helper.cc173 double content_width = local
193 content_width *= scale_factor;
203 static_cast<int>(content_width), static_cast<int>(content_height));
212 int content_width = params.content_size.width(); local
218 content_width - params.margin_left;
220 page_layout_in_points->content_width =
221 ConvertUnit(content_width, dpi, kPointsPerInch);
430 page_layout.content_width,
895 page_layout_in_points.content_width +
903 page_layout_in_points.content_width,
[all...]
/external/chromium_org/chrome/renderer/printing/
H A Dprint_web_view_helper.cc169 double content_width = local
189 content_width *= scale_factor;
199 static_cast<int>(content_width), static_cast<int>(content_height));
208 int content_width = params.content_size.width(); local
214 content_width - params.margin_left;
216 page_layout_in_points->content_width =
217 ConvertUnit(content_width, dpi, kPointsPerInch);
426 page_layout.content_width,
886 page_layout_in_points.content_width +
894 page_layout_in_points.content_width,
[all...]
H A Dprint_web_view_helper_browsertest.cc516 void VerifyDefaultPageLayout(int content_width, int content_height, argument
528 EXPECT_EQ(content_width, param.a.content_width);
H A Dprint_web_view_helper_win.cc162 static_cast<int>(page_layout_in_points.content_width *
/external/chromium_org/android_webview/common/
H A Dprint_messages.h169 IPC_STRUCT_TRAITS_MEMBER(content_width)
/external/chromium_org/chrome/common/
H A Dprint_messages.h167 IPC_STRUCT_TRAITS_MEMBER(content_width)
/external/chromium_org/chrome/browser/ui/webui/print_preview/
H A Dprint_preview_ui.cc484 page_layout.content_width < 0 || page_layout.content_height < 0 ||
495 layout.SetDouble(printing::kSettingContentWidth, page_layout.content_width);
/external/chromium_org/ui/gfx/
H A Drender_text.cc1135 const int content_width = GetContentWidth(); local
1138 if (content_width <= display_width || !cursor_enabled()) {
1160 if (display_width > (content_width + offset)) {
1161 delta_x = negate_rtl * (display_width - (content_width + offset));
/external/chromium_org/content/browser/web_contents/
H A Dweb_contents_view_aura.cc1118 int content_width = local
1120 int translate_x = mode == OVERSCROLL_WEST ? -content_width : content_width;
/external/chromium_org/ui/views/
H A Dview_unittest.cc3205 int content_width = view->width(); local
3218 EXPECT_EQ(gfx::Rect(content_width - 30, 10, 20, 10),
3229 EXPECT_EQ(gfx::Rect(content_width - 80, 10, 30, 10),

Completed in 487 milliseconds