Home
last modified time | relevance | path

Searched refs:content_width (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/ui/message_center/views/
Dnotification_view.cc373 int content_width = width - GetInsets().width(); in GetHeightForWidth() local
374 int top_height = top_view_->GetHeightForWidth(content_width); in GetHeightForWidth()
375 int bottom_height = bottom_view_->GetHeightForWidth(content_width); in GetHeightForWidth()
389 top_height -= GetMessageHeight(content_width, used_limit); in GetHeightForWidth()
390 top_height += GetMessageHeight(content_width, correct_limit); in GetHeightForWidth()
408 int content_width = width() - insets.width(); in Layout() local
420 int top_height = top_view_->GetHeightForWidth(content_width); in Layout()
421 top_view_->SetBounds(insets.left(), insets.top(), content_width, top_height); in Layout()
428 int bottom_height = bottom_view_->GetHeightForWidth(content_width); in Layout()
430 content_width, bottom_height); in Layout()
Dnotifier_settings_view.cc165 int content_width = width(); in Layout() local
166 int content_height = content->GetHeightForWidth(content_width); in Layout()
168 content->SetBounds(0, y, content_width, content_height); in Layout()
649 int content_width = width(); in Layout() local
650 int content_height = contents_view->GetHeightForWidth(content_width); in Layout()
652 content_width -= scroller_->GetScrollBarWidth(); in Layout()
653 content_height = contents_view->GetHeightForWidth(content_width); in Layout()
655 contents_view->SetBounds(0, 0, content_width, content_height); in Layout()
Dmessage_center_view.cc771 int content_width = std::max(source_view_->GetPreferredSize().width(), in GetPreferredSize() local
773 int width = std::max(content_width, in GetPreferredSize()
/external/chromium_org/ui/views/controls/
Dscroll_view.cc214 int content_width = width(); in Layout() local
215 int content_height = contents()->GetHeightForWidth(content_width); in Layout()
217 content_width = std::max(content_width - GetScrollBarWidth(), 0); in Layout()
218 content_height = contents()->GetHeightForWidth(content_width); in Layout()
220 if (contents()->bounds().size() != gfx::Size(content_width, content_height)) in Layout()
221 contents()->SetBounds(0, 0, content_width, content_height); in Layout()
/external/chromium_org/printing/
Dpage_size_margins.h15 double content_width; member
/external/chromium_org/ui/views/controls/button/
Dtext_button.cc442 int content_width = text_size_.width() + extra_width; in GetContentBounds() local
449 content_x = width() - insets.right() - content_width; in GetContentBounds()
455 (available_width - content_width) / 2); in GetContentBounds()
458 content_width = std::min(content_width, in GetContentBounds()
463 gfx::Rect bounds(content_x, content_y, content_width, text_size_.height()); in GetContentBounds()
/external/chromium_org/chrome/renderer/printing/
Dprint_web_view_helper.cc167 double content_width = in FitPrintParamsToPage() local
187 content_width *= scale_factor; in FitPrintParamsToPage()
197 static_cast<int>(content_width), static_cast<int>(content_height)); in FitPrintParamsToPage()
206 int content_width = params.content_size.width(); in CalculatePageLayoutFromPrintParams() local
212 content_width - params.margin_left; in CalculatePageLayoutFromPrintParams()
214 page_layout_in_points->content_width = in CalculatePageLayoutFromPrintParams()
215 ConvertUnit(content_width, dpi, kPointsPerInch); in CalculatePageLayoutFromPrintParams()
466 page_layout.content_width, in PrintHeaderAndFooter()
974 page_layout_in_points.content_width + in GetPageSizeAndContentAreaFromPageLayout()
982 page_layout_in_points.content_width, in GetPageSizeAndContentAreaFromPageLayout()
Dprint_web_view_helper_browsertest.cc542 void VerifyDefaultPageLayout(int content_width, int content_height, in VerifyDefaultPageLayout() argument
554 EXPECT_EQ(content_width, param.a.content_width); in VerifyDefaultPageLayout()
Dprint_web_view_helper_win.cc162 static_cast<int>(page_layout_in_points.content_width * in RenderPage()
/external/chromium_org/android_webview/renderer/
Dprint_web_view_helper.cc173 double content_width = in FitPrintParamsToPage() local
193 content_width *= scale_factor; in FitPrintParamsToPage()
203 static_cast<int>(content_width), static_cast<int>(content_height)); in FitPrintParamsToPage()
212 int content_width = params.content_size.width(); in CalculatePageLayoutFromPrintParams() local
218 content_width - params.margin_left; in CalculatePageLayoutFromPrintParams()
220 page_layout_in_points->content_width = in CalculatePageLayoutFromPrintParams()
221 ConvertUnit(content_width, dpi, kPointsPerInch); in CalculatePageLayoutFromPrintParams()
437 page_layout.content_width, in PrintHeaderAndFooter()
931 page_layout_in_points.content_width + in GetPageSizeAndContentAreaFromPageLayout()
939 page_layout_in_points.content_width, in GetPageSizeAndContentAreaFromPageLayout()
/external/chromium_org/chrome/browser/ui/views/toolbar/
Dtoolbar_view.cc523 int content_width = kLeftEdgeSpacing + back_->GetPreferredSize().width() + in GetPreferredSize() local
529 size.Enlarge(content_width, 0); in GetPreferredSize()
537 int content_width = kLeftEdgeSpacing + back_->GetMinimumSize().width() + in GetMinimumSize() local
542 size.Enlarge(content_width, 0); in GetMinimumSize()
/external/chromium_org/android_webview/common/
Dprint_messages.h169 IPC_STRUCT_TRAITS_MEMBER(content_width)
/external/chromium_org/chrome/common/
Dprint_messages.h169 IPC_STRUCT_TRAITS_MEMBER(content_width)
/external/chromium_org/chrome/browser/ui/webui/print_preview/
Dprint_preview_ui.cc490 page_layout.content_width < 0 || page_layout.content_height < 0 || in OnDidGetDefaultPageLayout()
501 layout.SetDouble(printing::kSettingContentWidth, page_layout.content_width); in OnDidGetDefaultPageLayout()
/external/chromium_org/ui/gfx/
Drender_text.cc1284 const int content_width = GetContentWidth(); in UpdateCachedBoundsAndOffset() local
1287 if (content_width <= display_width || !cursor_enabled()) { in UpdateCachedBoundsAndOffset()
1309 if (display_width > (content_width + offset)) { in UpdateCachedBoundsAndOffset()
1310 delta_x = negate_rtl * (display_width - (content_width + offset)); in UpdateCachedBoundsAndOffset()
/external/chromium_org/content/browser/web_contents/
Dweb_contents_view_aura.cc892 int content_width = in CompleteOverscrollNavigation() local
894 int translate_x = mode == OVERSCROLL_WEST ? -content_width : content_width; in CompleteOverscrollNavigation()
/external/chromium_org/ui/views/
Dview_unittest.cc3229 int content_width = view->width(); in TEST_F() local
3242 EXPECT_EQ(gfx::Rect(content_width - 30, 10, 20, 10), in TEST_F()
3253 EXPECT_EQ(gfx::Rect(content_width - 80, 10, 30, 10), in TEST_F()