Home
last modified time | relevance | path

Searched refs:content_height (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/ui/views/controls/menu/
Dmenu_scroll_view_container.cc224 int content_height = height() - insets.height(); in Layout() local
226 scroll_view_->SetBounds(x, y, width, content_height); in Layout()
233 content_height -= pref.height(); in Layout()
240 content_height -= pref.height(); in Layout()
242 scroll_view_->SetBounds(x, scroll_view_y, width, content_height); in Layout()
/external/chromium_org/ui/message_center/views/
Dnotifier_settings_view.cc158 int content_height = content->GetHeightForWidth(content_width); in Layout() local
159 int y = std::max((height() - content_height) / 2, 0); in Layout()
160 content->SetBounds(0, y, content_width, content_height); in Layout()
628 int content_height = contents_view->GetHeightForWidth(content_width); in Layout() local
629 if (title_height + content_height > height()) { in Layout()
631 content_height = contents_view->GetHeightForWidth(content_width); in Layout()
633 contents_view->SetBounds(0, 0, content_width, content_height); in Layout()
Dmessage_center_view.cc793 int content_height = target_height_; in GetHeightForWidth() local
795 content_height = settings_transition_animation_->CurrentValueBetween( in GetHeightForWidth()
798 return button_bar_->GetHeightForWidth(width) + content_height; in GetHeightForWidth()
801 int content_height = 0; in GetHeightForWidth() local
803 content_height += scroller_->GetHeightForWidth(width); in GetHeightForWidth()
805 content_height += settings_view_->GetHeightForWidth(width); in GetHeightForWidth()
807 button_bar_->GetInsets().height() + content_height; in GetHeightForWidth()
Dnotification_view.cc421 int content_height = std::max(top_height, kIconSize) + bottom_height; in GetHeightForWidth() local
425 if (content_height > kIconSize) in GetHeightForWidth()
426 content_height = std::max(content_height, in GetHeightForWidth()
429 return content_height + GetInsets().height(); in GetHeightForWidth()
/external/chromium_org/printing/
Dpage_size_margins.h16 double content_height; member
/external/chromium_org/ui/views/controls/
Dscroll_view.cc230 int content_height = contents()->GetHeightForWidth(content_width); in Layout() local
231 if (content_height > height()) { in Layout()
233 content_height = contents()->GetHeightForWidth(content_width); in Layout()
235 if (contents()->bounds().size() != gfx::Size(content_width, content_height)) in Layout()
236 contents()->SetBounds(0, 0, content_width, content_height); in Layout()
/external/chromium_org/android_webview/renderer/
Dprint_web_view_helper.cc175 double content_height = in FitPrintParamsToPage() local
194 content_height *= scale_factor; in FitPrintParamsToPage()
203 static_cast<int>(content_width), static_cast<int>(content_height)); in FitPrintParamsToPage()
213 int content_height = params.content_size.height(); in CalculatePageLayoutFromPrintParams() local
216 content_height - params.margin_top; in CalculatePageLayoutFromPrintParams()
222 page_layout_in_points->content_height = in CalculatePageLayoutFromPrintParams()
223 ConvertUnit(content_height, dpi, kPointsPerInch); in CalculatePageLayoutFromPrintParams()
439 page_layout.content_height); in PrintHeaderAndFooter()
933 page_layout_in_points.content_height + in GetPageSizeAndContentAreaFromPageLayout()
939 page_layout_in_points.content_height); in GetPageSizeAndContentAreaFromPageLayout()
/external/chromium_org/chrome/renderer/printing/
Dprint_web_view_helper.cc176 double content_height = in FitPrintParamsToPage() local
195 content_height *= scale_factor; in FitPrintParamsToPage()
204 static_cast<int>(content_width), static_cast<int>(content_height)); in FitPrintParamsToPage()
214 int content_height = params.content_size.height(); in CalculatePageLayoutFromPrintParams() local
217 content_height - params.margin_top; in CalculatePageLayoutFromPrintParams()
223 page_layout_in_points->content_height = in CalculatePageLayoutFromPrintParams()
224 ConvertUnit(content_height, dpi, kPointsPerInch); in CalculatePageLayoutFromPrintParams()
465 page_layout.content_height); in PrintHeaderAndFooter()
977 page_layout_in_points.content_height + in GetPageSizeAndContentAreaFromPageLayout()
983 page_layout_in_points.content_height); in GetPageSizeAndContentAreaFromPageLayout()
Dprint_web_view_helper_browsertest.cc540 void VerifyDefaultPageLayout(int content_width, int content_height, in VerifyDefaultPageLayout() argument
553 EXPECT_EQ(content_height, param.a.content_height); in VerifyDefaultPageLayout()
/external/chromium_org/chrome/browser/android/thumbnail/
Dthumbnail_store.cc663 int content_height = 0; in ReadFromFile() local
664 if (!ReadBigEndianFromFile(file, &content_height) || content_height <= 0) in ReadFromFile()
667 out_content_size->SetSize(content_width, content_height); in ReadFromFile()
699 || content_height > max_dimension in ReadFromFile()
/external/chromium_org/android_webview/common/
Dprint_messages.h171 IPC_STRUCT_TRAITS_MEMBER(content_height)
/external/chromium_org/chrome/common/
Dprint_messages.h204 IPC_STRUCT_TRAITS_MEMBER(content_height)
/external/chromium_org/ui/events/cocoa/
Devents_mac_unittest.mm53 CGFloat content_height =
55 window_location.set_y(content_height - window_location.y());
/external/chromium_org/chrome/browser/ui/webui/print_preview/
Dprint_preview_ui.cc523 page_layout.content_width < 0 || page_layout.content_height < 0 || in OnDidGetDefaultPageLayout()
535 layout.SetDouble(printing::kSettingContentHeight, page_layout.content_height); in OnDidGetDefaultPageLayout()
/external/chromium_org/chrome/browser/ui/views/extensions/
Dextension_install_dialog_view.cc803 int content_height = std::min(scrollable_->GetPreferredSize().height(), in LinkClicked() local
805 bounds.set_height(spacing + content_height); in LinkClicked()