Home
last modified time | relevance | path

Searched refs:pageHeight (Results 1 – 8 of 8) sorted by relevance

/external/webkit/WebCore/page/wince/
DFrameWince.cpp89 float pageHeight = pageWidth * ratio; in computePageRectsForFrame() local
90 outPageHeight = (int) pageHeight; // this is the height of the page adjusted by margins in computePageRectsForFrame()
91 pageHeight -= (headerHeight + footerHeight); in computePageRectsForFrame()
93 if (pageHeight <= 0) { in computePageRectsForFrame()
94 LOG_ERROR("pageHeight has bad value %.2f", pageHeight); in computePageRectsForFrame()
98 float currPageHeight = pageHeight / userScaleFactor; in computePageRectsForFrame()
107 float proposedBottom = min(docHeight, printedPagesHeight + pageHeight); in computePageRectsForFrame()
/external/webkit/WebCore/page/
DPrintContext.cpp71 float pageHeight = pageWidth * ratio; in computePageRects() local
72 outPageHeight = pageHeight; // this is the height of the page adjusted by margins in computePageRects()
73 pageHeight -= headerHeight + footerHeight; in computePageRects()
75 if (pageHeight <= 0) { in computePageRects()
76 LOG_ERROR("pageHeight has bad value %.2f", pageHeight); in computePageRects()
80 computePageRectsWithPageSize(FloatSize(pageWidth, pageHeight), userScaleFactor); in computePageRects()
/external/webkit/WebCore/page/win/
DFrameWin.cpp42 float pageHeight = 0; in computePageRectsForFrame() local
43 … printContext.computePageRects(printRect, headerHeight, footerHeight, userScaleFactor, pageHeight); in computePageRectsForFrame()
44 outPageHeight = static_cast<int>(pageHeight); in computePageRectsForFrame()
/external/webkit/WebKitTools/DumpRenderTree/gtk/
DLayoutTestControllerGtk.cpp58 …umber_for_element_by_id(WebKitWebFrame* frame, const gchar* id, float pageWidth, float pageHeight);
144 …t LayoutTestController::pageNumberForElementById(JSStringRef id, float pageWidth, float pageHeight) in pageNumberForElementById() argument
147 …Number = webkit_web_frame_page_number_for_element_by_id(mainFrame, idGChar, pageWidth, pageHeight); in pageNumberForElementById()
/external/webkit/WebKit/gtk/webkit/
Dwebkitwebframe.cpp855 …number_for_element_by_id(WebKitWebFrame* frame, const gchar* id, float pageWidth, float pageHeight) in webkit_web_frame_page_number_for_element_by_id() argument
866 return PrintContext::pageNumberForElement(coreElement, FloatSize(pageWidth, pageHeight)); in webkit_web_frame_page_number_for_element_by_id()
895 float pageHeight; // height of the page adjusted by margins in begin_print_callback() local
896 printContext->computePageRects(printRect, headerHeight, footerHeight, 1.0, pageHeight); in begin_print_callback()
Dwebkitprivate.h302 …umber_for_element_by_id(WebKitWebFrame* frame, const gchar* id, float pageWidth, float pageHeight);
/external/webkit/WebKit/qt/Api/
Dqwebframe.cpp1376 float pageHeight = 0; in print() local
1386 …Rects(pageRect, /* headerHeight */ 0, /* footerHeight */ 0, /* userScaleFactor */ 1.0, pageHeight); in print()
/external/webkit/WebKit/chromium/src/
DWebFrameImpl.cpp1110 float pageHeight; in printBegin() local
1113 m_printContext->computePageRects(rect, 0, 0, 1.0, pageHeight); in printBegin()